Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 ocaml, 5 fetchurl, 6 fmt, 7 alcotest, 8 crowbar, 9 astring, 10}: 11 12buildDunePackage rec { 13 pname = "pecu"; 14 version = "0.7"; 15 16 minimalOCamlVersion = "4.03"; 17 18 src = fetchurl { 19 url = "https://github.com/mirage/pecu/releases/download/v${version}/pecu-${version}.tbz"; 20 hash = "sha256-rXR3tbFkKNM8MkQAZ2hJU9lO+qQ/qvYghXkYus6f13g="; 21 }; 22 23 # crowbar availability 24 doCheck = lib.versionAtLeast ocaml.version "4.08"; 25 checkInputs = [ 26 fmt 27 alcotest 28 crowbar 29 astring 30 ]; 31 32 meta = with lib; { 33 description = "Encoder/Decoder of Quoted-Printable (RFC2045 & RFC2047)"; 34 license = licenses.mit; 35 homepage = "https://github.com/mirage/pecu"; 36 maintainers = [ maintainers.sternenseemann ]; 37 }; 38}