51f65aa931
See http://lists.gnu.org/archive/html/info-gnu/2018-02/msg00010.html for release information
55 lines
1.7 KiB
Nix
55 lines
1.7 KiB
Nix
{ fetchurl, stdenv, libiconv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libunistring-${version}";
|
|
version = "0.9.9";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/libunistring/${name}.tar.gz";
|
|
sha256 = "0jm8pr469y7ybb90ll8k1585rciqm8ckzif0laipqhp5z440rsgm";
|
|
};
|
|
|
|
outputs = [ "out" "dev" "info" "doc" ];
|
|
|
|
propagatedBuildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
|
|
|
|
configureFlags = [
|
|
"--with-libiconv-prefix=${libiconv}"
|
|
];
|
|
|
|
doCheck = !stdenv.hostPlatform.isMusl;
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
homepage = http://www.gnu.org/software/libunistring/;
|
|
|
|
description = "Unicode string library";
|
|
|
|
longDescription = ''
|
|
This library provides functions for manipulating Unicode strings
|
|
and for manipulating C strings according to the Unicode
|
|
standard.
|
|
|
|
GNU libunistring is for you if your application involves
|
|
non-trivial text processing, such as upper/lower case
|
|
conversions, line breaking, operations on words, or more
|
|
advanced analysis of text. Text provided by the user can, in
|
|
general, contain characters of all kinds of scripts. The text
|
|
processing functions provided by this library handle all scripts
|
|
and all languages.
|
|
|
|
libunistring is for you if your application already uses the ISO
|
|
C / POSIX <ctype.h>, <wctype.h> functions and the text it
|
|
operates on is provided by the user and can be in any language.
|
|
|
|
libunistring is also for you if your application uses Unicode
|
|
strings as internal in-memory representation.
|
|
'';
|
|
|
|
license = stdenv.lib.licenses.lgpl3Plus;
|
|
|
|
maintainers = [ ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|