libgrapheme: init at 2.0.2

This commit is contained in:
Nikolay Korotkiy 2024-02-23 23:08:38 +04:00
parent d1a4939090
commit 4af152de2d
No known key found for this signature in database
GPG key ID: D1DE6D7F693663A5

View file

@ -0,0 +1,25 @@
{ lib, stdenv, fetchurl, buildPackages }:
stdenv.mkDerivation rec {
pname = "libgrapheme";
version = "2.0.2";
src = fetchurl {
url = "https://dl.suckless.org/libgrapheme/libgrapheme-${version}.tar.gz";
hash = "sha256-pou93edr1Vul1kEWzl5CoT3wRcgcCFLemrYIlqoUMSU=";
};
depsBuildBuild = [ buildPackages.stdenv.cc ];
makeFlags = [ "AR:=$(AR)" "CC:=$(CC)" "RANLIB:=$(RANLIB)" "BUILD_CC=$(CC_FOR_BUILD)" ];
installFlags = [ "PREFIX=$(out)" "LDCONFIG=" ];
meta = with lib; {
description = "Unicode string library";
homepage = "https://libs.suckless.org/libgrapheme/";
license = licenses.isc;
platforms = platforms.unix;
maintainers = with maintainers; [ sikmir ];
};
}