depot/third_party/nixpkgs/pkgs/development/libraries/lemon-graph/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

33 lines
798 B
Nix

{ lib
, stdenv
, fetchurl
, cmake
}:
stdenv.mkDerivation rec {
pname = "lemon-graph";
version = "1.3.1";
src = fetchurl {
url = "https://lemon.cs.elte.hu/pub/sources/lemon-${version}.tar.gz";
sha256 = "1j6kp9axhgna47cfnmk1m7vnqn01hwh7pf1fp76aid60yhjwgdvi";
};
nativeBuildInputs = [ cmake ];
# error: no viable conversion from ...
doCheck = !stdenv.isDarwin;
patches = [
# error: ISO C++17 does not allow 'register' storage class specifier
./remove-register.patch
];
meta = with lib; {
homepage = "https://lemon.cs.elte.hu/trac/lemon";
description = "Efficient library for combinatorial optimization tasks on graphs and networks";
license = licenses.boost;
maintainers = with maintainers; [ trepetti ];
platforms = platforms.all;
};
}