Merge pull request #140398 from figsoda/rslint

This commit is contained in:
Sandro 2021-10-03 22:42:47 +02:00 committed by GitHub
commit d576ed6981
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

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

View file

@ -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 {