depot/third_party/nixpkgs/pkgs/development/python-modules/prov/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

45 lines
787 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, lxml
, networkx
, python-dateutil
, rdflib
, pydot
}:
buildPythonPackage rec {
pname = "prov";
version = "2.0.0";
format = "setuptools";
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 ];
};
}