818c48e259
GitOrigin-RevId: 14aef06d9b3ad1d07626bdbb16083b83f92dc6c1
27 lines
663 B
Nix
27 lines
663 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rslint";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rslint";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "12329x39zqmgl8zf228msdcdjfv3h11dmfha1kiwq71jvfga2v10";
|
|
};
|
|
|
|
cargoSha256 = "sha256-/pZ6jQ/IdLLFdFTvmbXZKCw9HhnTkSSh6q79Rpbtfz8=";
|
|
|
|
cargoBuildFlags = [
|
|
"-p" "rslint_cli"
|
|
"-p" "rslint_lsp"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A fast, customizable, and easy to use JavaScript and TypeScript linter";
|
|
homepage = "https://rslint.org";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
};
|
|
}
|