nixpkgs/pkgs/development/libraries/gecode/3.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
596 B
Nix

{ stdenv, fetchurl, bash, perl }:
stdenv.mkDerivation rec {
pname = "gecode";
version = "3.7.3";
src = fetchurl {
url = "http://www.gecode.org/download/${pname}-${version}.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 ];
};
}