Merge pull request #224359 from hesiod/coin-utils

authored by

Sandro and committed by
GitHub
5ea85445 14604986

+45 -15
+11 -7
pkgs/applications/science/math/clp/default.nix
··· 1 - { lib, stdenv, fetchurl, zlib }: 1 + { lib, stdenv, fetchFromGitHub, pkg-config, coin-utils, zlib, osi }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "1.17.6"; 4 + version = "1.17.7"; 5 5 pname = "clp"; 6 - src = fetchurl { 7 - url = "https://www.coin-or.org/download/source/Clp/Clp-${version}.tgz"; 8 - sha256 = "0ap1f0lxppa6pnbc4bg7ih7a96avwaki482nig8w5fr3vg9wvkzr"; 6 + src = fetchFromGitHub { 7 + owner = "coin-or"; 8 + repo = "Clp"; 9 + rev = "releases/${version}"; 10 + hash = "sha256-CfAK/UbGaWvyk2ZxKEgziVruzZfz7WMJVi/YvdR/UNA="; 9 11 }; 10 12 11 - propagatedBuildInputs = [ zlib ]; 13 + nativeBuildInputs = [ pkg-config ]; 14 + 15 + propagatedBuildInputs = [ zlib coin-utils osi ]; 12 16 13 17 doCheck = true; 14 18 15 19 meta = with lib; { 16 - license = licenses.epl10; 20 + license = licenses.epl20; 17 21 homepage = "https://github.com/coin-or/Clp"; 18 22 description = "An open-source linear programming solver written in C++"; 19 23 platforms = platforms.darwin ++ [ "x86_64-linux" ];
+22
pkgs/development/libraries/science/math/coin-utils/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, pkg-config }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "2.11.6"; 5 + pname = "coinutils"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "coin-or"; 9 + repo = "CoinUtils"; 10 + rev = "releases/${version}"; 11 + hash = "sha256-avXp7eKSZ/Fe1QmSJiNDMnPQ70LlOHrBeUYb9lhka8c="; 12 + }; 13 + 14 + doCheck = true; 15 + 16 + meta = with lib; { 17 + license = licenses.epl20; 18 + homepage = "https://github.com/coin-or/CoinUtils"; 19 + description = "Collection of classes and helper functions that are generally useful to multiple COIN-OR projects"; 20 + maintainers = with maintainers; [ tmarkus ]; 21 + }; 22 + }
+10 -8
pkgs/development/libraries/science/math/osi/default.nix
··· 1 - { stdenv, lib, fetchurl, gfortran, pkg-config 2 - , blas, zlib, bzip2 1 + { stdenv, lib, fetchFromGitHub, gfortran, pkg-config 2 + , blas, zlib, bzip2, coin-utils 3 3 , withGurobi ? false, gurobi 4 4 , withCplex ? false, cplex }: 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "osi"; 8 - version = "0.108.6"; 8 + version = "0.108.7"; 9 9 10 - src = fetchurl { 11 - url = "https://www.coin-or.org/download/source/Osi/Osi-${version}.tgz"; 12 - sha256 = "1n2jlpq4aikbp0ncs16f7q1pj7yk6kny1bh4fmjaqnwrjw63zvsp"; 10 + src = fetchFromGitHub { 11 + owner = "coin-or"; 12 + repo = "Osi"; 13 + rev = "releases/${version}"; 14 + hash = "sha256-MTmt/MgsfEAXor2EZXJX05bQg5oOtMaN7oNxGv2PHJg="; 13 15 }; 14 16 15 17 buildInputs = 16 - [ blas zlib bzip2 ] 18 + [ blas zlib bzip2 coin-utils ] 17 19 ++ lib.optional withGurobi gurobi 18 20 ++ lib.optional withCplex cplex; 19 21 nativeBuildInputs = [ gfortran pkg-config ]; ··· 35 37 meta = with lib; { 36 38 description = "An abstract base class to a generic linear programming (LP) solver"; 37 39 homepage = "https://github.com/coin-or/Osi"; 38 - license = licenses.epl10; 40 + license = licenses.epl20; 39 41 platforms = platforms.unix; 40 42 maintainers = with maintainers; [ abbradar ]; 41 43 };
+2
pkgs/top-level/all-packages.nix
··· 37185 37185 37186 37186 cliquer = callPackage ../development/libraries/science/math/cliquer { }; 37187 37187 37188 + coin-utils = callPackage ../development/libraries/science/math/coin-utils { }; 37189 + 37188 37190 ecos = callPackage ../development/libraries/science/math/ecos { }; 37189 37191 37190 37192 flintqs = callPackage ../development/libraries/science/math/flintqs { };