Merge pull request #6426 from grwlf/utf8-proc

utf8proc: add the library
This commit is contained in:
Pascal Wittmann 2015-03-09 17:34:06 +00:00
commit 7b2ceb5cf1
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ fetchurl, stdenv }:
stdenv.mkDerivation rec {
version = "v1.1.6";
name = "utf8proc-${version}";
src = fetchurl {
url = "http://www.public-software-group.org/pub/projects/utf8proc/${version}/utf8proc-${version}.tar.gz";
sha256 = "1rwr84pw92ajjlbcxq0da7yxgg3ijngmrj7vhh2qzsr2h2kqzp7y";
};
installPhase = ''
mkdir -pv $out/lib $out/include
cp libutf8proc.so libutf8proc.a $out/lib
cp utf8proc.h $out/include
'';
meta = {
description = "utf8proc is a library for processing UTF-8 encoded Unicode strings";
homepage = http://www.public-software-group.org/utf8proc;
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -13647,6 +13647,8 @@ let
tup = callPackage ../development/tools/build-managers/tup { };
utf8proc = callPackage ../development/libraries/utf8proc { };
vice = callPackage ../misc/emulators/vice {
libX11 = xlibs.libX11;
giflib = giflib_4_1;