summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorMatthew Justin Bauer <mjbauer95@gmail.com>2018-04-09 14:24:07 -0500
committerGitHub <noreply@github.com>2018-04-09 14:24:07 -0500
commitdb8d8ac31e1b8fb74e13ea03f98914746c7b7227 (patch)
treed3f8bd6e68df957c647f212491ee1fba2c711857 /pkgs/development/python-modules
parentf1c8417ca0bf26e3df2b2150667544b4421a2423 (diff)
parent83dc28cae2982f6aaa507192a19aff3ef0ff2074 (diff)
downloadnixpkgs-db8d8ac31e1b8fb74e13ea03f98914746c7b7227.tar
nixpkgs-db8d8ac31e1b8fb74e13ea03f98914746c7b7227.tar.gz
nixpkgs-db8d8ac31e1b8fb74e13ea03f98914746c7b7227.tar.bz2
nixpkgs-db8d8ac31e1b8fb74e13ea03f98914746c7b7227.tar.lz
nixpkgs-db8d8ac31e1b8fb74e13ea03f98914746c7b7227.tar.xz
nixpkgs-db8d8ac31e1b8fb74e13ea03f98914746c7b7227.tar.zst
nixpkgs-db8d8ac31e1b8fb74e13ea03f98914746c7b7227.zip
Merge pull request #34864 from ciderale/py3k-graph-tool-update
graph-tool: 2.16 -> 2.26
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/graph-tool/2.x.x.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/graph-tool/2.x.x.nix b/pkgs/development/python-modules/graph-tool/2.x.x.nix
index 8c61a6b278a..57567a203ea 100644
--- a/pkgs/development/python-modules/graph-tool/2.x.x.nix
+++ b/pkgs/development/python-modules/graph-tool/2.x.x.nix
@@ -1,9 +1,11 @@
 { stdenv, fetchurl, python, cairomm, sparsehash, pycairo, autoreconfHook,
 pkgconfig, boost, expat, scipy, numpy, cgal, gmp, mpfr, lndir,
-gobjectIntrospection, pygobject3, gtk3, matplotlib }:
+gobjectIntrospection, pygobject3, gtk3, matplotlib, ncurses,
+buildPythonPackage }:
 
-stdenv.mkDerivation rec {
-  version = "2.16";
+buildPythonPackage rec {
+  format = "other";
+  version = "2.26";
   name = "${python.libPrefix}-graph-tool-${version}";
 
   meta = with stdenv.lib; {
@@ -16,16 +18,19 @@ stdenv.mkDerivation rec {
 
   src = fetchurl {
     url = "https://downloads.skewed.de/graph-tool/graph-tool-${version}.tar.bz2";
-    sha256 = "03b1pmh2gvsgyq491gvskx8fwgqy9k942faymdnhwpbbbfhx911p";
+    sha256 = "0w7pd2h8ayr88kjl82c8fdshnk6f3xslc77gy7ma09zkbvf76qnz";
   };
 
   configureFlags = [
     "--with-python-module-path=$(out)/${python.sitePackages}"
+    "--with-boost-libdir=${boost}/lib"
+    "--with-expat=${expat}"
+    "--with-cgal=${cgal}"
     "--enable-openmp"
   ];
 
   nativeBuildInputs = [ autoreconfHook pkgconfig ];
-  buildInputs = [ ];
+  buildInputs = [ ncurses ];
 
   propagatedBuildInputs = [
     boost