nur-packages

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

default.nix (679B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchFromGitHub,
      5   xorg,
      6 }:
      7 
      8 stdenv.mkDerivation (finalAttrs: {
      9   pname = "ffshot";
     10   version = "1.0.0";
     11 
     12   src = fetchFromGitHub {
     13     owner = "shinyblink";
     14     repo = "ffshot";
     15     rev = "v${finalAttrs.version}";
     16     hash = "sha256-lPHPwieotSgA6qF3EGDZk+lME0rqglOnEreYLk0/oUY=";
     17   };
     18 
     19   buildInputs = with xorg; [
     20     libxcb
     21     xcbutilimage
     22   ];
     23 
     24   installFlags = [ "PREFIX=$(out)" ];
     25 
     26   meta = {
     27     description = "farbfeld screenshot utility";
     28     homepage = "https://github.com/shinyblink/ffshot";
     29     license = lib.licenses.isc;
     30     maintainers = [ lib.maintainers.sikmir ];
     31     platforms = lib.platforms.linux;
     32     skip.ci = stdenv.isDarwin;
     33   };
     34 })