Files
my-pkgs/pkgs/harper-ls/default.nix
Luis Eduardo Bueso de Barrio 86e4ca0710
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
harper-ls
2026-04-14 10:35:14 +02:00

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;
};
}