Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 26 lines 756 B view raw
1{ lib, buildDunePackage, ocaml, fetchurl, fmt, alcotest, crowbar, astring }: 2 3buildDunePackage rec { 4 pname = "pecu"; 5 version = "0.6"; 6 7 duneVersion = "3"; 8 9 minimalOCamlVersion = "4.03"; 10 11 src = fetchurl { 12 url = "https://github.com/mirage/pecu/releases/download/v${version}/pecu-v${version}.tbz"; 13 sha256 = "a9d2b7da444c83b20f879f6c3b7fc911d08ac1e6245ad7105437504f9394e5c7"; 14 }; 15 16 # crowbar availability 17 doCheck = lib.versionAtLeast ocaml.version "4.08"; 18 checkInputs = [ fmt alcotest crowbar astring ]; 19 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 }; 26}