Unverified Commit 2bbeb69b authored by Petr Portnov's avatar Petr Portnov
Browse files

csv2svg: add nix-update-script

parent b5af2d72
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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";