nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation {
8 pname = "pgpkeyserver-lite";
9 version = "2017-07-18";
10
11 src = fetchFromGitHub {
12 owner = "mattrude";
13 repo = "pgpkeyserver-lite";
14 rev = "a038cb79b927c99bf7da62f20d2c6a2f20374339";
15 sha256 = "12pn92pcpv38b2gmamppn9yzdn7x52pgxnzpal22gqsxwimhs2rx";
16 };
17
18 installPhase = ''
19 mkdir -p $out
20 cp -R 404.html assets favicon.ico index.html robots.txt $out
21 '';
22
23 meta = {
24 homepage = "https://github.com/mattrude/pgpkeyserver-lite";
25 description = "Lightweight static front-end for a sks keyserver";
26 license = lib.licenses.gpl3;
27 maintainers = with lib.maintainers; [ calbrecht ];
28 };
29}