pythonPackages.durus: init at 4.2

This commit is contained in:
grindhold 2022-04-27 15:34:39 +02:00
parent 5bf96df442
commit 49eeda13c6
3 changed files with 36 additions and 0 deletions

View File

@ -4716,6 +4716,12 @@
githubId = 201997;
name = "Eric Seidel";
};
grindhold = {
name = "grindhold";
email = "grindhold+nix@skarphed.org";
github = "grindhold";
githubId = 2592640;
};
gspia = {
email = "iahogsp@gmail.com";
github = "gspia";

View File

@ -0,0 +1,28 @@
{ stdenv, lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "Durus";
version = "4.2";
src = fetchPypi {
inherit version pname;
sha256 = "sha256:1gzxg43zawwgqjrfixvcrilwpikb1ix9b7710rsl5ffk7q50yi3c";
};
# Checks disabled due to missing python unittest framework 'sancho' in nixpkgs
doCheck = false;
pythonImportsCheck = [
"durus.connection"
"durus.file_storage"
"durus.client_storage"
"durus.sqlite_storage"
];
meta = with lib; {
description = "Object persistence layer";
homepage = "https://github.com/nascheme/durus";
license = licenses.mit;
maintainers = with maintainers; [ grindhold ];
};
}

View File

@ -2532,6 +2532,8 @@ in {
dungeon-eos = callPackage ../development/python-modules/dungeon-eos { };
durus = callPackage ../development/python-modules/durus { };
dwdwfsapi = callPackage ../development/python-modules/dwdwfsapi { };
dyn = callPackage ../development/python-modules/dyn { };