nur-packages

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

default.nix (601B)


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