Author: ludo
Date: Tue Jul 13 16:32:14 2010
New Revision: 22580
URL: https://svn.nixos.org/websvn/nix/?rev=22580&sc=1
Log:
Add PIUS.
Added:
nixpkgs/trunk/pkgs/tools/security/pius/
nixpkgs/trunk/pkgs/tools/security/pius/default.nix
Modified:
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Added: nixpkgs/trunk/pkgs/tools/security/pius/default.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/tools/security/pius/default.nix Tue Jul 13 16:32:14
2010 (r22580)
@@ -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 ];
+ };
+}
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Tue Jul 13 14:45:44
2010 (r22579)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Tue Jul 13 16:32:14
2010 (r22580)
@@ -1448,6 +1448,10 @@
inherit (gnome) glib gtk;
};
+ pius = import ../tools/security/pius {
+ inherit fetchurl stdenv python gnupg;
+ };
+
pk2cmd = import ../tools/misc/pk2cmd {
inherit fetchurl stdenv libusb makeWrapper;
};
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits