parent
dd284b9758
commit
dfcac3fccd
@ -1,5 +1,6 @@
|
||||
{ buildPythonPackage, fetchPypi, lib, isPy3k
|
||||
, pkgconfig, igraph }:
|
||||
, pkgconfig, igraph
|
||||
, texttable }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-igraph";
|
||||
@ -7,12 +8,18 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ igraph ];
|
||||
propagatedBuildInputs = [ texttable ];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4601638d7d22eae7608cdf793efac75e6c039770ec4bd2cecf76378c84ce7d72";
|
||||
};
|
||||
|
||||
# NB: We want to use our igraph, not vendored igraph, but even with
|
||||
# pkg-config on the PATH, their custom setup.py still needs to be explicitly
|
||||
# told to do it. ~ C.
|
||||
setupPyGlobalFlags = [ "--use-pkg-config" ];
|
||||
|
||||
doCheck = !isPy3k;
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user