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