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

30 lines
714 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";
version = "0.4.0";
src = fetchurl {
url = "https://github.com/mirage/${pname}/releases/download/${version}/${pname}-fuzz-${version}.tbz";
sha256 = "1kpwgncyxcrq90dn7ilja7c5i88whc3fz4fmq1lwr0ar95d7d48p";
};
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 ];
};
}