nur-packages

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

default.nix (676B)


      1 { lib, stdenv, fetchFromGitHub, pkg-config, gtk3 }:
      2 
      3 stdenv.mkDerivation rec {
      4   pname = "dragon";
      5   version = "1.2.0";
      6 
      7   src = fetchFromGitHub {
      8     owner = "mwh";
      9     repo = "dragon";
     10     rev = "v${version}";
     11     hash = "sha256-wqG6idlVvdN+sPwYgWu3UL0la5ssvymZibiak3KeV7M=";
     12   };
     13 
     14   nativeBuildInputs = [ pkg-config ];
     15 
     16   buildInputs = [ gtk3 ];
     17 
     18   makeFlags = [ "CC:=$(CC)" ];
     19 
     20   installFlags = [ "PREFIX=$(out)" ];
     21 
     22   meta = with lib; {
     23     description = "Drag and drop source/target for X";
     24     inherit (src.meta) homepage;
     25     license = licenses.gpl3Plus;
     26     maintainers = [ maintainers.sikmir ];
     27     platforms = platforms.linux;
     28     skip.ci = stdenv.isDarwin;
     29   };
     30 }