2021-04-01 01:09:03 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pythonOlder
|
2020-08-01 23:50:48 +02:00
|
|
|
, defusedxml
|
2021-04-01 01:09:03 +02:00
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
2020-08-01 23:50:48 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-didl-lite";
|
2021-12-21 13:25:02 +01:00
|
|
|
version = "1.3.2";
|
2020-08-01 23:50:48 +02:00
|
|
|
disabled = pythonOlder "3.5.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "StevenLooman";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-12-21 13:25:02 +01:00
|
|
|
sha256 = "sha256-laKmWGDEzlBVJCUSKxekjPEXVlAz4MIzM7dNJfta/ek=";
|
2020-08-01 23:50:48 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
defusedxml
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-04-01 01:09:03 +02:00
|
|
|
pytestCheckHook
|
2020-08-01 23:50:48 +02:00
|
|
|
];
|
|
|
|
|
2021-04-01 01:09:03 +02:00
|
|
|
pythonImportsCheck = [ "didl_lite" ];
|
2020-08-01 23:50:48 +02:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|