pythonPackages.prov: fix build and enable tests

Tests do not actually take 60 minutes.
This commit is contained in:
Robert Schütz 2018-02-19 19:56:33 +01:00
parent 46d7d069ef
commit 8f93cba89c

@ -7,6 +7,8 @@
, six
, pydotplus
, rdflib
, pydot
, glibcLocales
}:
buildPythonPackage rec {
@ -18,6 +20,10 @@ buildPythonPackage rec {
sha256 = "640dc158d931403bc6c1a0ad80702caae71f810bac21f90ec605865c8444b7bb";
};
prePatch = ''
substituteInPlace setup.py --replace "six==1.10.0" "six>=1.10.0"
'';
propagatedBuildInputs = [
lxml
networkx
@ -26,7 +32,15 @@ buildPythonPackage rec {
pydotplus
rdflib
];
doCheck = false; # takes ~60 mins
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)";