graph-tool: enable drawing and openmp for algorithms

This commit is contained in:
Joel Moberg 2015-03-16 20:24:13 +01:00
parent 56bb114905
commit 14106ba4f7

View File

@ -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;
}