mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 18:44:07 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
45 lines
762 B
Nix
45 lines
762 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, lxml
|
|
, networkx
|
|
, python-dateutil
|
|
, rdflib
|
|
, pydot
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "prov";
|
|
version = "2.0.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "b6438f2195ecb9f6e8279b58971e02bc51814599b5d5383366eef91d867422ee";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
lxml
|
|
networkx
|
|
python-dateutil
|
|
rdflib
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pydot
|
|
];
|
|
|
|
# Multiple tests are out-dated and failing
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"prov"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python library for W3C Provenance Data Model (PROV)";
|
|
homepage = "https://github.com/trungdong/prov";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ashgillman ];
|
|
};
|
|
}
|