base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / le / lemon-graph / package.nix
blob4e96e9f4c93a022bed59613d4962c18376c8f13a
1 { lib
2 , stdenv
3 , fetchurl
4 , cmake
5 }:
7 stdenv.mkDerivation rec {
8   pname = "lemon-graph";
9   version = "1.3.1";
11   src = fetchurl {
12     url = "https://lemon.cs.elte.hu/pub/sources/lemon-${version}.tar.gz";
13     sha256 = "1j6kp9axhgna47cfnmk1m7vnqn01hwh7pf1fp76aid60yhjwgdvi";
14   };
16   nativeBuildInputs = [ cmake ];
18   # error: no viable conversion from ...
19   doCheck = !stdenv.hostPlatform.isDarwin;
21   patches = [
22     # error: ISO C++17 does not allow 'register' storage class specifier
23     ./remove-register.patch
24   ];
26   meta = with lib; {
27     homepage = "https://lemon.cs.elte.hu/trac/lemon";
28     description = "Efficient library for combinatorial optimization tasks on graphs and networks";
29     license = licenses.boost;
30     maintainers = with maintainers; [ trepetti ];
31     platforms = platforms.all;
32   };