nur-packages

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

default.nix (636B)


      1 { lib, stdenv, fetchgit }:
      2 
      3 stdenv.mkDerivation {
      4   pname = "libgrapheme";
      5   version = "2.0.1";
      6 
      7   src = fetchgit {
      8     url = "git://git.suckless.org/libgrapheme";
      9     rev = "30766915c37d88fc423a4d750227a769e7a307ae";
     10     hash = "sha256-cBpXRce4494ZVPRFjUQa5UJ6wvEfik2eUzv2bdEbz5E=";
     11   };
     12 
     13   makeFlags = [ "AR:=$(AR)" "CC:=$(CC)" "RANLIB:=$(RANLIB)" ];
     14 
     15   installFlags = [ "PREFIX=$(out)" "LDCONFIG=" ];
     16 
     17   meta = with lib; {
     18     description = "Unicode string library";
     19     homepage = "https://libs.suckless.org/libgrapheme/";
     20     license = licenses.isc;
     21     platforms = platforms.unix;
     22     maintainers = [ maintainers.sikmir ];
     23   };
     24 }