diff options
author | Edward Tjörnhammar <ed@cflags.cc> | 2017-10-29 10:18:18 +0100 |
---|---|---|
committer | Edward Tjörnhammar <ed@cflags.cc> | 2017-10-29 10:20:54 +0100 |
commit | 77d3869f27cca4b47507cb5e1341838cb5575170 (patch) | |
tree | a954b25484d5d3d6e295551afb4ec3a6a9ec3e46 /pkgs/applications/science/math | |
parent | 79dc3ea8daf8cc7de80a56276f2757eee6d83997 (diff) | |
download | nixlib-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.nix | 31 |
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 ]; + }; + +} |