My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/python-didl-lite/default.nix

37 lines
759 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, defusedxml
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "python-didl-lite";
version = "1.3.2";
disabled = pythonOlder "3.5.3";
src = fetchFromGitHub {
owner = "StevenLooman";
repo = pname;
rev = version;
sha256 = "sha256-laKmWGDEzlBVJCUSKxekjPEXVlAz4MIzM7dNJfta/ek=";
};
propagatedBuildInputs = [
defusedxml
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "didl_lite" ];
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 ];
};
}