Files
nixpkgs/pkgs/by-name/ca/caeml/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

33 lines
960 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule {
pname = "caeml";
version = "0-unstable-2023-05-24";
src = fetchFromGitHub {
owner = "ferdinandyb";
repo = "caeml";
rev = "25dbe10e99aac9b0ce3b80787c162628104f5cd2";
sha256 = "UIQCNkUyrtMF0IiAfkDvE8siqxNvfFc9TZdlZiTxCVc=";
};
vendorHash = "sha256-SDJsRLIGlLv/6NUctCrn6z1IDEmum1Wn5I8RFuwcOe8=";
meta = with lib; {
description = "cat eml files";
mainProgram = "caeml";
longDescription = ''
Reads an email file from either STDIN or from a file passed as the first
argument, digests it and outputs it to STDOUT in a more human readable
format. This means only From, To, Cc, Bcc, Date and Subject headers are
kept and these are decoded and of all the parts only text/plain is returned.
'';
homepage = "https://github.com/ferdinandyb/caeml";
license = licenses.mit;
maintainers = with maintainers; [ emilytrau ];
};
}