nixpkgs/pkgs/by-name/le/lemon-graph/package.nix

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

34 lines
811 B
Nix
Raw Normal View History

2021-07-27 21:10:26 +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-02 14:51:21 +00:00
# error: no viable conversion from ...
doCheck = !stdenv.hostPlatform.isDarwin;
2021-07-27 21:10:26 +00:00
2024-02-13 11:01:18 +00:00
patches = [
# error: ISO C++17 does not allow 'register' storage class specifier
./remove-register.patch
];
2021-07-27 21:10:26 +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;
};
}