2019-05-06 12:30:33 +00:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2014-12-08 20:53:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-06 12:30:33 +00:00
|
|
|
pname = "utf8proc";
|
2019-05-21 23:49:33 +00:00
|
|
|
version = "2.4.0";
|
2014-12-08 20:53:52 +00:00
|
|
|
|
2019-05-06 12:30:33 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "JuliaStrings";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-05-21 23:49:33 +00:00
|
|
|
sha256 = "1i42hqwc8znqii9brangwkxk5cyc2lk95ip405fg88zr7z2ncr34";
|
2014-12-08 20:53:52 +00:00
|
|
|
};
|
|
|
|
|
2015-06-04 17:37:57 +00:00
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
2014-12-08 20:53:52 +00:00
|
|
|
|
2015-05-29 19:48:46 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A clean C library for processing UTF-8 Unicode data";
|
2019-05-06 12:30:33 +00:00
|
|
|
homepage = "https://juliastrings.github.io/utf8proc/";
|
2015-05-29 19:48:46 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.ftrvxmtrx ];
|
2014-12-08 20:53:52 +00:00
|
|
|
};
|
|
|
|
}
|