mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 22:03:13 +00:00
22 lines
442 B
Nix
22 lines
442 B
Nix
{ lib, buildDunePackage, json-data-encoding, ocplib-endian, crowbar, alcotest }:
|
|
|
|
buildDunePackage {
|
|
pname = "json-data-encoding-bson";
|
|
|
|
inherit (json-data-encoding) version src doCheck;
|
|
|
|
propagatedBuildInputs = [
|
|
json-data-encoding
|
|
ocplib-endian
|
|
];
|
|
|
|
checkInputs = [
|
|
crowbar
|
|
alcotest
|
|
];
|
|
|
|
meta = json-data-encoding.meta // {
|
|
description = "Type-safe encoding to and decoding from JSON (bson support)";
|
|
};
|
|
}
|