sysz: init at 1.3.0
This commit is contained in:
parent
ea71d92e4e
commit
35b3dce8f5
33
pkgs/tools/misc/sysz/default.nix
Normal file
33
pkgs/tools/misc/sysz/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib, stdenvNoCC, fetchFromGitHub, makeWrapper, fzf, gawk }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "sysz";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "joehillen";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "HNwsYE1Cv90IDi3A5PmRv3uHANR3ya+VOGBQ3+zkBLM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm755 sysz $out/libexec/sysz
|
||||
makeWrapper $out/libexec/sysz $out/bin/sysz \
|
||||
--prefix PATH : ${lib.makeBinPath [ fzf gawk ]}
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/joehillen/sysz";
|
||||
description = "A fzf terminal UI for systemctl";
|
||||
license = licenses.unlicense;
|
||||
maintainers = with maintainers; [ hleboulanger ];
|
||||
platforms = platforms.unix;
|
||||
changelog = "https://github.com/joehillen/sysz/blob/${version}/CHANGELOG.md";
|
||||
};
|
||||
}
|
@ -32034,6 +32034,8 @@ with pkgs;
|
||||
|
||||
sumneko-lua-language-server = callPackage ../development/tools/sumneko-lua-language-server { };
|
||||
|
||||
sysz = callPackage ../tools/misc/sysz { };
|
||||
|
||||
go-swag = callPackage ../development/tools/go-swag { };
|
||||
|
||||
go-swagger = callPackage ../development/tools/go-swagger { };
|
||||
|
Loading…
Reference in New Issue
Block a user