blob: c517725c74e21ca523cf5b1f33e4de5ed823eee8 (
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
28
29
30
31
32
|
{ lib, fetchFromGitLab, buildDunePackage, uri, crowbar, alcotest }:
buildDunePackage rec {
pname = "json-data-encoding";
version = "0.12.1";
minimalOCamlVersion = "4.10";
duneVersion = "3";
src = fetchFromGitLab {
owner = "nomadic-labs";
repo = "json-data-encoding";
rev = version;
hash = "sha256-ticulOKiFNQIZNFOQE9UQOw/wqRfygQwLVIc4kkmwg4=";
};
propagatedBuildInputs = [
uri
];
checkInputs = [
crowbar
alcotest
];
doCheck = true;
meta = {
homepage = "https://gitlab.com/nomadic-labs/json-data-encoding";
description = "Type-safe encoding to and decoding from JSON";
license = lib.licenses.lgpl3;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}
|