mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
32 lines
775 B
Nix
32 lines
775 B
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
fetchurl,
|
|
containers,
|
|
}:
|
|
|
|
buildDunePackage (finalAttrs: {
|
|
pname = "decoders";
|
|
version = "1.0.0";
|
|
|
|
minimalOCamlVersion = "4.03.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mattjbray/ocaml-decoders/releases/download/v${finalAttrs.version}/decoders-${finalAttrs.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/v${finalAttrs.version}/CHANGES.md";
|
|
license = lib.licenses.isc;
|
|
maintainers = with lib.maintainers; [ infinidoge ];
|
|
};
|
|
})
|