mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
f4a0262be9
Diff: https://github.com/elijah-potter/harper/compare/v0.11.0...v0.12.0 Changelog: https://github.com/elijah-potter/harper/releases/tag/v0.12.0
29 lines
699 B
Nix
29 lines
699 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "harper";
|
|
version = "0.12.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elijah-potter";
|
|
repo = "harper";
|
|
rev = "v${version}";
|
|
hash = "sha256-2Frt0vpCGnF3pZREY+ynPkdCLf2zsde49cEsNrqFUtY=";
|
|
};
|
|
|
|
cargoHash = "sha256-S3N9cn8Y4j5epvndvivgKyhjQQ5mNg89iSOlOx1Jmo0=";
|
|
|
|
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";
|
|
};
|
|
}
|