nur-packages

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

default.nix (645B)


      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   installFlags = [ "PREFIX=$(out)" ];
     19 
     20   meta = {
     21     description = "Simple Terminal Hotkey Daemon";
     22     homepage = "https://github.com/jeremybobbin/sthkd";
     23     license = lib.licenses.isc;
     24     platforms = lib.platforms.linux;
     25     maintainers = [ lib.maintainers.sikmir ];
     26     skip.ci = stdenv.isDarwin;
     27   };
     28 })