All checks were successful
CI / Nix Flake Check (push) Successful in 48s
CI / Build Packages (default) (push) Successful in 48s
CI / Build Packages (example-a) (push) Successful in 45s
CI / Build Packages (example-b) (push) Successful in 45s
CI / Build Packages (pyzotero) (push) Successful in 53s
CI / Build Packages (pyzotero-cli) (push) Successful in 54s
33 lines
672 B
Nix
33 lines
672 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "harper-ls";
|
|
version = "2.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Automattic";
|
|
repo = "harper";
|
|
rev = "v${version}";
|
|
hash = "sha256-3NwQOs0G0b13dnCN0oif863/BJ2zAUFXsF9TpFeMDLA=";
|
|
};
|
|
|
|
cargoBuildFlags = [
|
|
"-p"
|
|
"harper-ls"
|
|
];
|
|
|
|
cargoHash = "sha256-+WUmNmFBuk9lQsUXYBEpTo49Ygul0BPRY0kcHCCC0GU=";
|
|
|
|
meta = {
|
|
description = "Language server for Harper, an offline grammar checker";
|
|
homepage = "https://github.com/Automattic/harper";
|
|
license = lib.licenses.asl20;
|
|
mainProgram = "harper-ls";
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|