2021-10-28 06:52:43 +00:00
|
|
|
{ alcotest
|
|
|
|
, angstrom
|
|
|
|
, bigstringaf
|
|
|
|
, buildDunePackage
|
|
|
|
, crowbar
|
|
|
|
, fetchzip
|
|
|
|
, fmt
|
|
|
|
, hxd
|
|
|
|
, ke
|
|
|
|
, lib
|
|
|
|
, rresult
|
|
|
|
, uutf
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "unstrctrd";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.4";
|
2021-10-28 06:52:43 +00:00
|
|
|
|
|
|
|
src = fetchzip {
|
2024-05-15 15:35:15 +00:00
|
|
|
url = "https://github.com/dinosaure/unstrctrd/releases/download/v${version}/unstrctrd-${version}.tbz";
|
|
|
|
hash = "sha256-CGcDqEr+VDTbDYkjxeYB6IFWiTkOTLJJl/Y2bHtv19g=";
|
2021-10-28 06:52:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
angstrom
|
|
|
|
uutf
|
|
|
|
];
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [
|
2021-10-28 06:52:43 +00:00
|
|
|
alcotest
|
|
|
|
bigstringaf
|
|
|
|
crowbar
|
|
|
|
fmt
|
|
|
|
hxd
|
|
|
|
ke
|
|
|
|
rresult
|
|
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Library for parsing email headers";
|
2021-10-28 06:52:43 +00:00
|
|
|
homepage = "https://github.com/dinosaure/unstrctrd";
|
|
|
|
license = lib.licenses.mit;
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
2021-10-28 06:52:43 +00:00
|
|
|
};
|
|
|
|
}
|