mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-09 16:18:34 +01:00
Changelog: https://github.com/Automattic/harper/releases/tag/v0.71.0 Diff: https://github.com/Automattic/harper/compare/v0.70.0...v0.71.0
38 lines
841 B
Nix
38 lines
841 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "harper";
|
|
version = "0.71.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Automattic";
|
|
repo = "harper";
|
|
rev = "v${version}";
|
|
hash = "sha256-Hf086Ub0nVGET4qELDMddOErGAhK8B6ohbI5JhnU6z8=";
|
|
};
|
|
|
|
buildAndTestSubdir = "harper-ls";
|
|
|
|
cargoHash = "sha256-hS8fLWD3OTfEAa+4saeB9pK3zS/EQSnoQSUGIkVWocw=";
|
|
|
|
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";
|
|
};
|
|
}
|