ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / python-didl-lite / default.nix
blobf58da984f8c9d5f9cba84f4db3813b116064a72f
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , defusedxml
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "python-didl-lite";
11   version = "1.3.2";
12   disabled = pythonOlder "3.5.3";
14   src = fetchFromGitHub {
15     owner = "StevenLooman";
16     repo = pname;
17     rev = version;
18     sha256 = "sha256-laKmWGDEzlBVJCUSKxekjPEXVlAz4MIzM7dNJfta/ek=";
19   };
21   propagatedBuildInputs = [
22     defusedxml
23   ];
25   checkInputs = [
26     pytestCheckHook
27   ];
29   pythonImportsCheck = [ "didl_lite" ];
31   meta = with lib; {
32     description = "DIDL-Lite (Digital Item Declaration Language) tools for Python";
33     homepage = "https://github.com/StevenLooman/python-didl-lite";
34     license = licenses.asl20;
35     maintainers = with maintainers; [ hexa ];
36   };