mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
utf8proc: 1.1.6 -> 1.2
This commit is contained in:
parent
2927efe62e
commit
2ee1ab955a
|
@ -1,25 +1,25 @@
|
|||
{ fetchurl, stdenv }:
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "v1.1.6";
|
||||
|
||||
name = "utf8proc-${version}";
|
||||
version = "v1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.public-software-group.org/pub/projects/utf8proc/${version}/utf8proc-${version}.tar.gz";
|
||||
sha256 = "1rwr84pw92ajjlbcxq0da7yxgg3ijngmrj7vhh2qzsr2h2kqzp7y";
|
||||
src = fetchFromGitHub {
|
||||
owner = "JuliaLang";
|
||||
repo = "utf8proc";
|
||||
rev = "${version}";
|
||||
sha256 = "1ryjlcnpfm7fpkq6444ybi576hbnh2l0w7kjhbqady5lxwjyg3pf";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -pv $out/lib $out/include
|
||||
cp libutf8proc.so libutf8proc.a $out/lib
|
||||
cp utf8proc.h $out/include
|
||||
make install prefix=$out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "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;
|
||||
meta = with stdenv.lib; {
|
||||
description = "A clean C library for processing UTF-8 Unicode data";
|
||||
homepage = http://julialang.org/utf8proc;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.ftrvxmtrx ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue