depot/third_party/nixpkgs/pkgs/development/ocaml-modules/json-data-encoding/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

32 lines
729 B
Nix

{ 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 ];
};
}