mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
nim: 0.10.2 -> 0.11.0
This commit is contained in:
parent
28e49dcb41
commit
3984468692
@ -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