mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
27 lines
697 B
Nix
27 lines
697 B
Nix
{ lib, stdenv, fetchFromGitHub, pkg-config, coin-utils, zlib, osi }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.17.8";
|
|
pname = "clp";
|
|
src = fetchFromGitHub {
|
|
owner = "coin-or";
|
|
repo = "Clp";
|
|
rev = "releases/${version}";
|
|
hash = "sha256-3Z6ysoCcDVB8UePiwbZNqvO/o/jgPcv6XFkpJZBK+Os=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
propagatedBuildInputs = [ zlib coin-utils osi ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
license = licenses.epl20;
|
|
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 ];
|
|
};
|
|
}
|