Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 34 lines 817 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 cmake, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "lemon-graph"; 10 version = "1.3.1"; 11 12 src = fetchurl { 13 url = "https://lemon.cs.elte.hu/pub/sources/lemon-${version}.tar.gz"; 14 sha256 = "1j6kp9axhgna47cfnmk1m7vnqn01hwh7pf1fp76aid60yhjwgdvi"; 15 }; 16 17 nativeBuildInputs = [ cmake ]; 18 19 # error: no viable conversion from ... 20 doCheck = !stdenv.hostPlatform.isDarwin; 21 22 patches = [ 23 # error: ISO C++17 does not allow 'register' storage class specifier 24 ./remove-register.patch 25 ]; 26 27 meta = with lib; { 28 homepage = "https://lemon.cs.elte.hu/trac/lemon"; 29 description = "Efficient library for combinatorial optimization tasks on graphs and networks"; 30 license = licenses.boost; 31 maintainers = with maintainers; [ trepetti ]; 32 platforms = platforms.all; 33 }; 34}