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

21 lines
585 B
Nix
Raw Normal View History

{ stdenv, 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
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 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 ];
};
}