forked from mirrors/nixpkgs
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
27 lines
760 B
Nix
27 lines
760 B
Nix
{ lib, buildDunePackage, ocaml, fetchurl, fmt, alcotest, crowbar, astring }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "pecu";
|
|
version = "0.6";
|
|
|
|
useDune2 = true;
|
|
|
|
minimumOCamlVersion = "4.03";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/pecu/releases/download/v${version}/pecu-v${version}.tbz";
|
|
sha256 = "a9d2b7da444c83b20f879f6c3b7fc911d08ac1e6245ad7105437504f9394e5c7";
|
|
};
|
|
|
|
# crowbar availability
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
|
nativeCheckInputs = [ 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 ];
|
|
};
|
|
}
|