c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
53 lines
911 B
Nix
53 lines
911 B
Nix
{ lib
|
|
, fetchFromGitLab
|
|
, buildDunePackage
|
|
, ppx_hash
|
|
, either
|
|
, ezjsonm
|
|
, zarith
|
|
, zarith_stubs_js
|
|
, hex
|
|
, json-data-encoding
|
|
, json-data-encoding-bson
|
|
, alcotest
|
|
, crowbar
|
|
, ppx_expect
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "data-encoding";
|
|
version = "0.5.3";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "nomadic-labs";
|
|
repo = "data-encoding";
|
|
rev = "v0.5.3";
|
|
sha256 = "sha256-HMNpjh5x7vU/kXQNRjJtOvShEENoNuxjNNPBJfm+Rhg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
either
|
|
ezjsonm
|
|
ppx_hash
|
|
zarith
|
|
zarith_stubs_js
|
|
hex
|
|
json-data-encoding
|
|
json-data-encoding-bson
|
|
];
|
|
|
|
checkInputs = [
|
|
alcotest
|
|
crowbar
|
|
ppx_expect
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|