2024-08-18 18:42:49 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
rustPlatform,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "harper";
|
2024-10-13 23:03:49 +00:00
|
|
|
version = "0.12.0";
|
2024-08-18 18:42:49 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elijah-potter";
|
|
|
|
repo = "harper";
|
|
|
|
rev = "v${version}";
|
2024-10-13 23:03:49 +00:00
|
|
|
hash = "sha256-2Frt0vpCGnF3pZREY+ynPkdCLf2zsde49cEsNrqFUtY=";
|
2024-08-18 18:42:49 +00:00
|
|
|
};
|
|
|
|
|
2024-10-13 23:03:49 +00:00
|
|
|
cargoHash = "sha256-S3N9cn8Y4j5epvndvivgKyhjQQ5mNg89iSOlOx1Jmo0=";
|
2024-08-18 18:42:49 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Grammar Checker for Developers";
|
|
|
|
homepage = "https://github.com/elijah-potter/harper";
|
|
|
|
changelog = "https://github.com/elijah-potter/harper/releases/tag/v${version}";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ pbsds ];
|
|
|
|
mainProgram = "harper-cli";
|
|
|
|
};
|
|
|
|
}
|