Unverified Commit 47515823 authored by Jonathan Davies's avatar Jonathan Davies
Browse files

harper: Add versionCheckHook

parent d1db0089
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  rustPlatform,
  fetchFromGitHub,
  nix-update-script,
  versionCheckHook,
}:

rustPlatform.buildRustPackage rec {
@@ -22,6 +23,11 @@ rustPlatform.buildRustPackage rec {

  passthru.updateScript = nix-update-script { };

  nativeInstallCheckInputs = [
    versionCheckHook
  ];
  doInstallCheck = true;

  meta = {
    description = "Grammar Checker for Developers";
    homepage = "https://github.com/Automattic/harper";