
Since all decoders-* packages are part of the base decoders package source, and the versions are all tied together, they are added as a single commit
37 lines
689 B
Nix
37 lines
689 B
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
decoders,
|
|
msgpck,
|
|
containers,
|
|
ounit2,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "decoders-msgpck";
|
|
|
|
# sub-package built separately from the same source
|
|
inherit (decoders) src version;
|
|
|
|
minimalOCamlVersion = "4.03.0";
|
|
|
|
propagatedBuildInputs = [
|
|
decoders
|
|
msgpck
|
|
];
|
|
|
|
doCheck = true;
|
|
checkInputs = [
|
|
containers
|
|
ounit2
|
|
];
|
|
|
|
meta = {
|
|
description = "Msgpck backend for decoders";
|
|
homepage = "https://github.com/mattjbray/ocaml-decoders";
|
|
changelog = "https://github.com/mattjbray/ocaml-decoders/blob/${version}/CHANGES.md";
|
|
license = lib.licenses.isc;
|
|
maintainers = with lib.maintainers; [ infinidoge ];
|
|
};
|
|
}
|