aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/science/math/colpack/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/applications/science/math/colpack/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/applications/science/math/colpack/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/science/math/colpack/default.nix b/infra/libkookie/nixpkgs/pkgs/applications/science/math/colpack/default.nix
new file mode 100644
index 000000000000..13a75ce4db2d
--- /dev/null
+++ b/infra/libkookie/nixpkgs/pkgs/applications/science/math/colpack/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext }:
+
+stdenv.mkDerivation rec {
+
+ pname = "ColPack";
+ version = "1.0.10";
+
+ src = fetchFromGitHub {
+ owner = "CSCsw";
+ repo = pname;
+ rev = "v" + version;
+ sha256 = "1p05vry940mrjp6236c0z83yizmw9pk6ly2lb7d8rpb7j9h03glr";
+ };
+
+ buildInputs = [ autoconf automake gettext libtool ];
+
+ configurePhase = ''
+ autoreconf -vif
+ ./configure --prefix=$out --enable-openmp
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A package comprising of implementations of algorithms for
+ vertex coloring and derivative computation";
+ homepage = "http://cscapes.cs.purdue.edu/coloringpage/software.htm#functionalities";
+ license = licenses.lgpl3;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ edwtjo ];
+ };
+
+}