Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / pecu / default.nix
blob746c75fccc1c04bf41a398fa8a2ca3b346b35b55
1 { lib, buildDunePackage, ocaml, fetchurl, fmt, alcotest, crowbar, astring }:
3 buildDunePackage rec {
4   pname = "pecu";
5   version = "0.6";
7   duneVersion = "3";
9   minimalOCamlVersion = "4.03";
11   src = fetchurl {
12     url = "https://github.com/mirage/pecu/releases/download/v${version}/pecu-v${version}.tbz";
13     sha256 = "a9d2b7da444c83b20f879f6c3b7fc911d08ac1e6245ad7105437504f9394e5c7";
14   };
16   # crowbar availability
17   doCheck = lib.versionAtLeast ocaml.version "4.08";
18   checkInputs = [ fmt alcotest crowbar astring ];
20   meta = with lib; {
21     description = "Encoder/Decoder of Quoted-Printable (RFC2045 & RFC2047)";
22     license = licenses.mit;
23     homepage = "https://github.com/mirage/pecu";
24     maintainers = [ maintainers.sternenseemann ];
25   };