12 gobject-introspection,
28 boost' = boost.override {
33 buildPythonPackage rec {
39 url = "https://downloads.skewed.de/graph-tool/graph-tool-${version}.tar.bz2";
40 hash = "sha256-GX0JUz5G7gtLemwlY1prQvCxIxpuyclo+1LN68j2H9o=";
44 # remove error messages about tput during build process without adding ncurses
45 substituteInPlace configure \
46 --replace-fail 'tput setaf $1' : \
47 --replace-fail 'tput sgr0' :
51 "--with-python-module-path=$(out)/${python.sitePackages}"
52 "--with-boost-libdir=${boost'}/lib"
56 enableParallelBuilding = true;
58 build-system = [ pkg-config ];
60 # https://graph-tool.skewed.de/installation.html#manual-compilation
76 ] ++ lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ];
78 pythonImportsCheck = [ "graph_tool" ];
80 passthru.updateScript = gitUpdater {
81 url = "https://git.skewed.de/count0/graph-tool";
82 rev-prefix = "release-";
86 description = "Python module for manipulation and statistical analysis of graphs";
87 homepage = "https://graph-tool.skewed.de";
88 changelog = "https://git.skewed.de/count0/graph-tool/commits/release-${version}";
89 license = lib.licenses.lgpl3Plus;
90 maintainers = [ lib.maintainers.mjoerg ];