about summary refs log tree commit diff
path: root/pkgs/applications/science/math
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2017-10-29 10:18:18 +0100
committerEdward Tjörnhammar <ed@cflags.cc>2017-10-29 10:20:54 +0100
commit77d3869f27cca4b47507cb5e1341838cb5575170 (patch)
treea954b25484d5d3d6e295551afb4ec3a6a9ec3e46 /pkgs/applications/science/math
parent79dc3ea8daf8cc7de80a56276f2757eee6d83997 (diff)
downloadnixlib-77d3869f27cca4b47507cb5e1341838cb5575170.tar
nixlib-77d3869f27cca4b47507cb5e1341838cb5575170.tar.gz
nixlib-77d3869f27cca4b47507cb5e1341838cb5575170.tar.bz2
nixlib-77d3869f27cca4b47507cb5e1341838cb5575170.tar.lz
nixlib-77d3869f27cca4b47507cb5e1341838cb5575170.tar.xz
nixlib-77d3869f27cca4b47507cb5e1341838cb5575170.tar.zst
nixlib-77d3869f27cca4b47507cb5e1341838cb5575170.zip
colpack: init at 1.0.10
Diffstat (limited to 'pkgs/applications/science/math')
-rw-r--r--pkgs/applications/science/math/colpack/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/colpack/default.nix b/pkgs/applications/science/math/colpack/default.nix
new file mode 100644
index 000000000000..29785363b048
--- /dev/null
+++ b/pkgs/applications/science/math/colpack/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, gettext }:
+
+stdenv.mkDerivation rec {
+
+  pname = "ColPack";
+  version = "1.0.10";
+  name = pname + "-" + version;
+
+  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;
+    maintainers = with maintainers; [ edwtjo ];
+  };
+
+}