nim: initial package at 0.10.2
This commit is contained in:
parent
96d6344b13
commit
e65e8983d9
27
pkgs/development/compilers/nim/default.nix
Normal file
27
pkgs/development/compilers/nim/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, fetchurl, unzip }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "nim-0.10.2";
|
||||||
|
|
||||||
|
buildInputs = [ unzip ];
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://nim-lang.org/download/${name}.zip";
|
||||||
|
sha256 = "1jkrf8wgva7kfl0vqs1f3scidi6a85r6bkz2zf90k8gdpin9idrg";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildPhase = "sh build.sh";
|
||||||
|
installPhase =
|
||||||
|
''
|
||||||
|
substituteInPlace install.sh --replace '$1/nim' "$out"
|
||||||
|
sh install.sh $out
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib;
|
||||||
|
{ description = "Statically typed, imperative programming language";
|
||||||
|
homepage = http://nim-lang.org/;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ emery ];
|
||||||
|
platforms = platforms.linux; # arbitrary
|
||||||
|
};
|
||||||
|
}
|
@ -3671,6 +3671,8 @@ let
|
|||||||
mozart-binary = callPackage ../development/compilers/mozart/binary.nix { };
|
mozart-binary = callPackage ../development/compilers/mozart/binary.nix { };
|
||||||
mozart = mozart-binary;
|
mozart = mozart-binary;
|
||||||
|
|
||||||
|
nim = callPackage ../development/compilers/nim { };
|
||||||
|
|
||||||
neko = callPackage ../development/compilers/neko { };
|
neko = callPackage ../development/compilers/neko { };
|
||||||
|
|
||||||
nasm = callPackage ../development/compilers/nasm { };
|
nasm = callPackage ../development/compilers/nasm { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user