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