depot/third_party/nixpkgs/pkgs/development/ocaml-modules/json-data-encoding/default.nix
Default email 3b21d1e521 Project import generated by Copybara.
GitOrigin-RevId: 23cd13167a1432550e48734079c2ffeeb441fb96
2021-07-15 00:03:04 +02:00

31 lines
674 B
Nix

{ lib, fetchFromGitLab, buildDunePackage, uri, crowbar }:
buildDunePackage rec {
pname = "json-data-encoding";
version = "0.8";
src = fetchFromGitLab {
owner = "nomadic-labs";
repo = "json-data-encoding";
rev = "v${version}";
sha256 = "1c6m2qvi9bm6qjxc38p6cia1f66r0rb9xf6b8svlj3jjymvqw889";
};
useDune2 = true;
propagatedBuildInputs = [
uri
];
checkInputs = [
crowbar
];
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 ];
};
}