mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
python3Packages.graph-tool: 2.43 -> 2.45
- Enable parallel build or else this monstrous build takes hours. - Remove the maintainer who hasn't contributed to nixpkgs since 2016. - Update dependencies
This commit is contained in:
parent
731a3c93bb
commit
ea66d03135
@ -1,18 +1,34 @@
|
|||||||
{ fetchurl, python, cairomm, sparsehash, pycairo, autoreconfHook
|
{ buildPythonPackage
|
||||||
, pkg-config, boost, expat, scipy, cgal, gmp, mpfr
|
|
||||||
, gobject-introspection, pygobject3, gtk3, matplotlib, ncurses
|
|
||||||
, buildPythonPackage
|
|
||||||
, lib
|
, lib
|
||||||
|
, fetchurl
|
||||||
|
|
||||||
|
, autoreconfHook
|
||||||
|
, boost
|
||||||
|
, cairomm
|
||||||
|
, cgal
|
||||||
|
, expat
|
||||||
|
, gmp
|
||||||
|
, gobject-introspection
|
||||||
|
, gtk3
|
||||||
|
, matplotlib
|
||||||
|
, mpfr
|
||||||
|
, numpy
|
||||||
|
, pkg-config
|
||||||
|
, pycairo
|
||||||
|
, pygobject3
|
||||||
|
, python
|
||||||
|
, scipy
|
||||||
|
, sparsehash
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "graph-tool";
|
pname = "graph-tool";
|
||||||
format = "other";
|
format = "other";
|
||||||
version = "2.43";
|
version = "2.45";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://downloads.skewed.de/graph-tool/graph-tool-${version}.tar.bz2";
|
url = "https://downloads.skewed.de/graph-tool/graph-tool-${version}.tar.bz2";
|
||||||
hash = "sha256-XxvuCUIgz7JIaNsPr0f44v/Sb3fdcJmVhC5NnomNqGw=";
|
hash = "sha256-+S2nrM/aArKXke/k8LPtkzKfJyMq9NOvwHySQh7Ghmg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
@ -23,34 +39,35 @@ buildPythonPackage rec {
|
|||||||
"--enable-openmp"
|
"--enable-openmp"
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
enableParallelBuilding = true;
|
||||||
buildInputs = [ ncurses ];
|
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
# https://git.skewed.de/count0/graph-tool/-/wikis/installation-instructions#manual-compilation
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
boost
|
boost
|
||||||
|
cairomm
|
||||||
cgal
|
cgal
|
||||||
expat
|
expat
|
||||||
gmp
|
gmp
|
||||||
mpfr
|
|
||||||
python
|
|
||||||
scipy
|
|
||||||
# optional
|
|
||||||
sparsehash
|
|
||||||
# drawing
|
|
||||||
cairomm
|
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
gtk3
|
gtk3
|
||||||
pycairo
|
|
||||||
matplotlib
|
matplotlib
|
||||||
|
mpfr
|
||||||
|
numpy
|
||||||
|
pycairo
|
||||||
pygobject3
|
pygobject3
|
||||||
|
scipy
|
||||||
|
sparsehash
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = false;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python module for manipulation and statistical analysis of graphs";
|
description = "Python module for manipulation and statistical analysis of graphs";
|
||||||
homepage = "https://graph-tool.skewed.de/";
|
homepage = "https://graph-tool.skewed.de";
|
||||||
license = licenses.gpl3;
|
license = licenses.lgpl3Plus;
|
||||||
maintainers = [ maintainers.joelmo ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user