commit
c9944694e5
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user