forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / by-name / co / coin-utils / package.nix
blob60b9de0ab33a7067de2de1c513bd4b6494cd52f6
1 { lib, stdenv, fetchFromGitHub, fetchpatch }:
3 stdenv.mkDerivation rec {
4   version = "2.11.10";
5   pname = "coinutils";
7   src = fetchFromGitHub {
8     owner = "coin-or";
9     repo = "CoinUtils";
10     rev = "releases/${version}";
11     hash = "sha256-Rbm45HRbRKQ6Cdup+gvKJ1xkK1HKG3irR5AIjhLer7g=";
12   };
14   patches = [
15     (fetchpatch {
16       url = "https://github.com/coin-or/CoinUtils/commit/1700ed92c2bc1562aabe65dee3b4885bd5c87fb9.patch";
17       stripLen = 1;
18       extraPrefix = "CoinUtils/";
19       hash = "sha256-8S6XteZvoJlL+5MWiOrW7HXsdcnzpuEFTyzX9qg7OUY=";
20     })
21   ];
23   doCheck = true;
25   meta = with lib; {
26     license = licenses.epl20;
27     homepage = "https://github.com/coin-or/CoinUtils";
28     description = "Collection of classes and helper functions that are generally useful to multiple COIN-OR projects";
29     maintainers = with maintainers; [ tmarkus ];
30   };