diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/science/math/clp/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/science/math/clp/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/science/math/clp/default.nix b/nixpkgs/pkgs/applications/science/math/clp/default.nix new file mode 100644 index 000000000000..97ef3dd7543f --- /dev/null +++ b/nixpkgs/pkgs/applications/science/math/clp/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, zlib }: + +stdenv.mkDerivation rec { + version = "1.17.6"; + pname = "clp"; + src = fetchurl { + url = "https://www.coin-or.org/download/source/Clp/Clp-${version}.tgz"; + sha256 = "0ap1f0lxppa6pnbc4bg7ih7a96avwaki482nig8w5fr3vg9wvkzr"; + }; + + propagatedBuildInputs = [ zlib ]; + + doCheck = true; + + meta = with stdenv.lib; { + license = licenses.epl10; + homepage = "https://github.com/coin-or/Clp"; + description = "An open-source linear programming solver written in C++"; + platforms = platforms.darwin ++ [ "x86_64-linux" ]; + maintainers = [ maintainers.vbgl ]; + }; +} |