about summary refs log tree commit diff
path: root/pkgs/top-level/lua-packages.nix
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2019-06-05 13:13:26 +0900
committerMatthieu Coudron <coudron@iij.ad.jp>2019-06-05 15:23:42 +0900
commit62d4e044e7eec51b31f44a70de46737505fb7796 (patch)
tree49ed0d743d89b9b3e67d086e4bfb27932b94dffa /pkgs/top-level/lua-packages.nix
parent97b23ec91dea8bfb098b66eb5ba48e325a727fd9 (diff)
luaPackages.cjson: move to generated
Diffstat (limited to 'pkgs/top-level/lua-packages.nix')
-rw-r--r--pkgs/top-level/lua-packages.nix31
1 files changed, 0 insertions, 31 deletions
diff --git a/pkgs/top-level/lua-packages.nix b/pkgs/top-level/lua-packages.nix
index 57cd6de1b5a43..7c9a4bbe58388 100644
--- a/pkgs/top-level/lua-packages.nix
+++ b/pkgs/top-level/lua-packages.nix
@@ -684,37 +684,6 @@ with self; {
     };
   };
 
-  cjson = buildLuaPackage rec {
-    name = "cjson-${version}";
-    version = "2.1.0";
-
-    src = fetchurl {
-      url = "http://www.kyne.com.au/~mark/software/download/lua-${name}.tar.gz";
-      sha256 = "0y67yqlsivbhshg8ma535llz90r4zag9xqza5jx0q7lkap6nkg2i";
-    };
-
-    preBuild = ''
-      sed -i "s|/usr/local|$out|" Makefile
-    '';
-
-    makeFlags = [ "LUA_VERSION=${lua.luaversion}" ];
-
-    postInstall = ''
-      rm -rf $out/share/lua/${lua.luaversion}/cjson/tests
-    '';
-
-    installTargets = "install install-extra";
-
-    disabled = isLuaJIT;
-
-    meta = with stdenv.lib; {
-      description = "Lua C extension module for JSON support";
-      homepage = "https://www.kyne.com.au/~mark/software/lua-cjson.php";
-      license = licenses.mit;
-      maintainers = with maintainers; [ vyp ];
-    };
-  };
-
   mpack = buildLuaPackage rec {
     name = "mpack-${version}";
     version = "1.0.7";