depot/third_party/nixpkgs/pkgs/by-name/li/libgrapheme/package.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

25 lines
714 B
Nix

{ 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 ];
};
}