commit
b6e2f5391f
3 changed files with 41 additions and 0 deletions
|
@ -4447,6 +4447,12 @@
|
|||
fingerprint = "D618 7A03 A40A 3D56 62F5 4B46 03EF BF83 9A5F DC15";
|
||||
}];
|
||||
};
|
||||
hleboulanger = {
|
||||
email = "hleboulanger@protonmail.com";
|
||||
name = "Harold Leboulanger";
|
||||
github = "thbkrhsw";
|
||||
githubId = 33122;
|
||||
};
|
||||
hlolli = {
|
||||
email = "hlolli@gmail.com";
|
||||
github = "hlolli";
|
||||
|
|
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";
|
||||
};
|
||||
}
|
|
@ -32068,6 +32068,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 a new issue