nixpkgs/pkgs/tools/security/pgpdump/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

31 lines
833 B
Nix

{ lib, stdenv, fetchFromGitHub
, supportCompressedPackets ? true, zlib, bzip2
}:
stdenv.mkDerivation rec {
pname = "pgpdump";
version = "0.36";
src = fetchFromGitHub {
owner = "kazu-yamamoto";
repo = "pgpdump";
rev = "v${version}";
sha256 = "sha256-JKedgHCTDnvLyLR3nGl4XFAaxXDU1TgHrxPMlRFwtBo=";
};
buildInputs = lib.optionals supportCompressedPackets [ zlib bzip2 ];
meta = with lib; {
description = "PGP packet visualizer";
mainProgram = "pgpdump";
longDescription = ''
pgpdump is a PGP packet visualizer which displays the packet format of
OpenPGP (RFC 4880) and PGP version 2 (RFC 1991).
'';
homepage = "http://www.mew.org/~kazu/proj/pgpdump/en/";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ primeos ];
};
}