nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 46 lines 932 B view raw
1{ 2 luarocks_bootstrap, 3 fetchFromGitHub, 4 unstableGitUpdater, 5 nurl, 6 file, 7}: 8 9luarocks_bootstrap.overrideAttrs (old: { 10 pname = "luarocks-nix"; 11 version = "0-unstable-2024-05-31"; 12 13 src = fetchFromGitHub { 14 owner = "nix-community"; 15 repo = "luarocks-nix"; 16 rev = "9d0440da358eac11afdbef392e2cf3272a8c7101"; 17 hash = "sha256-9SC+YQ06u35LN3mPohG7Lz0eLXPsMGKG3mhS+0zSO7Y="; 18 }; 19 20 propagatedNativeBuildInputs = old.propagatedNativeBuildInputs ++ [ 21 file 22 nurl 23 ]; 24 25 patches = [ ]; 26 27 doInstallCheck = false; 28 29 passthru = { 30 updateScript = unstableGitUpdater { 31 # tags incompletely inherited from regular luarocks 32 hardcodeZeroVersion = true; 33 }; 34 }; 35 36 # old.meta // { /* ... */ } doesn't update meta.position, which breaks the updateScript 37 meta = { 38 inherit (old.meta) 39 description 40 license 41 maintainers 42 platforms 43 ; 44 mainProgram = "luarocks"; 45 }; 46})