···3233 callPackage = pkgs.newScope self;
3435- requiredLuaModules = drvs: with stdenv.lib; let
36 modules = filter hasLuaModule drvs;
37 in unique ([lua] ++ modules ++ concatLists (catAttrs "requiredLuaModules" modules));
38···123 );
124 '';
125126- meta = with stdenv.lib; {
127 description = "Lightweight UNIX I/O and POSIX binding for Lua";
128 homepage = "https://www.gitano.org.uk/luxio/";
129 license = licenses.mit;
···151 printf "package.path = '$out/lib/lua/${lua.luaversion}/?/init.lua;' .. package.path\nreturn require((...) .. '.init')\n" > $out/lib/lua/${lua.luaversion}/vicious.lua
152 '';
153154- meta = with stdenv.lib; {
155 description = "A modular widget library for the awesome window manager";
156 homepage = "https://github.com/Mic92/vicious";
157 license = licenses.gpl2;
···3233 callPackage = pkgs.newScope self;
3435+ requiredLuaModules = drvs: with lib; let
36 modules = filter hasLuaModule drvs;
37 in unique ([lua] ++ modules ++ concatLists (catAttrs "requiredLuaModules" modules));
38···123 );
124 '';
125126+ meta = with lib; {
127 description = "Lightweight UNIX I/O and POSIX binding for Lua";
128 homepage = "https://www.gitano.org.uk/luxio/";
129 license = licenses.mit;
···151 printf "package.path = '$out/lib/lua/${lua.luaversion}/?/init.lua;' .. package.path\nreturn require((...) .. '.init')\n" > $out/lib/lua/${lua.luaversion}/vicious.lua
152 '';
153154+ meta = with lib; {
155 description = "A modular widget library for the awesome window manager";
156 homepage = "https://github.com/Mic92/vicious";
157 license = licenses.gpl2;
+3-2
pkgs/top-level/python-packages.nix
···89{ pkgs
10, stdenv
011, python
12}:
1314-with pkgs.lib;
1516self:
17···6465 # Create a PYTHONPATH from a list of derivations. This function recurses into the items to find derivations
66 # providing Python modules.
67- makePythonPath = drvs: stdenv.lib.makeSearchPath python.sitePackages (requiredPythonModules drvs);
6869 removePythonPrefix = name:
70 removePrefix namePrefix name;
···89{ pkgs
10, stdenv
11+, lib
12, python
13}:
1415+with lib;
1617self:
18···6566 # Create a PYTHONPATH from a list of derivations. This function recurses into the items to find derivations
67 # providing Python modules.
68+ makePythonPath = drvs: lib.makeSearchPath python.sitePackages (requiredPythonModules drvs);
6970 removePythonPrefix = name:
71 removePrefix namePrefix name;