nixpkgs/pkgs/development/ocaml-modules/wtf8/default.nix

23 lines
597 B
Nix
Raw Normal View History

{ lib, fetchurl, buildDunePackage }:
2018-01-01 09:43: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 18:52:45 +00:00
useDune2 = true;
minimumOCamlVersion = "4.02";
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
};
meta = with lib; {
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 ];
};
}