2021-10-28 06:52:43 +00:00
|
|
|
{ alcotest
|
|
|
|
, base64
|
|
|
|
, bigarray-overlap
|
|
|
|
, bigstringaf
|
|
|
|
, buildDunePackage
|
2023-03-04 12:14:45 +00:00
|
|
|
, fetchurl
|
2021-10-28 06:52:43 +00:00
|
|
|
, fmt
|
|
|
|
, jsonm
|
|
|
|
, ke
|
|
|
|
, lib
|
|
|
|
, ptime
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "prettym";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "0.0.3";
|
2021-10-28 06:52:43 +00:00
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
src = fetchurl {
|
2021-10-28 06:52:43 +00:00
|
|
|
url = "https://github.com/dinosaure/prettym/releases/download/${version}/prettym-${version}.tbz";
|
2023-03-04 12:14:45 +00:00
|
|
|
hash = "sha256-kXDxoRref02YpYSlvlK7a5FBX5ccbnWJQzG0axi5jwk=";
|
2021-10-28 06:52:43 +00:00
|
|
|
};
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
duneVersion = "3";
|
|
|
|
minimalOCamlVersion = "4.08";
|
2021-10-28 06:52:43 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
bigarray-overlap
|
|
|
|
bigstringaf
|
|
|
|
fmt
|
|
|
|
ke
|
|
|
|
];
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [
|
2021-10-28 06:52:43 +00:00
|
|
|
ptime
|
|
|
|
alcotest
|
|
|
|
jsonm
|
|
|
|
base64
|
|
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A simple bounded encoder to serialize human readable values and respect the 80-column constraint";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
homepage = "https://github.com/dinosaure/prettym";
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
2021-10-28 06:52:43 +00:00
|
|
|
};
|
|
|
|
}
|