python3Packages.python-didl-lite: init at 1.2.4
This commit is contained in:
parent
55f1aa3f5f
commit
32a3c9a220
2 changed files with 37 additions and 0 deletions
35
pkgs/development/python-modules/python-didl-lite/default.nix
Normal file
35
pkgs/development/python-modules/python-didl-lite/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||
, defusedxml
|
||||
, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-didl-lite";
|
||||
version = "1.2.4";
|
||||
disabled = pythonOlder "3.5.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "StevenLooman";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0jf1d5m4r8qd3pn0hh1xqbkblkx9wzrrcmk7qa7q8lzfysp4z217";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
defusedxml
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "DIDL-Lite (Digital Item Declaration Language) tools for Python";
|
||||
homepage = "https://github.com/StevenLooman/python-didl-lite";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
|
@ -2562,6 +2562,8 @@ in {
|
|||
|
||||
pysingleton = callPackage ../development/python-modules/pysingleton { };
|
||||
|
||||
python-didl-lite = callPackage ../development/python-modules/python-didl-lite { };
|
||||
|
||||
python-jose = callPackage ../development/python-modules/python-jose {};
|
||||
|
||||
python-json-logger = callPackage ../development/python-modules/python-json-logger { };
|
||||
|
|
Loading…
Reference in a new issue