about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/repr/default.nix
blob: de6877ddd68e24d053e7fb7d1b38a028915951a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib, buildDunePackage, fetchurl, fmt, uutf, jsonm, base64, either }:

buildDunePackage rec {
  pname = "repr";
  version = "0.2.1";

  minimumOCamlVersion = "4.08";

  src = fetchurl {
    url = "https://github.com/mirage/${pname}/releases/download/${version}/${pname}-fuzz-${version}.tbz";
    sha256 = "1cbzbawbn71mmpw8y84s1p2pbhc055w1znz64jvr00c7fdr9p8hc";
  };

  useDune2 = true;

  propagatedBuildInputs = [
    fmt
    uutf
    jsonm
    base64
    either
  ];

  meta = with lib; {
    description = "Dynamic type representations. Provides no stability guarantee";
    homepage = "https://github.com/mirage/repr";
    license = licenses.isc;
    maintainers = [ maintainers.sternenseemann ];
  };
}