Files
nixpkgs/pkgs/development/python-modules/python-igraph/default.nix
T

33 lines
904 B
Nix
Raw Normal View History

2019-05-09 19:45:24 +02:00
{ buildPythonPackage, fetchPypi, lib, isPy3k
2020-06-26 01:22:00 -07:00
, pkgconfig, igraph
, texttable }:
buildPythonPackage rec {
pname = "python-igraph";
2020-06-06 08:47:28 +02:00
version = "0.8.2";
disabled = !isPy3k; # fails to build
2019-05-09 19:45:24 +02:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ igraph ];
2020-06-26 01:22:00 -07:00
propagatedBuildInputs = [ texttable ];
src = fetchPypi {
inherit pname version;
2020-06-06 08:47:28 +02:00
sha256 = "4601638d7d22eae7608cdf793efac75e6c039770ec4bd2cecf76378c84ce7d72";
};
2020-06-26 01:22:00 -07:00
# 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" ];
2019-05-09 19:45:24 +02:00
doCheck = !isPy3k;
meta = {
description = "High performance graph data structures and algorithms";
2019-05-09 19:45:24 +02:00
homepage = "https://igraph.org/python/";
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.MostAwesomeDude ];
};
}