2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2020-04-24 23:36:52 +00:00
|
|
|
, supportCompressedPackets ? true, zlib, bzip2
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pgpdump";
|
|
|
|
version = "0.33";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kazu-yamamoto";
|
|
|
|
repo = "pgpdump";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0pi9qdbmcmi58gmljin51ylbi3zkknl8fm26jm67cpl55hvfsn23";
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
buildInputs = lib.optionals supportCompressedPackets [ zlib bzip2 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A PGP packet visualizer";
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|