Files
nixpkgs/pkgs/development/ocaml-modules/colombe/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
783 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
alcotest,
angstrom,
buildDunePackage,
crowbar,
emile,
fetchurl,
fmt,
ipaddr,
lib,
}:
let
pname = "colombe";
version = "0.12.0";
in
buildDunePackage {
inherit pname version;
minimalOCamlVersion = "4.03";
src = fetchurl {
url = "https://github.com/mirage/colombe/releases/download/v${version}/colombe-${version}.tbz";
hash = "sha256-9g9l0wTzlXtESNeoBxhjMxlX0bRFY19T2+PN1lZ7ojE=";
};
propagatedBuildInputs = [
angstrom
emile
fmt
ipaddr
];
doCheck = true;
checkInputs = [
alcotest
crowbar
];
meta = {
description = "SMTP protocol according to RFC5321 without extensions";
homepage = "https://github.com/mirage/colombe";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vog ];
};
}