Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
987 B
Nix
40 lines
987 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
versionCheckHook,
|
|
nix-update-script,
|
|
}:
|
|
let
|
|
pname = "mdsf";
|
|
version = "0.10.7";
|
|
in
|
|
rustPlatform.buildRustPackage {
|
|
inherit pname version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hougesen";
|
|
repo = "mdsf";
|
|
tag = "v${version}";
|
|
hash = "sha256-DAniTRqFf+NNHPmmMWjBQN3M/quGDdjFMBezKcqVPnM=";
|
|
};
|
|
|
|
cargoHash = "sha256-h2D6FwI8YoCSp7UYy+4+TFt1JLCWoE5RZKmFfndsSHM=";
|
|
|
|
# many tests fail for various reasons of which most depend on the build sandbox
|
|
doCheck = false;
|
|
|
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
|
doInstallCheck = true;
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Format markdown code blocks using your favorite tools";
|
|
homepage = "https://github.com/hougesen/mdsf";
|
|
changelog = "https://github.com/hougesen/mdsf/releases";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ luftmensch-luftmensch ];
|
|
mainProgram = "mdsf";
|
|
};
|
|
}
|