From b831b243ff8a915834e255dc70f1a83d3acada28 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sat, 26 Aug 2017 07:01:30 +0000 Subject: [PATCH] clp: init at 1.16.11 --- .../applications/science/math/clp/default.nix | 24 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/applications/science/math/clp/default.nix diff --git a/pkgs/applications/science/math/clp/default.nix b/pkgs/applications/science/math/clp/default.nix new file mode 100644 index 000000000000..daa9a53c59a1 --- /dev/null +++ b/pkgs/applications/science/math/clp/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, zlib }: + +stdenv.mkDerivation rec { + version = "1.16.11"; + name = "clp-${version}"; + src = fetchurl { + url = "https://www.coin-or.org/download/source/Clp/Clp-${version}.tgz"; + sha256 = "0fazlqpp845186nmixa9f1xfxqqkdr1xj4va7q29m8594ca4a9dm"; + }; + + propagatedBuildInputs = [ zlib ]; + + doCheck = true; + + checkTarget = "test"; + + meta = { + license = stdenv.lib.licenses.epl10; + homepage = https://projects.coin-or.org/Clp; + description = "An open-source linear programming solver written in C++"; + platforms = stdenv.lib.platforms.all; + maintainers = [ stdenv.lib.maintainers.vbgl ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5b649d924f12..24ee69745e79 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13830,6 +13830,8 @@ with pkgs; cloud-print-connector = callPackage ../servers/cloud-print-connector { }; + clp = callPackage ../applications/science/math/clp { }; + cmatrix = callPackage ../applications/misc/cmatrix { }; cmus = callPackage ../applications/audio/cmus {