depot/third_party/nixpkgs/pkgs/development/python-modules/prov/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

51 lines
854 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, lxml
, networkx
, dateutil
, six
, pydotplus
, rdflib
, pydot
, glibcLocales
}:
buildPythonPackage rec {
pname = "prov";
version = "1.5.3";
src = fetchPypi {
inherit pname version;
sha256 = "1a9h406laclxalmdny37m0yyw7y17n359akclbahimdggq853jd0";
};
prePatch = ''
substituteInPlace setup.py --replace "six==1.10.0" "six>=1.10.0"
'';
propagatedBuildInputs = [
lxml
networkx
dateutil
six
pydotplus
rdflib
];
checkInputs = [
pydot
glibcLocales
];
preCheck = ''
export LC_ALL="en_US.utf-8"
'';
meta = with stdenv.lib; {
description = "A Python library for W3C Provenance Data Model (PROV)";
homepage = "https://github.com/trungdong/prov";
license = licenses.mit;
maintainers = with maintainers; [ ashgillman ];
};
}