marmite: init at 0.2.3
Co-authored-by: Leah Amelia Chen <github@acc.pluie.me>
This commit is contained in:
parent
cf56aed31d
commit
dff0210660
43
pkgs/by-name/ma/marmite/package.nix
Normal file
43
pkgs/by-name/ma/marmite/package.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
oniguruma,
|
||||
stdenv,
|
||||
darwin,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "marmite";
|
||||
version = "0.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rochacbruno";
|
||||
repo = "marmite";
|
||||
tag = version;
|
||||
hash = "sha256-AblitYe7YDUc2Tg2P7j+wnOjMAhDtieDsbq6B6x+uMs=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-u8sJS9hvIao+af7IA4vE0eUSx0xmI1Kb5NXyZBrOCIw=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
oniguruma
|
||||
];
|
||||
|
||||
env = {
|
||||
RUSTONIG_SYSTEM_LIBONIG = true;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Static Site Generator for Blogs";
|
||||
homepage = "https://github.com/rochacbruno/marmite";
|
||||
license = lib.licenses.agpl3Plus;
|
||||
maintainers = with lib.maintainers; [ matthewcroughan ];
|
||||
mainProgram = "marmite";
|
||||
};
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user