summary refs log tree commit diff
path: root/pkgs/development/tools/misc/luarocks
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2019-01-22 15:06:07 +0900
committerMatthieu Coudron <mattator@gmail.com>2019-01-22 16:52:43 +0900
commit15a8719d40a4ef7d295047a3fafd8887b36b5b61 (patch)
tree478240f0ffe1343c03d99a2140f867ed9d21f7fa /pkgs/development/tools/misc/luarocks
parentd7a48fc80d5d5a45385315a285e6e2644f1c5705 (diff)
downloadnixpkgs-15a8719d40a4ef7d295047a3fafd8887b36b5b61.tar
nixpkgs-15a8719d40a4ef7d295047a3fafd8887b36b5b61.tar.gz
nixpkgs-15a8719d40a4ef7d295047a3fafd8887b36b5b61.tar.bz2
nixpkgs-15a8719d40a4ef7d295047a3fafd8887b36b5b61.tar.lz
nixpkgs-15a8719d40a4ef7d295047a3fafd8887b36b5b61.tar.xz
nixpkgs-15a8719d40a4ef7d295047a3fafd8887b36b5b61.tar.zst
nixpkgs-15a8719d40a4ef7d295047a3fafd8887b36b5b61.zip
luarocks-nix: init
luarocks-nix is a fork of luarocks that adds a "nix" command capable of
converting luarocks package descriptions into nix derivations (though nixpkgs is
still missing the lua infrastructure).
Diffstat (limited to 'pkgs/development/tools/misc/luarocks')
-rw-r--r--pkgs/development/tools/misc/luarocks/luarocks-nix.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/luarocks/luarocks-nix.nix b/pkgs/development/tools/misc/luarocks/luarocks-nix.nix
new file mode 100644
index 00000000000..3728caf193a
--- /dev/null
+++ b/pkgs/development/tools/misc/luarocks/luarocks-nix.nix
@@ -0,0 +1,9 @@
+{ luarocks, fetchFromGitHub }:
+luarocks.overrideAttrs(old: {
+  src = fetchFromGitHub {
+    owner = "teto";
+    repo = "luarocks";
+    rev = "d669e8e118e6ca8bff05f32dbc9e5589e6ac45d2";
+    sha256 = "1lay3905a5sx2a4y68lbys0913qs210hcj9kn2lbqinw86c1vyc3";
+  };
+})