From 8fe43ba05a842019c95d721a357515701dcace08 Mon Sep 17 00:00:00 2001 From: David Kleuker Date: Sat, 3 Oct 2015 01:38:15 +0200 Subject: gpgstats: init at 0.5 --- pkgs/tools/security/gpgstats/default.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/tools/security/gpgstats/default.nix (limited to 'pkgs/tools/security/gpgstats') 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; + }; +} + -- cgit v1.2.3