1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/security/gpgstats/default.nix
2015-10-11 22:09:23 +02:00

31 lines
759 B
Nix

{ 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;
};
}