summary refs log tree commit diff
path: root/pkgs/tools/security/pius
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-07-13 16:32:14 +0000
committerLudovic Courtès <ludo@gnu.org>2010-07-13 16:32:14 +0000
commit2113d829477f1c2e8a55e6435bcfa4806778e9f9 (patch)
tree20be038c14dbb92c6ace537b24d148f410fe0389 /pkgs/tools/security/pius
parenta07f75cefa2a4b37b8231565dc9cc11d16336007 (diff)
downloadnixpkgs-2113d829477f1c2e8a55e6435bcfa4806778e9f9.tar
nixpkgs-2113d829477f1c2e8a55e6435bcfa4806778e9f9.tar.gz
nixpkgs-2113d829477f1c2e8a55e6435bcfa4806778e9f9.tar.bz2
nixpkgs-2113d829477f1c2e8a55e6435bcfa4806778e9f9.tar.lz
nixpkgs-2113d829477f1c2e8a55e6435bcfa4806778e9f9.tar.xz
nixpkgs-2113d829477f1c2e8a55e6435bcfa4806778e9f9.tar.zst
nixpkgs-2113d829477f1c2e8a55e6435bcfa4806778e9f9.zip
Add PIUS.
svn path=/nixpkgs/trunk/; revision=22580
Diffstat (limited to 'pkgs/tools/security/pius')
-rw-r--r--pkgs/tools/security/pius/default.nix46
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/tools/security/pius/default.nix b/pkgs/tools/security/pius/default.nix
new file mode 100644
index 00000000000..5939037abfe
--- /dev/null
+++ b/pkgs/tools/security/pius/default.nix
@@ -0,0 +1,46 @@
+{ fetchurl, stdenv, python, gnupg }:
+
+let version = "2.0.7"; in
+stdenv.mkDerivation {
+  name = "pius-${version}";
+  namePrefix = "";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/pgpius/pius/${version}/pius-${version}.tar.bz2";
+    sha256 = "1iyd3z96vp2g7r6s1v34x3vpxikkcy60f15d84r0qla373zl4xd8";
+  };
+
+  buildInputs = [ python ];
+
+  patchPhase =
+    '' sed -i "pius" -e's|/usr/bin/gpg|${gnupg}/bin/gpg2|g'
+    '';
+
+  buildPhase = "true";
+
+  installPhase =
+    '' ensureDir "$out/bin"
+       cp -v pius "$out/bin"
+
+       ensureDir "$out/doc/pius-${version}"
+       cp -v README "$out/doc/pius-${version}"
+    '';
+
+  meta = {
+    homepage = http://www.phildev.net/pius/;
+
+    description = "PGP Individual UID Signer (PIUS), quickly and easily sign UIDs on a set of PGP keys";
+
+    longDescription =
+      '' This software will allow you to quickly and easily sign each UID on
+         a set of PGP keys.  It is designed to take the pain out of the
+         sign-all-the-keys part of PGP Keysigning Party while adding security
+         to the process.
+      '';
+
+    license = "GPLv2";
+
+    platforms = stdenv.lib.platforms.gnu;
+    maintainers = [ stdenv.lib.maintainers.ludo ];
+  };
+}