Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
841 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "harper";
version = "0.65.0";
src = fetchFromGitHub {
owner = "Automattic";
repo = "harper";
rev = "v${version}";
hash = "sha256-y2oYEJTZWZ7Rc7ZLjYUh3Cy9dtznGLhIXzJ6D0JUIGw=";
};
buildAndTestSubdir = "harper-ls";
cargoHash = "sha256-o6RFBCvPn3AH3mMI3guHziqOcYN99o8yk5b6VXWoepI=";
passthru.updateScript = nix-update-script { };
meta = {
description = "Grammar Checker for Developers";
homepage = "https://github.com/Automattic/harper";
changelog = "https://github.com/Automattic/harper/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
pbsds
sumnerevans
ddogfoodd
];
mainProgram = "harper-ls";
};
}