mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
2db064d028
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>
33 lines
728 B
Nix
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 ];
|
|
};
|
|
}
|