mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
luarocks-packages-updater: move to by-name
This commit is contained in:
parent
248893ed96
commit
5f3faeb529
@ -1,15 +1,14 @@
|
||||
{ buildPythonApplication
|
||||
, nix
|
||||
{ nix
|
||||
, makeWrapper
|
||||
, python3Packages
|
||||
, lib
|
||||
# , nix-prefetch-git
|
||||
, nix-prefetch-scripts
|
||||
, luarocks-nix
|
||||
, lua5_1
|
||||
, lua5_2
|
||||
, lua5_3
|
||||
, lua5_4
|
||||
, pluginupdate
|
||||
}:
|
||||
let
|
||||
|
||||
@ -25,7 +24,7 @@ let
|
||||
];
|
||||
|
||||
in
|
||||
buildPythonApplication {
|
||||
python3Packages.buildPythonApplication {
|
||||
pname = "luarocks-packages-updater";
|
||||
version = "0.1";
|
||||
|
||||
@ -45,7 +44,7 @@ buildPythonApplication {
|
||||
''
|
||||
mkdir -p $out/bin $out/lib
|
||||
cp ${./updater.py} $out/bin/luarocks-packages-updater
|
||||
cp ${../../../../maintainers/scripts/pluginupdate.py} $out/lib/pluginupdate.py
|
||||
cp ${pluginupdate} $out/lib/pluginupdate.py
|
||||
|
||||
# wrap python scripts
|
||||
makeWrapperArgs+=( --prefix PATH : "${path}" --prefix PYTHONPATH : "$out/lib" \
|
@ -16692,11 +16692,10 @@ with pkgs;
|
||||
luarocks = luaPackages.luarocks;
|
||||
luarocks-nix = luaPackages.luarocks-nix;
|
||||
|
||||
luarocks-packages-updater = callPackage ../development/lua-modules/updater {
|
||||
inherit (python3Packages) buildPythonApplication ;
|
||||
luarocks-packages-updater = callPackage ../by-name/lu/luarocks-packages-updater/package.nix {
|
||||
pluginupdate = ../../maintainers/scripts/pluginupdate.py;
|
||||
};
|
||||
|
||||
|
||||
luau = callPackage ../development/interpreters/luau { };
|
||||
|
||||
lune = callPackage ../development/interpreters/lune { };
|
||||
|
Loading…
Reference in New Issue
Block a user