nim: 0.10.2 -> 0.11.0

This commit is contained in:
Emery Hemingway 2015-05-04 08:34:22 -04:00
parent 28e49dcb41
commit 3984468692

View File

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