a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
31 lines
714 B
Nix
31 lines
714 B
Nix
{ lib, fetchFromGitLab, buildDunePackage, uri, crowbar, alcotest }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "json-data-encoding";
|
|
version = "0.11";
|
|
minimalOCamlVersion = "4.10";
|
|
src = fetchFromGitLab {
|
|
owner = "nomadic-labs";
|
|
repo = "json-data-encoding";
|
|
rev = "${version}";
|
|
sha256 = "sha256-4FNUU82sq3ylgw0lxHlwi1OV58NRRh9zJqE47YyQZSc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
uri
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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 ];
|
|
};
|
|
}
|