nixpkgs/pkgs/development/ocaml-modules/json-data-encoding/default.nix
Ulrik Strid 2db064d028 ocamlPackages.tezos-*: 8.3 -> 10.2
ocamlPackages.lwt-canceler: 0.2 -> 0.3
ocamlPackages.json-data-encoding: 0.8 -> 0.10
ocamlPackages.data-encoding: 0.2.0 -> 0.4.0
ocamlPackages.ff-sig, ff-pbt: init at 0.6.1
ocamlPacakges.bls12-381: 0.3.15 -> 0.4.2

Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
2021-10-13 10:04:20 +02:00

33 lines
728 B
Nix

{ lib, fetchFromGitLab, buildDunePackage, uri, crowbar, alcotest }:
buildDunePackage rec {
pname = "json-data-encoding";
version = "0.10";
minimalOCamlVersion = "4.10";
src = fetchFromGitLab {
owner = "nomadic-labs";
repo = "json-data-encoding";
rev = "${version}";
sha256 = "0m0xx382wr44wz7gxf7mpfjx2w287pvqhg2lfvzmclfq3y5iy6mx";
};
useDune2 = true;
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 ];
};
}