depot/third_party/nixpkgs/pkgs/servers/http/cgiserver/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

22 lines
660 B
Nix

{ lib, buildGoModule, fetchzip, zstd }:
buildGoModule rec {
pname = "cgiserver";
version = "1.0.0";
src = fetchzip {
url = "https://src.anomalous.eu/cgiserver/snapshot/cgiserver-${version}.tar.zst";
nativeBuildInputs = [ zstd ];
hash = "sha256-uIrOZbHzxAdUJF12MBOzRUA6mSPvOKJ/K9ZwwLVId5E=";
};
vendorHash = "sha256-mygMtVbNWwtIkxTGxMnuAMUU0mp49NZ50B9d436nWgI=";
meta = with lib; {
homepage = "https://src.anomalous.eu/cgiserver/about/";
description = "Lightweight web server for sandboxing CGI applications";
mainProgram = "cgiserver";
maintainers = with maintainers; [ qyliss ];
license = licenses.osl3;
};
}