default.nix (696B)
1 { lib, stdenv, fetchgit, buildPackages }: 2 3 stdenv.mkDerivation rec { 4 pname = "libgrapheme"; 5 version = "2.0.2"; 6 7 src = fetchgit { 8 url = "git://git.suckless.org/libgrapheme"; 9 rev = version; 10 hash = "sha256-Or5Xs/Q/+CoEdKNpTHppzJ7ReABJ5+6v3tkTgjqTqAU="; 11 }; 12 13 depsBuildBuild = [ buildPackages.stdenv.cc ]; 14 15 makeFlags = [ "AR:=$(AR)" "CC:=$(CC)" "RANLIB:=$(RANLIB)" "BUILD_CC=$(CC_FOR_BUILD)" ]; 16 17 installFlags = [ "PREFIX=$(out)" "LDCONFIG=" ]; 18 19 meta = with lib; { 20 description = "Unicode string library"; 21 homepage = "https://libs.suckless.org/libgrapheme/"; 22 license = licenses.isc; 23 platforms = platforms.unix; 24 maintainers = [ maintainers.sikmir ]; 25 }; 26 }