1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/development/libraries/gecode/3.nix
Will Dietz fbaa334bcd gecode_3: use bash to run "configure", fix error
Error:

/configure: ./configure.lineno: line 11561: syntax error: unexpected "("
2018-03-01 09:16:18 -06:00

24 lines
593 B
Nix

{ stdenv, fetchurl, bash, perl }:
stdenv.mkDerivation rec {
name = "gecode-${version}";
version = "3.7.3";
src = fetchurl {
url = "http://www.gecode.org/download/${name}.tar.gz";
sha256 = "0k45jas6p3cyldgyir1314ja3174sayn2h2ly3z9b4dl3368pk77";
};
nativeBuildInputs = [ bash perl ];
preConfigure = "patchShebangs configure";
meta = with stdenv.lib; {
license = licenses.mit;
homepage = http://www.gecode.org;
description = "Toolkit for developing constraint-based systems";
platforms = platforms.all;
maintainers = [ maintainers.manveru ];
};
}