summary refs log blame commit diff
path: root/pkgs/servers/web-apps/pgpkeyserver-lite/default.nix
blob: a53c726587f2322a0e727e37671c207bb0b3ec82 (plain) (tree)
1
                            
















                                                                    
                           

                                                                        

                                                         

    
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  name = "pgpkeyserver-lite-${version}";
  version = "2017-07-18";

  src = fetchFromGitHub {
    owner = "mattrude";
    repo = "pgpkeyserver-lite";
    rev = "a038cb7";
    sha256 = "12pn92pcpv38b2gmamppn9yzdn7x52pgxnzpal22gqsxwimhs2rx";
  };

  installPhase = ''
    mkdir -p $out
    cp -R 404.html assets favicon.ico index.html robots.txt $out
  '';

  meta = with stdenv.lib; {
    homepage = https://github.com/mattrude/pgpkeyserver-lite;
    description = "A lightweight static front-end for a sks keyserver.";
    license = licenses.gpl3;
    maintainers = with maintainers; [ calbrecht globin ];
  };
}