1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 23:10:02 +00:00
nixpkgs/pkgs/development/python-modules/prov/default.nix

52 lines
852 B
Nix
Raw Normal View History

2018-01-16 03:30:03 +00:00
{ stdenv
, buildPythonPackage
, fetchPypi
, lxml
, networkx
, dateutil
, six
, pydotplus
, rdflib
, pydot
, glibcLocales
2018-01-16 03:30:03 +00:00
}:
buildPythonPackage rec {
pname = "prov";
version = "1.5.3";
2018-01-16 03:30:03 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "1a9h406laclxalmdny37m0yyw7y17n359akclbahimdggq853jd0";
2018-01-16 03:30:03 +00:00
};
prePatch = ''
substituteInPlace setup.py --replace "six==1.10.0" "six>=1.10.0"
'';
2018-01-16 03:30:03 +00:00
propagatedBuildInputs = [
lxml
networkx
dateutil
six
pydotplus
rdflib
];
checkInputs = [
pydot
glibcLocales
];
preCheck = ''
export LC_ALL="en_US.utf-8"
'';
2018-01-16 09:31:18 +00:00
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 ];
};
2018-01-16 03:30:03 +00:00
}