Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, fetchFromGitHub, base64, either, fmt, jsonm, uutf, optint }:
2
3buildDunePackage rec {
4 pname = "repr";
5 version = "0.6.0";
6
7 src = fetchFromGitHub {
8 owner = "mirage";
9 repo = "repr";
10 rev = version;
11 hash = "sha256-jF8KmaG07CT26O/1ANc6s1yHFJqhXDtd0jgTA04tIgw=";
12 };
13
14 minimalOCamlVersion = "4.08";
15 duneVersion = "3";
16 strictDeps = true;
17
18 propagatedBuildInputs = [
19 base64
20 either
21 fmt
22 jsonm
23 uutf
24 optint
25 ];
26
27 meta = with lib; {
28 description = "Dynamic type representations. Provides no stability guarantee";
29 homepage = "https://github.com/mirage/repr";
30 license = licenses.isc;
31 maintainers = with maintainers; [ sternenseemann ];
32 };
33}