mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
8f93cba89c
Tests do not actually take 60 minutes.
52 lines
864 B
Nix
52 lines
864 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, lxml
|
|
, networkx
|
|
, dateutil
|
|
, six
|
|
, pydotplus
|
|
, rdflib
|
|
, pydot
|
|
, glibcLocales
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "prov";
|
|
version = "1.5.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "640dc158d931403bc6c1a0ad80702caae71f810bac21f90ec605865c8444b7bb";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|