nixpkgs/pkgs/development/ocaml-modules/unstrctrd/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

47 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; [ ];
};
}