nixpkgs/pkgs/development/ocaml-modules/decoders-sexplib/default.nix
Infinidoge 9189f0318d ocamlPackages.decoders: init at 1.0.0
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)
2025-06-08 10:02:11 +00:00

38 lines
718 B
Nix

{
lib,
buildDunePackage,
decoders,
sexplib,
sexplib0,
containers,
ounit2,
}:
buildDunePackage rec {
pname = "decoders-sexplib";
# sub-package built separately from the same source
inherit (decoders) src version;
minimalOCamlVersion = "4.03.0";
propagatedBuildInputs = [
decoders
sexplib
sexplib0
];
doCheck = true;
checkInputs = [
containers
ounit2
];
meta = {
description = "sexplib 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 ];
};
}