summary refs log tree commit diff
path: root/pkgs/development/python-modules/graph-tool
diff options
context:
space:
mode:
authorJoel Moberg <joel.moberg@gmail.com>2015-03-16 20:24:13 +0100
committerJoel Moberg <joel.moberg@gmail.com>2015-03-17 12:25:35 +0100
commit14106ba4f74974bdf1e55eae97445c1e15d5f85b (patch)
tree082141d76228bf75853ce53a3bfa1257d29ae8e1 /pkgs/development/python-modules/graph-tool
parent56bb114905676bc57387a58d920cd0a5c0520eed (diff)
downloadnixpkgs-14106ba4f74974bdf1e55eae97445c1e15d5f85b.tar
nixpkgs-14106ba4f74974bdf1e55eae97445c1e15d5f85b.tar.gz
nixpkgs-14106ba4f74974bdf1e55eae97445c1e15d5f85b.tar.bz2
nixpkgs-14106ba4f74974bdf1e55eae97445c1e15d5f85b.tar.lz
nixpkgs-14106ba4f74974bdf1e55eae97445c1e15d5f85b.tar.xz
nixpkgs-14106ba4f74974bdf1e55eae97445c1e15d5f85b.tar.zst
nixpkgs-14106ba4f74974bdf1e55eae97445c1e15d5f85b.zip
graph-tool: enable drawing and openmp for algorithms
Diffstat (limited to 'pkgs/development/python-modules/graph-tool')
-rw-r--r--pkgs/development/python-modules/graph-tool/2.x.x.nix25
1 files changed, 22 insertions, 3 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 835b4f6514a..e647dfc809f 100644
--- a/pkgs/development/python-modules/graph-tool/2.x.x.nix
+++ b/pkgs/development/python-modules/graph-tool/2.x.x.nix
@@ -1,4 +1,6 @@
-{ stdenv, fetchurl, python, cairomm, sparsehash, pycairo, automake, m4, pkgconfig, boost, expat, scipy, numpy, cgal, gmp, mpfr, lndir, makeWrapper }:
+{ stdenv, fetchurl, python, cairomm, sparsehash, pycairo, automake, m4,
+pkgconfig, boost, expat, scipy, numpy, cgal, gmp, mpfr, lndir, makeWrapper,
+gobjectIntrospection, pygobject3, gtk3, matplotlib }:
 
 stdenv.mkDerivation rec {
   version = "2.2.36";
@@ -20,9 +22,26 @@ stdenv.mkDerivation rec {
     configureFlags="--with-python-module-path=$out/${python.sitePackages}"
   '';
 
-  buildInputs = [ python cairomm pycairo sparsehash automake m4 pkgconfig makeWrapper boost expat scipy numpy cgal lndir gmp mpfr ];
+  buildInputs = [ automake m4 pkgconfig makeWrapper ];
 
-  propagatedBuildInputs = [ numpy ];
+  propagatedBuildInputs = [
+    boost
+    cgal
+    expat
+    gmp
+    mpfr
+    python
+    scipy
+    # optional
+    sparsehash
+    # drawing
+    cairomm
+    gobjectIntrospection
+    gtk3
+    pycairo
+    matplotlib
+    pygobject3
+  ];
 
   enableParallelBuilding = false;
 }