Merge pull request #147021 from Gin-Pkg/master

nux: init at 0.1.4

authored by Artturi and committed by GitHub 093d1a2b a1f9aa0b

+43
+6
maintainers/maintainer-list.nix
··· 3084 3084 fingerprint = "85F3 72DF 4AF3 EF13 ED34 72A3 0AAF 2901 E804 0715"; 3085 3085 }]; 3086 3086 }; 3087 + drzoidberg = { 3088 + email = "jakob@mast3rsoft.com"; 3089 + github = "jakobneufeld"; 3090 + githubId = 24791219; 3091 + name = "Jakob Neufeld"; 3092 + }; 3087 3093 dschrempf = { 3088 3094 name = "Dominik Schrempf"; 3089 3095 email = "dominik.schrempf@gmail.com";
+35
pkgs/tools/misc/nux/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , rustPlatform 4 + , asciidoctor 5 + , installShellFiles 6 + }: 7 + 8 + rustPlatform.buildRustPackage rec { 9 + pname = "nux"; 10 + version = "0.1.4"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "NuxPackage"; 14 + repo = pname; 15 + rev = version; 16 + sha256 = "sha256-k3HRaWN8/MTZRGWBxI8RRK0tcSYBbSLs3vHkUdLGTc8"; 17 + }; 18 + 19 + cargoSha256 = "sha256-wfUr3dcdALMEgJ6CaXhK4Gqk6xflCnov9tELA63drV4="; 20 + 21 + preFixup = '' 22 + installManPage $releaseDir/build/nux-*/out/nux.1 23 + installShellCompletion $releaseDir/build/nux-*/out/nux.{bash,fish} 24 + installShellCompletion $releaseDir/build/nux-*/out/_nux 25 + 26 + ''; 27 + nativeBuildInputs = [ asciidoctor installShellFiles ]; 28 + 29 + meta = with lib; { 30 + description = "A wrapper over the nix cli"; 31 + homepage = "https://github.com/NuxPackage/nux"; 32 + license = with licenses; [ gpl3 ]; 33 + maintainers = with maintainers; [ drzoidberg ]; 34 + }; 35 + }
+2
pkgs/top-level/all-packages.nix
··· 30365 30365 30366 30366 nexuiz = callPackage ../games/nexuiz { }; 30367 30367 30368 + nux = callPackage ../tools/misc/nux { }; 30369 + 30368 30370 ninvaders = callPackage ../games/ninvaders { }; 30369 30371 30370 30372 njam = callPackage ../games/njam { };