2021-01-25 08:26:54 +00:00
|
|
|
{ lib, 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";
|
2019-11-27 09:22:00 +00:00
|
|
|
version = "1.0.2";
|
2018-01-01 09:43:46 +00:00
|
|
|
|
2021-03-28 19:52:45 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
2019-02-22 17:00:43 +00:00
|
|
|
minimumOCamlVersion = "4.02";
|
2018-11-05 10:21:46 +00:00
|
|
|
|
2018-01-01 09:43:46 +00:00
|
|
|
src = fetchurl {
|
2019-11-27 09:22:00 +00:00
|
|
|
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
|
|
|
sha256 = "09ygcxxd5warkdzz17rgpidrd0pg14cy2svvnvy1hna080lzg7vp";
|
2018-01-01 09:43:46 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/flowtype/ocaml-wtf8";
|
2018-01-01 09:43:46 +00:00
|
|
|
description = "WTF-8 is a superset of UTF-8 that allows unpaired surrogates.";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.eqyiel ];
|
|
|
|
};
|
|
|
|
}
|