Merge pull request #138507 from thbkrshw/add-sysz

sysz: init at 1.2.2
This commit is contained in:
figsoda 2021-09-21 08:10:02 -04:00 committed by GitHub
commit b6e2f5391f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 0 deletions

View file

@ -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";

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

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