3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #7689 from ehmry/nim

nim: 0.10.2 -> 0.11.0
This commit is contained in:
Pascal Wittmann 2015-05-04 17:08:41 +02:00
commit c9944694e5

View file

@ -1,18 +1,19 @@
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
name = "nim-0.10.2";
name = "nim-0.11.0";
buildInputs = [ unzip ];
src = fetchurl {
url = "http://nim-lang.org/download/${name}.zip";
sha256 = "1jkrf8wgva7kfl0vqs1f3scidi6a85r6bkz2zf90k8gdpin9idrg";
sha256 = "0l19rrp6nhwhr2z33np4x32c35iba0hhv6w3qwj1sk8bjfpvz4cw";
};
buildPhase = "sh build.sh";
installPhase =
''
installBin bin/nim
substituteInPlace install.sh --replace '$1/nim' "$out"
sh install.sh $out
'';