fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchurl, ncurses, gpgme }:
2
3stdenv.mkDerivation rec {
4 name = "gpgstats-${version}";
5 version = "0.5";
6
7 src = fetchurl {
8 url = "http://www.vanheusden.com/gpgstats/${name}.tgz";
9 sha256 = "1n3njqhjwgfllcxs0xmk89dzgirrpfpfzkj71kqyvq97gc1wbcxy";
10 };
11
12 buildInputs = [ ncurses gpgme ];
13
14 installPhase = ''
15 mkdir -p $out/bin
16 cp gpgstats $out/bin
17 '';
18
19 NIX_CFLAGS_COMPILE = stdenv.lib.optionals (!stdenv.is64bit)
20 [ "-D_FILE_OFFSET_BITS=64" "-DLARGEFILE_SOURCE=1" ];
21
22 meta = with stdenv.lib; {
23 description = "Calculates statistics on the keys in your gpg key-ring";
24 longDescription = ''
25 GPGstats calculates statistics on the keys in your key-ring.
26 '';
27 homepage = http://www.vanheusden.com/gpgstats/;
28 license = licenses.gpl2;
29 maintainers = with maintainers; [ davidak ];
30 platforms = platforms.unix;
31 };
32}
33