mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00: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>
47 lines
819 B
Nix
47 lines
819 B
Nix
{ lib
|
|
, fetchFromGitLab
|
|
, buildDunePackage
|
|
, ezjsonm
|
|
, zarith
|
|
, hex
|
|
, json-data-encoding
|
|
, json-data-encoding-bson
|
|
, alcotest
|
|
, crowbar
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "data-encoding";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "nomadic-labs";
|
|
repo = "data-encoding";
|
|
rev = "v0.4";
|
|
sha256 = "1f88l9azpfk730hps5v6zlg4yyyyhj1gl27qy3cbbkzjc82d2rhx";
|
|
};
|
|
useDune2 = true;
|
|
|
|
propagatedBuildInputs = [
|
|
ezjsonm
|
|
zarith
|
|
hex
|
|
json-data-encoding
|
|
json-data-encoding-bson
|
|
];
|
|
|
|
checkInputs = [
|
|
alcotest
|
|
crowbar
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://gitlab.com/nomadic-labs/data-encoding";
|
|
description = "Library of JSON and binary encoding combinators";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.ulrikstrid ];
|
|
};
|
|
}
|