nur-packages

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

default.nix (592B)


      1 { lib, stdenv, fetchFromGitHub }:
      2 
      3 stdenv.mkDerivation rec {
      4   pname = "sthkd";
      5   version = "2020-11-15";
      6 
      7   src = fetchFromGitHub {
      8     owner = "jeremybobbin";
      9     repo = "sthkd";
     10     rev = "2cb198a8e0bc46b9e88c4a7b0f533b35d197a8f0";
     11     hash = "sha256-P7RWdsxYv/P7K+BfvzkOzCCSMppSxacKVj19MPgeV7I=";
     12   };
     13 
     14   installFlags = [ "PREFIX=$(out)" ];
     15 
     16   meta = with lib; {
     17     description = "Simple Terminal Hotkey Daemon";
     18     inherit (src.meta) homepage;
     19     license = licenses.isc;
     20     platforms = platforms.linux;
     21     maintainers = [ maintainers.sikmir ];
     22     skip.ci = stdenv.isDarwin;
     23   };
     24 }