nixpkgs/pkgs/development/libraries/gecode/3.nix
Daniel Schaefer bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00

23 lines
594 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 = https://www.gecode.org;
description = "Toolkit for developing constraint-based systems";
platforms = platforms.all;
maintainers = [ maintainers.manveru ];
};
}