nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 angstrom,
6 ipaddr,
7 base64,
8 pecu,
9 uutf,
10 alcotest,
11 cmdliner,
12}:
13
14buildDunePackage rec {
15 pname = "emile";
16 version = "1.1";
17
18 minimalOCamlVersion = "4.08";
19 duneVersion = "3";
20
21 src = fetchurl {
22 url = "https://github.com/dinosaure/emile/releases/download/v${version}/emile-v${version}.tbz";
23 hash = "sha256:0r1141makr0b900aby1gn0fccjv1qcqgyxib3bzq8fxmjqwjan8p";
24 };
25
26 buildInputs = [ cmdliner ];
27
28 propagatedBuildInputs = [
29 angstrom
30 ipaddr
31 base64
32 pecu
33 uutf
34 ];
35
36 doCheck = true;
37 checkInputs = [ alcotest ];
38
39 meta = {
40 description = "Parser of email address according RFC822";
41 license = lib.licenses.mit;
42 homepage = "https://github.com/dinosaure/emile";
43 maintainers = [ lib.maintainers.sternenseemann ];
44 };
45}