Merge pull request #140398 from figsoda/rslint
This commit is contained in:
commit
d576ed6981
2 changed files with 29 additions and 0 deletions
27
pkgs/development/tools/rslint/default.nix
Normal file
27
pkgs/development/tools/rslint/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -8871,6 +8871,8 @@ with pkgs;
|
|||
|
||||
rsibreak = libsForQt5.callPackage ../applications/misc/rsibreak { };
|
||||
|
||||
rslint = callPackage ../development/tools/rslint { };
|
||||
|
||||
rss-bridge-cli = callPackage ../applications/misc/rss-bridge-cli { };
|
||||
|
||||
rss2email = callPackage ../applications/networking/feedreaders/rss2email {
|
||||
|
|
Loading…
Reference in a new issue