2021-08-05 21:33:18 +00:00
|
|
|
{ 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 ];
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
# error: no viable conversion from ...
|
2024-09-26 11:04:55 +00:00
|
|
|
doCheck = !stdenv.hostPlatform.isDarwin;
|
2021-08-05 21:33:18 +00:00
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
patches = [
|
|
|
|
# error: ISO C++17 does not allow 'register' storage class specifier
|
|
|
|
./remove-register.patch
|
|
|
|
];
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|