parent
dd284b9758
commit
dfcac3fccd
@ -1,5 +1,6 @@
|
|||||||
{ buildPythonPackage, fetchPypi, lib, isPy3k
|
{ buildPythonPackage, fetchPypi, lib, isPy3k
|
||||||
, pkgconfig, igraph }:
|
, pkgconfig, igraph
|
||||||
|
, texttable }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-igraph";
|
pname = "python-igraph";
|
||||||
@ -7,12 +8,18 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ igraph ];
|
buildInputs = [ igraph ];
|
||||||
|
propagatedBuildInputs = [ texttable ];
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "4601638d7d22eae7608cdf793efac75e6c039770ec4bd2cecf76378c84ce7d72";
|
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;
|
doCheck = !isPy3k;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user