Loading pkgs/by-name/ha/harper/package.nix +10 −4 Original line number Diff line number Diff line Loading @@ -3,16 +3,17 @@ rustPlatform, fetchFromGitHub, nix-update-script, versionCheckHook, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "harper"; version = "0.71.0"; src = fetchFromGitHub { owner = "Automattic"; repo = "harper"; rev = "v${version}"; rev = "v${finalAttrs.version}"; hash = "sha256-Hf086Ub0nVGET4qELDMddOErGAhK8B6ohbI5JhnU6z8="; }; Loading @@ -22,10 +23,15 @@ rustPlatform.buildRustPackage rec { passthru.updateScript = nix-update-script { }; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; meta = { description = "Grammar Checker for Developers"; homepage = "https://github.com/Automattic/harper"; changelog = "https://github.com/Automattic/harper/releases/tag/v${version}"; changelog = "https://github.com/Automattic/harper/releases/tag/v${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ pbsds Loading @@ -34,4 +40,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "harper-ls"; }; } }) Loading
pkgs/by-name/ha/harper/package.nix +10 −4 Original line number Diff line number Diff line Loading @@ -3,16 +3,17 @@ rustPlatform, fetchFromGitHub, nix-update-script, versionCheckHook, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "harper"; version = "0.71.0"; src = fetchFromGitHub { owner = "Automattic"; repo = "harper"; rev = "v${version}"; rev = "v${finalAttrs.version}"; hash = "sha256-Hf086Ub0nVGET4qELDMddOErGAhK8B6ohbI5JhnU6z8="; }; Loading @@ -22,10 +23,15 @@ rustPlatform.buildRustPackage rec { passthru.updateScript = nix-update-script { }; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; meta = { description = "Grammar Checker for Developers"; homepage = "https://github.com/Automattic/harper"; changelog = "https://github.com/Automattic/harper/releases/tag/v${version}"; changelog = "https://github.com/Automattic/harper/releases/tag/v${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ pbsds Loading @@ -34,4 +40,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "harper-ls"; }; } })