nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 alcotest,
3 angstrom,
4 buildDunePackage,
5 crowbar,
6 emile,
7 fetchurl,
8 fmt,
9 ipaddr,
10 lib,
11}:
12
13let
14 pname = "colombe";
15 version = "0.12.0";
16in
17buildDunePackage {
18 inherit pname version;
19 minimalOCamlVersion = "4.03";
20 src = fetchurl {
21 url = "https://github.com/mirage/colombe/releases/download/v${version}/colombe-${version}.tbz";
22 hash = "sha256-9g9l0wTzlXtESNeoBxhjMxlX0bRFY19T2+PN1lZ7ojE=";
23 };
24 propagatedBuildInputs = [
25 angstrom
26 emile
27 fmt
28 ipaddr
29 ];
30 doCheck = true;
31 checkInputs = [
32 alcotest
33 crowbar
34 ];
35 meta = {
36 description = "SMTP protocol according to RFC5321 without extensions";
37 homepage = "https://github.com/mirage/colombe";
38 license = lib.licenses.mit;
39 maintainers = [ lib.maintainers.vog ];
40 };
41}