blob: 95eb75ee7ca34afd6fdb0cc253dc495bc8c80d81 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ lib, buildDunePackage, fetchurl, ocaml
, fmt, bigstringaf, angstrom, alcotest }:
buildDunePackage rec {
pname = "encore";
version = "0.7";
minimumOCamlVersion = "4.07";
src = fetchurl {
url = "https://github.com/mirage/encore/releases/download/v${version}/encore-v${version}.tbz";
sha256 = "0cwmhkj5jmk3z5y0agmkf5ygpgxynjkq2d7d50jgzmnqs7f6g7nh";
};
useDune2 = true;
propagatedBuildInputs = [ angstrom fmt bigstringaf ];
checkInputs = [ alcotest ];
doCheck = true;
meta = {
homepage = "https://github.com/mirage/encore";
description = "Library to generate encoder/decoder which ensure isomorphism";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}
|