mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
709f52a4e2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libunistring/versions. These checks were done: - built on NixOS - 0 of 0 passed binary check by having a zero exit code. - 0 of 0 passed binary check by having the new version present in output. - found 0.9.10 with grep in /nix/store/riqyx0fb7ngq713fnpqb6ajhxkmngisd-libunistring-0.9.10 - directory tree listing: https://gist.github.com/9f56dbfdcfad3ced299ff55e6bce9e98 - du listing: https://gist.github.com/3f085a632b3b0ece77d88dcb5daf344e
56 lines
1.6 KiB
Nix
56 lines
1.6 KiB
Nix
{ fetchurl, stdenv, libiconv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libunistring-${version}";
|
|
version = "0.9.10";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/libunistring/${name}.tar.gz";
|
|
sha256 = "02v17za10mxnj095x4pvm80jxyqwk93kailfc2j8xa1r6crmnbm8";
|
|
};
|
|
|
|
outputs = [ "out" "dev" "info" "doc" ];
|
|
|
|
propagatedBuildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
|
|
|
|
configureFlags = [
|
|
"--with-libiconv-prefix=${libiconv}"
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
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;
|
|
};
|
|
}
|