pythonPackages.prov: fix build and enable tests
Tests do not actually take 60 minutes.
This commit is contained in:
parent
46d7d069ef
commit
8f93cba89c
@ -7,6 +7,8 @@
|
|||||||
, six
|
, six
|
||||||
, pydotplus
|
, pydotplus
|
||||||
, rdflib
|
, rdflib
|
||||||
|
, pydot
|
||||||
|
, glibcLocales
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -18,6 +20,10 @@ buildPythonPackage rec {
|
|||||||
sha256 = "640dc158d931403bc6c1a0ad80702caae71f810bac21f90ec605865c8444b7bb";
|
sha256 = "640dc158d931403bc6c1a0ad80702caae71f810bac21f90ec605865c8444b7bb";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
prePatch = ''
|
||||||
|
substituteInPlace setup.py --replace "six==1.10.0" "six>=1.10.0"
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
lxml
|
lxml
|
||||||
networkx
|
networkx
|
||||||
@ -26,7 +32,15 @@ buildPythonPackage rec {
|
|||||||
pydotplus
|
pydotplus
|
||||||
rdflib
|
rdflib
|
||||||
];
|
];
|
||||||
doCheck = false; # takes ~60 mins
|
|
||||||
|
checkInputs = [
|
||||||
|
pydot
|
||||||
|
glibcLocales
|
||||||
|
];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
export LC_ALL="en_US.utf-8"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A Python library for W3C Provenance Data Model (PROV)";
|
description = "A Python library for W3C Provenance Data Model (PROV)";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user