nixpkgs/pkgs/development/ocaml-modules/decoders/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

31 lines
731 B
Nix

{
lib,
buildDunePackage,
fetchurl,
containers,
}:
buildDunePackage rec {
pname = "decoders";
version = "1.0.0";
minimalOCamlVersion = "4.03.0";
src = fetchurl {
url = "https://github.com/mattjbray/ocaml-decoders/releases/download/v${version}/${pname}-${version}.tbz";
hash = "sha256-R/55xBAtD3EO/zzq7zExANnfPHlFg00884o5dCpXNZc=";
};
doCheck = true;
checkInputs = [
containers
];
meta = {
description = "Elm-inspired decoders for Ocaml";
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 ];
};
}