2022-05-11 17:11:36 +00:00
|
|
|
{
|
|
|
|
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 ];
|
2023-09-21 14:23:40 +00:00
|
|
|
hash = "sha256-uIrOZbHzxAdUJF12MBOzRUA6mSPvOKJ/K9ZwwLVId5E=";
|
2022-05-11 17:11:36 +00:00
|
|
|
};
|
|
|
|
|
2023-09-21 14:23:40 +00:00
|
|
|
vendorHash = "sha256-mygMtVbNWwtIkxTGxMnuAMUU0mp49NZ50B9d436nWgI=";
|
2022-05-11 17:11:36 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://src.anomalous.eu/cgiserver/about/";
|
|
|
|
description = "Lightweight web server for sandboxing CGI applications";
|
2024-01-16 22:00:13 +00:00
|
|
|
mainProgram = "cgiserver";
|
2022-05-11 17:11:36 +00:00
|
|
|
maintainers = with maintainers; [ qyliss ];
|
|
|
|
license = licenses.osl3;
|
|
|
|
};
|
|
|
|
}
|