2017-11-04 21:21:28 +01:00
|
|
|
{ stdenv, fetchFromGitHub
|
|
|
|
, supportCompressedPackets ? true, zlib, bzip2
|
|
|
|
}:
|
2016-10-05 15:34:38 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pgpdump-${version}";
|
2017-05-31 16:42:51 +02:00
|
|
|
version = "0.32";
|
2016-10-05 15:34:38 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kazu-yamamoto";
|
|
|
|
repo = "pgpdump";
|
|
|
|
rev = "v${version}";
|
2017-05-31 16:42:51 +02:00
|
|
|
sha256 = "1ip7q5sgh3nwdqbrzpp6sllkls5kma98kns53yspw1830xi1n8xc";
|
2016-10-05 15:34:38 +02:00
|
|
|
};
|
|
|
|
|
2017-11-04 21:21:28 +01:00
|
|
|
buildInputs = stdenv.lib.optionals supportCompressedPackets [ zlib bzip2 ];
|
|
|
|
|
2016-10-05 15:34:38 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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).
|
|
|
|
'';
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://www.mew.org/~kazu/proj/pgpdump/en/;
|
2016-10-05 15:34:38 +02:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ primeos ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|