5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
46 lines
743 B
Nix
46 lines
743 B
Nix
{ alcotest
|
|
, angstrom
|
|
, bigstringaf
|
|
, buildDunePackage
|
|
, crowbar
|
|
, fetchzip
|
|
, fmt
|
|
, hxd
|
|
, ke
|
|
, lib
|
|
, rresult
|
|
, uutf
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "unstrctrd";
|
|
version = "0.4";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/dinosaure/unstrctrd/releases/download/v${version}/unstrctrd-${version}.tbz";
|
|
hash = "sha256-CGcDqEr+VDTbDYkjxeYB6IFWiTkOTLJJl/Y2bHtv19g=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
angstrom
|
|
uutf
|
|
];
|
|
|
|
checkInputs = [
|
|
alcotest
|
|
bigstringaf
|
|
crowbar
|
|
fmt
|
|
hxd
|
|
ke
|
|
rresult
|
|
];
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "Library for parsing email headers";
|
|
homepage = "https://github.com/dinosaure/unstrctrd";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|