depot/third_party/nixpkgs/pkgs/development/python-modules/spdx-tools/default.nix
Default email 556d6f0562 Project import generated by Copybara.
GitOrigin-RevId: e4ef597edfd8a0ba5f12362932fc9b1dd01a0aef
2021-10-11 18:52:03 +02:00

46 lines
728 B
Nix

{ lib
, buildPythonPackage
, click
, fetchPypi
, pyyaml
, rdflib
, ply
, xmltodict
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "spdx-tools";
version = "0.7.0a3";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-afV1W1n5ubHhqfLFpPO5fxaIy5TaZdw9eDy3JYOJ1oE=";
};
propagatedBuildInputs = [
click
ply
pyyaml
rdflib
xmltodict
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"spdx"
];
meta = with lib; {
description = "SPDX parser and tools";
homepage = "https://github.com/spdx/tools-python";
license = licenses.asl20;
maintainers = teams.determinatesystems.members;
};
}