summary refs log tree commit diff
path: root/pkgs/tools/security
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2016-10-05 15:34:38 +0200
committerMichael Weiss <dev.primeos@gmail.com>2016-10-06 03:17:01 +0200
commit8268f0a759597bfdf07f2cc48b265215040b5c5e (patch)
treed96a505edb35e77fefef1576d9f048acfa3877a4 /pkgs/tools/security
parent66d622fbd0f2561b841b629179ffb914eff8147f (diff)
downloadnixlib-8268f0a759597bfdf07f2cc48b265215040b5c5e.tar
nixlib-8268f0a759597bfdf07f2cc48b265215040b5c5e.tar.gz
nixlib-8268f0a759597bfdf07f2cc48b265215040b5c5e.tar.bz2
nixlib-8268f0a759597bfdf07f2cc48b265215040b5c5e.tar.lz
nixlib-8268f0a759597bfdf07f2cc48b265215040b5c5e.tar.xz
nixlib-8268f0a759597bfdf07f2cc48b265215040b5c5e.tar.zst
nixlib-8268f0a759597bfdf07f2cc48b265215040b5c5e.zip
pgpdump: init at v0.31
Add the package "pgpdump" at version v0.31 under the category
"tools/security", add it to the top-level package collection and set
myself as the maintainer (I added myself to lib/maintainers.nix).

I have tested this package under NixOS and Gentoo+Nix.
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r--pkgs/tools/security/pgpdump/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/security/pgpdump/default.nix b/pkgs/tools/security/pgpdump/default.nix
new file mode 100644
index 000000000000..1e33c18753a6
--- /dev/null
+++ b/pkgs/tools/security/pgpdump/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  name = "pgpdump-${version}";
+  version = "0.31";
+
+  src = fetchFromGitHub {
+    owner = "kazu-yamamoto";
+    repo = "pgpdump";
+    rev = "v${version}";
+    sha256 = "05ywdgxzq3976dsy95vgdx3nnhd9i9vypzyrkabpmnxphfnjfrb4";
+  };
+
+  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).
+    '';
+    homepage = "http://www.mew.org/~kazu/proj/pgpdump/en/";
+    license = licenses.bsd3;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ primeos ];
+  };
+}
+