norgolith: init at 0.3.1

This commit is contained in:
Ladas552
2026-01-25 16:24:03 +05:00
parent c87acf461a
commit 355aa1c28e
+51
View File
@@ -0,0 +1,51 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
libgit2,
openssl,
zlib,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "norgolith";
version = "0.3.1";
src = fetchFromGitHub {
owner = "NTBBloodbath";
repo = "norgolith";
tag = "v${finalAttrs.version}";
hash = "sha256-n9Obf2PoTQ8EyxF/i5YU9/AlN9IizWYW/sG89Z8qp1k=";
};
cargoHash = "sha256-1DOys3N42jlC/tc5D0Ixg+yXV/RRMIi4qcXzUwpl7XQ=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libgit2
openssl
zlib
];
useNextest = true;
env = {
LIBGIT2_NO_VENDOR = true;
OPENSSL_NO_VENDOR = true;
};
__darwinAllowLocalNetworking = true;
meta = {
description = "The monolithic Norg static site generator built with Rust";
homepage = "https://norgolith.amartin.beer";
changelog = "https://github.com/NTBBloodbath/norgolith/releases/tag/v${finalAttrs.version}";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ Ladas552 ];
mainProgram = "lith";
};
})