depot/third_party/nixpkgs/pkgs/development/ocaml-modules/unstrctrd/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

46 lines
765 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 = with lib.maintainers; [ ];
};
}