september: init at 0.4.1

This commit is contained in:
Matt Moriarity
2026-07-09 17:41:57 -06:00
parent 248820e4a8
commit a9c78bf4da

View File

@@ -0,0 +1,45 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
zstd,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "september";
version = "0.4.1";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "gemrest";
repo = "september";
tag = "v${finalAttrs.version}";
hash = "sha256-45xxiz93UhCCJFr3s0+Sgl4LMrUvRbMums1ZNngA1AY=";
};
cargoHash = "sha256-rpMnRx4/LdsVjAteY2LFm2j94XjneZ5E6c+pgZXOOr8=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
zstd
];
env = {
ZSTD_SYS_USE_PKG_CONFIG = true;
};
passthru.updateScript = nix-update-script { };
meta = {
description = "Simple & Efficient Gemini-to-HTTP Proxy";
homepage = "https://github.com/gemrest/september";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ mjm ];
mainProgram = "september";
};
})