1{
2 alcotest,
3 angstrom,
4 bigstringaf,
5 buildDunePackage,
6 crowbar,
7 fetchzip,
8 fmt,
9 hxd,
10 ke,
11 lib,
12 rresult,
13 uutf,
14}:
15
16buildDunePackage rec {
17 pname = "unstrctrd";
18 version = "0.4";
19
20 src = fetchzip {
21 url = "https://github.com/dinosaure/unstrctrd/releases/download/v${version}/unstrctrd-${version}.tbz";
22 hash = "sha256-CGcDqEr+VDTbDYkjxeYB6IFWiTkOTLJJl/Y2bHtv19g=";
23 };
24
25 propagatedBuildInputs = [
26 angstrom
27 uutf
28 ];
29
30 checkInputs = [
31 alcotest
32 bigstringaf
33 crowbar
34 fmt
35 hxd
36 ke
37 rresult
38 ];
39 doCheck = true;
40
41 meta = {
42 description = "Library for parsing email headers";
43 homepage = "https://github.com/dinosaure/unstrctrd";
44 license = lib.licenses.mit;
45 maintainers = [ ];
46 };
47}