mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00

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
(cherry picked from commit 5416aaae9d
)
36 lines
689 B
Nix
36 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 ];
|
|
};
|
|
}
|