utf8proc: 1.1.6 -> 1.2

This commit is contained in:
Siarhei Zirukin 2015-05-29 21:48:46 +02:00
parent 2927efe62e
commit 2ee1ab955a

View File

@ -1,25 +1,25 @@
{ fetchurl, stdenv }: { stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "v1.1.6";
name = "utf8proc-${version}"; name = "utf8proc-${version}";
version = "v1.2";
src = fetchurl { src = fetchFromGitHub {
url = "http://www.public-software-group.org/pub/projects/utf8proc/${version}/utf8proc-${version}.tar.gz"; owner = "JuliaLang";
sha256 = "1rwr84pw92ajjlbcxq0da7yxgg3ijngmrj7vhh2qzsr2h2kqzp7y"; repo = "utf8proc";
rev = "${version}";
sha256 = "1ryjlcnpfm7fpkq6444ybi576hbnh2l0w7kjhbqady5lxwjyg3pf";
}; };
installPhase = '' installPhase = ''
mkdir -pv $out/lib $out/include make install prefix=$out
cp libutf8proc.so libutf8proc.a $out/lib
cp utf8proc.h $out/include
''; '';
meta = { meta = with stdenv.lib; {
description = "A library for processing UTF-8 encoded Unicode strings"; description = "A clean C library for processing UTF-8 Unicode data";
homepage = http://www.public-software-group.org/utf8proc; homepage = http://julialang.org/utf8proc;
license = stdenv.lib.licenses.mit; license = licenses.mit;
platforms = stdenv.lib.platforms.all; platforms = platforms.all;
maintainers = [ maintainers.ftrvxmtrx ];
}; };
} }