Luarocks: new package
This commit is contained in:
parent
4213b4aacb
commit
2baaaebf57
29
pkgs/development/tools/misc/luarocks/default.nix
Normal file
29
pkgs/development/tools/misc/luarocks/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{stdenv, fetchurl, lua, curl}:
|
||||
let
|
||||
s = # Generated upstream information
|
||||
rec {
|
||||
baseName="luarocks";
|
||||
version="2.0.13";
|
||||
name="${baseName}-${version}";
|
||||
hash="1cpdi61dwcc2i4bwrn7bb8fibkd1s75jrr0bjcbs8p76rn6hkb2y";
|
||||
url="http://luarocks.org/releases/luarocks-2.0.13-rc1.tar.gz";
|
||||
sha256="1cpdi61dwcc2i4bwrn7bb8fibkd1s75jrr0bjcbs8p76rn6hkb2y";
|
||||
};
|
||||
buildInputs = [
|
||||
lua curl
|
||||
];
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit (s) name version;
|
||||
inherit buildInputs;
|
||||
src = fetchurl {
|
||||
inherit (s) url sha256;
|
||||
};
|
||||
meta = {
|
||||
inherit (s) version;
|
||||
description = ''A package manager for Lua'';
|
||||
license = stdenv.lib.licenses.mit ;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
1
pkgs/development/tools/misc/luarocks/default.upstream
Normal file
1
pkgs/development/tools/misc/luarocks/default.upstream
Normal file
@ -0,0 +1 @@
|
||||
url http://luarocks.org/releases/
|
@ -2943,6 +2943,10 @@ let
|
||||
lua5_0 = callPackage ../development/interpreters/lua-5/5.0.3.nix { };
|
||||
lua5_1 = callPackage ../development/interpreters/lua-5/5.1.nix { };
|
||||
|
||||
luarocks = callPackage ../development/tools/misc/luarocks {
|
||||
lua = lua5;
|
||||
};
|
||||
|
||||
maude = callPackage ../development/interpreters/maude { };
|
||||
|
||||
octave = callPackage ../development/interpreters/octave {
|
||||
|
Loading…
Reference in New Issue
Block a user