depot/third_party/nixpkgs/pkgs/applications/science/math/clp/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

27 lines
716 B
Nix

{ lib, stdenv, fetchFromGitHub, pkg-config, coin-utils, zlib, osi }:
stdenv.mkDerivation rec {
version = "1.17.9";
pname = "clp";
src = fetchFromGitHub {
owner = "coin-or";
repo = "Clp";
rev = "releases/${version}";
hash = "sha256-kHCDji+yIf5mCoxKB2b/HaATGmwwIAPEV74tthIMeMY=";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ zlib coin-utils osi ];
doCheck = true;
meta = with lib; {
license = licenses.epl20;
homepage = "https://github.com/coin-or/Clp";
description = "Open-source linear programming solver written in C++";
mainProgram = "clp";
platforms = platforms.darwin ++ platforms.linux;
maintainers = [ maintainers.vbgl ];
};
}