2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2017-11-04 20:21:28 +00:00
|
|
|
, supportCompressedPackets ? true, zlib, bzip2
|
|
|
|
}:
|
2016-10-05 14:34:38 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "pgpdump";
|
2018-05-07 19:45:37 +01:00
|
|
|
version = "0.33";
|
2016-10-05 14:34:38 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kazu-yamamoto";
|
|
|
|
repo = "pgpdump";
|
|
|
|
rev = "v${version}";
|
2018-05-07 19:45:37 +01:00
|
|
|
sha256 = "0pi9qdbmcmi58gmljin51ylbi3zkknl8fm26jm67cpl55hvfsn23";
|
2016-10-05 14:34:38 +01:00
|
|
|
};
|
|
|
|
|
2021-01-15 09:19:50 +00:00
|
|
|
buildInputs = lib.optionals supportCompressedPackets [ zlib bzip2 ];
|
2017-11-04 20:21:28 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-10-05 14:34:38 +01: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).
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.mew.org/~kazu/proj/pgpdump/en/";
|
2016-10-05 14:34:38 +01:00
|
|
|
license = licenses.bsd3;
|
2018-11-15 21:56:19 +00:00
|
|
|
platforms = platforms.unix;
|
2016-10-05 14:34:38 +01:00
|
|
|
maintainers = with maintainers; [ primeos ];
|
|
|
|
};
|
|
|
|
}
|