Merge pull request #131672 from sternenseemann/pecu-0.6

ocamlPackages.pecu: 0.5 -> 0.6
This commit is contained in:
Ben Siraphob 2021-07-27 21:45:55 +07:00 committed by GitHub
commit 52168faa5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,21 +1,21 @@
{ lib, buildDunePackage, ocaml, fetchurl, fmt, alcotest }: { lib, buildDunePackage, ocaml, fetchurl, fmt, alcotest, crowbar, astring }:
buildDunePackage rec { buildDunePackage rec {
pname = "pecu"; pname = "pecu";
version = "0.5"; version = "0.6";
useDune2 = true; useDune2 = true;
minimumOCamlVersion = "4.03"; minimumOCamlVersion = "4.03";
src = fetchurl { src = fetchurl {
url = "https://github.com/mirage/pecu/releases/download/v0.5/pecu-v0.5.tbz"; url = "https://github.com/mirage/pecu/releases/download/v${version}/pecu-v${version}.tbz";
sha256 = "713753cd6ba3f4609a26d94576484e83ffef7de5f2208a2993576a1b22f0e0e7"; sha256 = "a9d2b7da444c83b20f879f6c3b7fc911d08ac1e6245ad7105437504f9394e5c7";
}; };
# fmt availability # crowbar availability
doCheck = lib.versionAtLeast ocaml.version "4.05"; doCheck = lib.versionAtLeast ocaml.version "4.08";
checkInputs = [ fmt alcotest ]; checkInputs = [ fmt alcotest crowbar astring ];
meta = with lib; { meta = with lib; {
description = "Encoder/Decoder of Quoted-Printable (RFC2045 & RFC2047)"; description = "Encoder/Decoder of Quoted-Printable (RFC2045 & RFC2047)";