nixpkgs/pkgs/by-name/pg/pgpdump/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
833 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub
, supportCompressedPackets ? true, zlib, bzip2
}:
stdenv.mkDerivation rec {
pname = "pgpdump";
2024-01-30 04:31:52 +00:00
version = "0.36";
src = fetchFromGitHub {
owner = "kazu-yamamoto";
repo = "pgpdump";
rev = "v${version}";
2024-01-30 04:31:52 +00:00
sha256 = "sha256-JKedgHCTDnvLyLR3nGl4XFAaxXDU1TgHrxPMlRFwtBo=";
};
2021-01-15 09:19:50 +00:00
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 ];
};
}