nux: init at 0.1.4
nux: init at 0.1.4 Fixed blah vlah nux: init at 0.1.4 nix init at 0.1.4
This commit is contained in:
parent
8f135db3d4
commit
c9a4c5e032
35
pkgs/tools/misc/nux/default.nix
Normal file
35
pkgs/tools/misc/nux/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -30330,6 +30330,8 @@ with pkgs;
|
||||
|
||||
nexuiz = callPackage ../games/nexuiz { };
|
||||
|
||||
nux = callPackage ../tools/misc/nux { };
|
||||
|
||||
ninvaders = callPackage ../games/ninvaders { };
|
||||
|
||||
njam = callPackage ../games/njam { };
|
||||
|
Loading…
Reference in New Issue
Block a user