Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
753 B
Nix
39 lines
753 B
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
ocaml,
|
|
fetchurl,
|
|
fmt,
|
|
alcotest,
|
|
crowbar,
|
|
astring,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "pecu";
|
|
version = "0.7";
|
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/pecu/releases/download/v${version}/pecu-${version}.tbz";
|
|
hash = "sha256-rXR3tbFkKNM8MkQAZ2hJU9lO+qQ/qvYghXkYus6f13g=";
|
|
};
|
|
|
|
# crowbar availability
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
|
checkInputs = [
|
|
fmt
|
|
alcotest
|
|
crowbar
|
|
astring
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Encoder/Decoder of Quoted-Printable (RFC2045 & RFC2047)";
|
|
license = licenses.mit;
|
|
homepage = "https://github.com/mirage/pecu";
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
};
|
|
}
|