nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit bed1ff900d50e9a50e61356fb2217580e639fef7
parent 3f9b3116346e3d4b73ab4afa5cc63aa52ca03d63
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Tue, 27 Apr 2021 13:01:14 +0300

Add sthkd

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/suckless/sthkd/default.nix | 23+++++++++++++++++++++++
2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -281,6 +281,7 @@ lib.makeScope newScope ( scroll = callPackage ./suckless/scroll { }; sfeed = callPackage ./suckless/sfeed { }; sfm = callPackage ./suckless/sfm { }; + sthkd = callPackage ./suckless/sthkd { }; xprompt = callPackage ./suckless/xprompt { }; } ) diff --git a/pkgs/suckless/sthkd/default.nix b/pkgs/suckless/sthkd/default.nix @@ -0,0 +1,23 @@ +{ lib, stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "sthkd"; + version = "2020-11-15"; + + src = fetchFromGitHub { + owner = "jeremybobbin"; + repo = pname; + rev = "2cb198a8e0bc46b9e88c4a7b0f533b35d197a8f0"; + hash = "sha256-P7RWdsxYv/P7K+BfvzkOzCCSMppSxacKVj19MPgeV7I="; + }; + + installFlags = [ "PREFIX=$(out)" ]; + + meta = with lib; { + description = "Simple Terminal Hotkey Daemon"; + inherit (src.meta) homepage; + license = licenses.isc; + platforms = platforms.linux; + maintainers = [ maintainers.sikmir ]; + }; +}