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