diff --git a/pkgs/tools/security/gpgstats/default.nix b/pkgs/tools/security/gpgstats/default.nix new file mode 100644 index 000000000000..7d7e848fc71a --- /dev/null +++ b/pkgs/tools/security/gpgstats/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchurl, ncurses, gpgme }: + +stdenv.mkDerivation rec { + name = "gpgstats-${version}"; + version = "0.5"; + + src = fetchurl { + url = "http://www.vanheusden.com/gpgstats/${name}.tgz"; + sha256 = "1n3njqhjwgfllcxs0xmk89dzgirrpfpfzkj71kqyvq97gc1wbcxy"; + }; + + buildInputs = [ ncurses gpgme ]; + + installPhase = '' + mkdir -p $out/bin + cp gpgstats $out/bin + ''; + + meta = with stdenv.lib; { + description = "Calculates statistics on the keys in your gpg key-ring"; + longDescription = '' + GPGstats calculates statistics on the keys in your key-ring. + ''; + homepage = http://www.vanheusden.com/gpgstats/; + license = licenses.gpl2; + maintainers = with maintainers; davidak; + platforms = with platforms; unix; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9d77849bbb77..ffaf63938d9f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6422,6 +6422,8 @@ let gnupg1 = gnupg1orig; }; + gpgstats = callPackage ../tools/security/gpgstats { }; + grantlee = callPackage ../development/libraries/grantlee { }; grantlee5 = callPackage ../development/libraries/grantlee/5.x-old.nix { };