Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ alcotest
2, buildDunePackage
3, ocaml
4, fetchzip
5, gcc
6, fmt
7, lib
8, uutf
9}:
10
11buildDunePackage rec {
12 pname = "yuscii";
13 version = "0.3.0";
14
15 minimalOCamlVersion = "4.03";
16 duneVersion = "3";
17
18 src = fetchzip {
19 url = "https://github.com/mirage/yuscii/releases/download/v${version}/yuscii-v${version}.tbz";
20 sha256 = "0idywlkw0fbakrxv65swnr5bj7f2vns9kpay7q03gzlv82p670hy";
21 };
22
23 nativeCheckInputs = [
24 gcc
25 ];
26 checkInputs = [
27 alcotest
28 fmt
29 uutf
30 ];
31 doCheck = lib.versionAtLeast ocaml.version "4.08";
32
33 meta = {
34 description = "A simple mapper between UTF-7 to Unicode according RFC2152";
35 license = lib.licenses.mit;
36 homepage = "https://github.com/mirage/yuscii";
37 maintainers = with lib.maintainers; [ ];
38 };
39}