default.nix (677B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 }: 6 7 stdenv.mkDerivation (finalAttrs: { 8 pname = "sthkd"; 9 version = "0-unstable-2020-11-15"; 10 11 src = fetchFromGitHub { 12 owner = "jeremybobbin"; 13 repo = "sthkd"; 14 rev = "2cb198a8e0bc46b9e88c4a7b0f533b35d197a8f0"; 15 hash = "sha256-P7RWdsxYv/P7K+BfvzkOzCCSMppSxacKVj19MPgeV7I="; 16 }; 17 18 makeFlags = [ "CC:=$(CC)" ]; 19 20 installFlags = [ "PREFIX=$(out)" ]; 21 22 meta = { 23 description = "Simple Terminal Hotkey Daemon"; 24 homepage = "https://github.com/jeremybobbin/sthkd"; 25 license = lib.licenses.isc; 26 platforms = lib.platforms.linux; 27 maintainers = [ lib.maintainers.sikmir ]; 28 skip.ci = stdenv.isDarwin; 29 }; 30 })