Skip to content

Commit af3a11b

Browse files
committedNov 4, 2017
pgpdump: Add support for compressed data packets
This will add support for compressed data packets (Tag 8) [0] and enable it by default. [0]: https://tools.ietf.org/html/rfc4880#section-5.6
1 parent 86415c9 commit af3a11b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎pkgs/tools/security/pgpdump/default.nix

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
{ stdenv, fetchFromGitHub }:
1+
{ stdenv, fetchFromGitHub
2+
, supportCompressedPackets ? true, zlib, bzip2
3+
}:
24

35
stdenv.mkDerivation rec {
46
name = "pgpdump-${version}";
@@ -11,6 +13,8 @@ stdenv.mkDerivation rec {
1113
sha256 = "1ip7q5sgh3nwdqbrzpp6sllkls5kma98kns53yspw1830xi1n8xc";
1214
};
1315

16+
buildInputs = stdenv.lib.optionals supportCompressedPackets [ zlib bzip2 ];
17+
1418
meta = with stdenv.lib; {
1519
description = "A PGP packet visualizer";
1620
longDescription = ''

0 commit comments

Comments
 (0)
Please sign in to comment.