nixpkgs/pkgs/by-name/co/coin-utils/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
880 B
Nix
Raw Normal View History

2023-11-10 04:11:25 +00:00
{
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
}:
2023-04-01 15:39:31 +00:00
stdenv.mkDerivation rec {
2023-10-25 13:02:10 +00:00
version = "2.11.10";
2023-04-01 15:39:31 +00:00
pname = "coinutils";
src = fetchFromGitHub {
owner = "coin-or";
repo = "CoinUtils";
rev = "releases/${version}";
2023-10-25 13:02:10 +00:00
hash = "sha256-Rbm45HRbRKQ6Cdup+gvKJ1xkK1HKG3irR5AIjhLer7g=";
2023-04-01 15:39:31 +00:00
};
2023-11-10 04:11:25 +00:00
patches = [
(fetchpatch {
url = "https://github.com/coin-or/CoinUtils/commit/1700ed92c2bc1562aabe65dee3b4885bd5c87fb9.patch";
stripLen = 1;
extraPrefix = "CoinUtils/";
hash = "sha256-8S6XteZvoJlL+5MWiOrW7HXsdcnzpuEFTyzX9qg7OUY=";
})
];
2023-04-01 15:39:31 +00:00
doCheck = true;
meta = with lib; {
license = licenses.epl20;
homepage = "https://github.com/coin-or/CoinUtils";
description = "Collection of classes and helper functions that are generally useful to multiple COIN-OR projects";
maintainers = with maintainers; [ tmarkus ];
};
}