sysz: init at 1.3.0

This commit is contained in:
Harold Leboulanger 2021-09-19 10:31:26 +02:00 committed by Harold LEBOULANGER
parent ea71d92e4e
commit 35b3dce8f5
2 changed files with 35 additions and 0 deletions

View 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";
};
}

View File

@ -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 { };