2021-09-21 09:47:59 +01:00
|
|
|
{ lib, fetchFromGitLab, buildDunePackage, uri, crowbar, alcotest }:
|
2021-07-12 10:29:43 +01:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "json-data-encoding";
|
2022-03-24 14:11:16 +00:00
|
|
|
version = "0.11";
|
2021-09-21 09:47:59 +01:00
|
|
|
minimalOCamlVersion = "4.10";
|
2021-07-12 10:29:43 +01:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "nomadic-labs";
|
|
|
|
repo = "json-data-encoding";
|
2021-09-21 09:47:59 +01:00
|
|
|
rev = "${version}";
|
2022-03-24 14:11:16 +00:00
|
|
|
sha256 = "sha256-4FNUU82sq3ylgw0lxHlwi1OV58NRRh9zJqE47YyQZSc=";
|
2021-07-12 10:29:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
uri
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
crowbar
|
2021-09-21 09:47:59 +01:00
|
|
|
alcotest
|
2021-07-12 10:29:43 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|