depot/third_party/nixpkgs/pkgs/applications/science/math/colpack/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
817 B
Nix

{ 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 ];
};
}