markdown-code-runner: 0-unstable-2025-04-18 -> 0.2.0

This commit is contained in:
Pol Dellaiera
2025-07-22 19:29:46 +02:00
parent 14e0b3d0ff
commit c93188c8e6
@@ -2,23 +2,28 @@
lib,
fetchFromGitHub,
rustPlatform,
versionCheckHook,
}:
rustPlatform.buildRustPackage {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "markdown-code-runner";
version = "0-unstable-2025-04-18";
version = "0.2.0";
src = fetchFromGitHub {
owner = "drupol";
repo = "markdown-code-runner";
rev = "9907df63574d714abcd78f9dfdf4bdda73ff30d6";
hash = "sha256-Bn+IsZzV07bm5TNRX3+OOuxi3kj7d73gYPzcdIxWMi8=";
tag = finalAttrs.version;
hash = "sha256-ZKjtOJ/HaOlLE3ozGRLbG20z1pmq6rIMr8jw4pOmy4Y=";
};
cargoHash = "sha256-HOJCnuzd6i4v1SpR4jstlpNkvSgH/4kvvE6Lsr4cgbI=";
cargoHash = "sha256-dwHggLxy82dhssDSerOGaB2/DQed/b8PpTLJOkX7z1Q=";
dontUseCargoParallelTests = true;
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
meta = {
description = "Configurable Markdown code runner that executes and optionally replaces code blocks using external commands";
longDescription = ''
@@ -35,4 +40,4 @@ rustPlatform.buildRustPackage {
maintainers = with lib.maintainers; [ drupol ];
platforms = lib.platforms.all;
};
}
})