nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 33 lines 711 B view raw
1{ lib 2, stdenv 3, fetchurl 4, fetchpatch 5, perl 6}: 7 8stdenv.mkDerivation rec { 9 pname = "gecode"; 10 version = "3.7.3"; 11 12 src = fetchurl { 13 url = "http://www.gecode.org/download/${pname}-${version}.tar.gz"; 14 sha256 = "0k45jas6p3cyldgyir1314ja3174sayn2h2ly3z9b4dl3368pk77"; 15 }; 16 17 patches = [ 18 (import ./fix-const-weights-clang-patch.nix fetchpatch) 19 ]; 20 21 nativeBuildInputs = [ perl ]; 22 23 preConfigure = "patchShebangs configure"; 24 25 meta = with lib; { 26 broken = stdenv.isDarwin; 27 license = licenses.mit; 28 homepage = "https://www.gecode.org"; 29 description = "Toolkit for developing constraint-based systems"; 30 platforms = platforms.all; 31 maintainers = [ maintainers.manveru ]; 32 }; 33}