Merge pull request #147021 from Gin-Pkg/master

nux: init at 0.1.4
main
Artturi 3 years ago committed by GitHub
commit 093d1a2bd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      maintainers/maintainer-list.nix
  2. 35
      pkgs/tools/misc/nux/default.nix
  3. 2
      pkgs/top-level/all-packages.nix

@ -3084,6 +3084,12 @@
fingerprint = "85F3 72DF 4AF3 EF13 ED34 72A3 0AAF 2901 E804 0715";
}];
};
drzoidberg = {
email = "jakob@mast3rsoft.com";
github = "jakobneufeld";
githubId = 24791219;
name = "Jakob Neufeld";
};
dschrempf = {
name = "Dominik Schrempf";
email = "dominik.schrempf@gmail.com";

@ -0,0 +1,35 @@
{ lib
, fetchFromGitHub
, rustPlatform
, asciidoctor
, installShellFiles
}:
rustPlatform.buildRustPackage rec {
pname = "nux";
version = "0.1.4";
src = fetchFromGitHub {
owner = "NuxPackage";
repo = pname;
rev = version;
sha256 = "sha256-k3HRaWN8/MTZRGWBxI8RRK0tcSYBbSLs3vHkUdLGTc8";
};
cargoSha256 = "sha256-wfUr3dcdALMEgJ6CaXhK4Gqk6xflCnov9tELA63drV4=";
preFixup = ''
installManPage $releaseDir/build/nux-*/out/nux.1
installShellCompletion $releaseDir/build/nux-*/out/nux.{bash,fish}
installShellCompletion $releaseDir/build/nux-*/out/_nux
'';
nativeBuildInputs = [ asciidoctor installShellFiles ];
meta = with lib; {
description = "A wrapper over the nix cli";
homepage = "https://github.com/NuxPackage/nux";
license = with licenses; [ gpl3 ];
maintainers = with maintainers; [ drzoidberg ];
};
}

@ -30365,6 +30365,8 @@ with pkgs;
nexuiz = callPackage ../games/nexuiz { };
nux = callPackage ../tools/misc/nux { };
ninvaders = callPackage ../games/ninvaders { };
njam = callPackage ../games/njam { };

Loading…
Cancel
Save