Merge pull request #8064 from ftrvxmtrx/utf8proc-1.2
utf8proc: 1.1.6 -> 1.2
This commit is contained in:
commit
dbfaf1c27c
@ -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 New Issue
Block a user