You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.2 KiB
57 lines
1.2 KiB
![]()
4 years ago
|
{ fetchurl, python, cairomm, sparsehash, pycairo, autoreconfHook
|
||
![]()
5 years ago
|
, pkg-config, boost, expat, scipy, cgal, gmp, mpfr
|
||
![]()
6 years ago
|
, gobject-introspection, pygobject3, gtk3, matplotlib, ncurses
|
||
|
, buildPythonPackage
|
||
![]()
6 years ago
|
, lib
|
||
![]()
6 years ago
|
}:
|
||
![]()
10 years ago
|
|
||
![]()
6 years ago
|
buildPythonPackage rec {
|
||
![]()
6 years ago
|
pname = "graph-tool";
|
||
![]()
6 years ago
|
format = "other";
|
||
![]()
3 years ago
|
version = "2.43";
|
||
![]()
10 years ago
|
|
||
|
src = fetchurl {
|
||
![]()
8 years ago
|
url = "https://downloads.skewed.de/graph-tool/graph-tool-${version}.tar.bz2";
|
||
![]()
3 years ago
|
hash = "sha256-XxvuCUIgz7JIaNsPr0f44v/Sb3fdcJmVhC5NnomNqGw=";
|
||
![]()
10 years ago
|
};
|
||
|
|
||
![]()
9 years ago
|
configureFlags = [
|
||
|
"--with-python-module-path=$(out)/${python.sitePackages}"
|
||
![]()
6 years ago
|
"--with-boost-libdir=${boost}/lib"
|
||
|
"--with-expat=${expat}"
|
||
|
"--with-cgal=${cgal}"
|
||
![]()
9 years ago
|
"--enable-openmp"
|
||
|
];
|
||
![]()
10 years ago
|
|
||
![]()
5 years ago
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||
![]()
6 years ago
|
buildInputs = [ ncurses ];
|
||
![]()
10 years ago
|
|
||
![]()
9 years ago
|
propagatedBuildInputs = [
|
||
|
boost
|
||
|
cgal
|
||
|
expat
|
||
|
gmp
|
||
|
mpfr
|
||
|
python
|
||
|
scipy
|
||
|
# optional
|
||
|
sparsehash
|
||
|
# drawing
|
||
|
cairomm
|
||
![]()
6 years ago
|
gobject-introspection
|
||
![]()
9 years ago
|
gtk3
|
||
|
pycairo
|
||
|
matplotlib
|
||
|
pygobject3
|
||
|
];
|
||
![]()
10 years ago
|
|
||
|
enableParallelBuilding = false;
|
||
![]()
4 years ago
|
|
||
|
meta = with lib; {
|
||
|
description = "Python module for manipulation and statistical analysis of graphs";
|
||
|
homepage = "https://graph-tool.skewed.de/";
|
||
|
license = licenses.gpl3;
|
||
|
maintainers = [ maintainers.joelmo ];
|
||
|
};
|
||
![]()
10 years ago
|
}
|