2022-10-11 06:50:54 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, base64, either, fmt, jsonm, uutf, optint }:
|
2021-01-12 18:49:44 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "repr";
|
2022-10-11 06:50:54 +00:00
|
|
|
version = "0.6.0";
|
2021-01-12 18:49:44 +00:00
|
|
|
|
2022-10-11 06:50:54 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mirage";
|
|
|
|
repo = "repr";
|
|
|
|
rev = version;
|
2023-02-27 12:14:03 +00:00
|
|
|
hash = "sha256-jF8KmaG07CT26O/1ANc6s1yHFJqhXDtd0jgTA04tIgw=";
|
2021-01-12 18:49:44 +00:00
|
|
|
};
|
|
|
|
|
2022-10-11 06:50:54 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2023-02-27 12:14:03 +00:00
|
|
|
duneVersion = "3";
|
2022-10-11 06:50:54 +00:00
|
|
|
strictDeps = true;
|
2021-01-12 18:49:44 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
base64
|
|
|
|
either
|
2021-06-06 11:04:43 +00:00
|
|
|
fmt
|
|
|
|
jsonm
|
|
|
|
uutf
|
2022-01-23 20:24:16 +00:00
|
|
|
optint
|
2021-01-12 18:49:44 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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 ];
|
2021-01-12 18:49:44 +00:00
|
|
|
};
|
|
|
|
}
|