nixpkgs/pkgs/development/ocaml-modules/repr/default.nix

30 lines
713 B
Nix
Raw Normal View History

2021-06-06 11:04:43 +00:00
{ lib, buildDunePackage, fetchurl, base64, either, fmt, jsonm, uutf }:
buildDunePackage rec {
pname = "repr";
2021-06-06 11:04:43 +00:00
version = "0.3.0";
src = fetchurl {
url = "https://github.com/mirage/${pname}/releases/download/${version}/${pname}-fuzz-${version}.tbz";
2021-06-06 11:04:43 +00:00
sha256 = "sha256-2b0v5RwutvyidzEDTEb5p33IvJ+3t2IW+KVxYD1ufXQ=";
};
2021-06-06 11:04:43 +00:00
minimumOCamlVersion = "4.08";
useDune2 = true;
propagatedBuildInputs = [
base64
either
2021-06-06 11:04:43 +00:00
fmt
jsonm
uutf
];
meta = with lib; {
description = "Dynamic type representations. Provides no stability guarantee";
homepage = "https://github.com/mirage/repr";
license = licenses.isc;
2021-06-06 11:04:43 +00:00
maintainers = with maintainers; [ sternenseemann ];
};
}