2021-10-14 00:43:12 +00:00
|
|
|
{ lib, fetchFromGitLab, buildDunePackage, uri, crowbar, alcotest }:
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "json-data-encoding";
|
2023-04-12 12:48:02 +00:00
|
|
|
version = "0.12.1";
|
2021-10-14 00:43:12 +00:00
|
|
|
minimalOCamlVersion = "4.10";
|
2023-04-12 12:48:02 +00:00
|
|
|
duneVersion = "3";
|
2021-07-14 22:03:04 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "nomadic-labs";
|
|
|
|
repo = "json-data-encoding";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = version;
|
2023-04-12 12:48:02 +00:00
|
|
|
hash = "sha256-ticulOKiFNQIZNFOQE9UQOw/wqRfygQwLVIc4kkmwg4=";
|
2021-07-14 22:03:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
uri
|
|
|
|
];
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [
|
2021-07-14 22:03:04 +00:00
|
|
|
crowbar
|
2021-10-14 00:43:12 +00:00
|
|
|
alcotest
|
2021-07-14 22:03:04 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|