norgolith: init at 0.3.1 (#483351)

This commit is contained in:
Sandro
2026-02-03 14:33:52 +00:00
committed by GitHub
2 changed files with 57 additions and 0 deletions
+6
View File
@@ -14540,6 +14540,12 @@
github = "juuyokka";
githubId = 15185244;
};
Ladas552 = {
email = "l.tokshalov@gmail.com";
github = "Ladas552";
githubId = 94762349;
name = "Ladas552";
};
lafrenierejm = {
email = "joseph@lafreniere.xyz";
github = "lafrenierejm";
+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";
};
})