mdbook-svgbob: init at 0.2.1

This commit is contained in:
Simon Bruder 2024-04-12 17:01:46 +02:00
parent 32ef4fd545
commit 2bcb2b6c7b
Signed by: simon
GPG key ID: 347FF8699CDA0776
3 changed files with 26 additions and 0 deletions

View file

@ -37,6 +37,8 @@ rec {
liquidsfz = callPackage ./liquidsfz { };
mdbook-svgbob = callPackage ./mdbook-svgbob { };
mpvScripts = prev.mpvScripts // {
pitchcontrol = callPackage ./mpv-scripts/pitchcontrol { };
};

View file

@ -61,6 +61,7 @@
linuxmotehook2
listenbrainz-content-resolver
liquidsfz
mdbook-svgbob
netstick
nsz
playgsf

23
mdbook-svgbob/default.nix Normal file
View file

@ -0,0 +1,23 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "mdbook-svgbob";
version = "0.2.1";
src = fetchFromGitHub {
owner = "boozook";
repo = pname;
rev = "v${version}";
hash = "sha256-5wfFT/7yc+55fcEi/KvmN1aR+hhUQi+0WdZukeD3xG4=";
};
cargoHash = "sha256-jMSwqE4XAz0fG4sG3Cgtj9OhlqwL0N9aGgpRaEtC09Q=";
meta = {
description = "SvgBob mdbook preprocessor which swaps code-blocks with SVG";
homepage = "https://github.com/boozook/mdbook-svgbob";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ sbruder ];
platforms = lib.platforms.linux;
};
}