2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, fetchurl, buildDunePackage }:
|
2018-01-01 09:43:46 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
2018-01-01 09:43:46 +00:00
|
|
|
pname = "wtf8";
|
|
|
|
version = "1.0.1";
|
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
minimumOCamlVersion = "4.01";
|
|
|
|
|
2018-01-01 09:43:46 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
|
|
|
sha256 = "1msg3vycd3k8qqj61sc23qks541cxpb97vrnrvrhjnqxsqnh6ygq";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/flowtype/ocaml-wtf8;
|
|
|
|
description = "WTF-8 is a superset of UTF-8 that allows unpaired surrogates.";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.eqyiel ];
|
|
|
|
};
|
|
|
|
}
|