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