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";
|
2023-10-13 06:07:48 +00:00
|
|
|
version = "0.7.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-10-13 06:07:48 +00:00
|
|
|
hash = "sha256-SM55m5NIaQ2UKAtznNFSt3LN4QA7As0DyTxVeQjOTjI=";
|
2021-01-12 18:49:44 +00:00
|
|
|
};
|
|
|
|
|
2022-10-11 06:50:54 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
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
|
|
|
};
|
|
|
|
}
|