nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, fetchurl, buildDunePackage }:
2
3buildDunePackage rec {
4 pname = "wtf8";
5 version = "1.0.2";
6
7 useDune2 = true;
8
9 minimumOCamlVersion = "4.02";
10
11 src = fetchurl {
12 url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
13 sha256 = "09ygcxxd5warkdzz17rgpidrd0pg14cy2svvnvy1hna080lzg7vp";
14 };
15
16 meta = with lib; {
17 homepage = "https://github.com/flowtype/ocaml-wtf8";
18 description = "WTF-8 is a superset of UTF-8 that allows unpaired surrogates.";
19 license = licenses.mit;
20 maintainers = [ maintainers.eqyiel ];
21 };
22}