Files
nixpkgs/pkgs/by-name/pg/pgpkeyserver-lite/package.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

30 lines
683 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation {
pname = "pgpkeyserver-lite";
version = "2017-07-18";
src = fetchFromGitHub {
owner = "mattrude";
repo = "pgpkeyserver-lite";
rev = "a038cb79b927c99bf7da62f20d2c6a2f20374339";
sha256 = "12pn92pcpv38b2gmamppn9yzdn7x52pgxnzpal22gqsxwimhs2rx";
};
installPhase = ''
mkdir -p $out
cp -R 404.html assets favicon.ico index.html robots.txt $out
'';
meta = {
homepage = "https://github.com/mattrude/pgpkeyserver-lite";
description = "Lightweight static front-end for a sks keyserver";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ calbrecht ];
};
}