csv2svg: add nix-update-script

This commit is contained in:
Petr Portnov
2026-03-06 17:52:39 +03:00
parent b5af2d7264
commit 2bbeb69b13
+7
View File
@@ -2,6 +2,8 @@
lib,
rustPlatform,
fetchCrate,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -16,6 +18,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-RwpRxSD/oRAYD1udrHt3fy/SrrNUTVdGf+CdzQnJZ2U=";
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Take a csv as input and outputs svg";
homepage = "https://github.com/Canop/csv2svg";