mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
vscode-extensions.charliermarsh.ruff: 2024.4.0 -> 2024.34.0
This commit is contained in:
parent
f38f925793
commit
a174092571
2 changed files with 45 additions and 37 deletions
|
@ -0,0 +1,44 @@
|
||||||
|
{
|
||||||
|
stdenvNoCC,
|
||||||
|
lib,
|
||||||
|
vscode-utils,
|
||||||
|
}:
|
||||||
|
|
||||||
|
vscode-utils.buildVscodeMarketplaceExtension {
|
||||||
|
mktplcRef =
|
||||||
|
let
|
||||||
|
sources = {
|
||||||
|
"x86_64-linux" = {
|
||||||
|
arch = "linux-x64";
|
||||||
|
hash = "sha256-KiCTJbLDut0Az7BmcYPQbFweT94RWnsE+JYvqVZ2P7s=";
|
||||||
|
};
|
||||||
|
"x86_64-darwin" = {
|
||||||
|
arch = "darwin-x64";
|
||||||
|
hash = "sha256-Szy+bE/42cNzcEa2yKCyvxr5OBqH2dPVgJnCS57z3nY=";
|
||||||
|
};
|
||||||
|
"aarch64-linux" = {
|
||||||
|
arch = "linux-arm64";
|
||||||
|
hash = "sha256-Bw1gdrb40baSXdrIgM0tlCLa18aGpRv1q7YN5wJRjNs=";
|
||||||
|
};
|
||||||
|
"aarch64-darwin" = {
|
||||||
|
arch = "darwin-arm64";
|
||||||
|
hash = "sha256-xcHL/2dliPD69mNEsbEpbtn5QLV1P3gqu9ftDOn58qM=";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
name = "ruff";
|
||||||
|
publisher = "charliermarsh";
|
||||||
|
version = "2024.34.0";
|
||||||
|
}
|
||||||
|
// sources.${stdenvNoCC.system} or (throw "Unsupported system ${stdenvNoCC.system}");
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
changelog = "https://marketplace.visualstudio.com/items/charliermarsh.ruff/changelog";
|
||||||
|
description = "Visual Studio Code extension with support for the Ruff linter";
|
||||||
|
downloadPage = "https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff";
|
||||||
|
homepage = "https://github.com/astral-sh/ruff-vscode";
|
||||||
|
maintainers = [ lib.maintainers.azd325 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -887,43 +887,7 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
charliermarsh.ruff = buildVscodeMarketplaceExtension {
|
charliermarsh.ruff = callPackage ./charliermarsh.ruff { };
|
||||||
mktplcRef =
|
|
||||||
let
|
|
||||||
sources = {
|
|
||||||
"x86_64-linux" = {
|
|
||||||
arch = "linux-x64";
|
|
||||||
hash = "sha256-2c0tH/MlDOqeyffcV8ZCy4woogBTcf1GCuPPO8JXaWc=";
|
|
||||||
};
|
|
||||||
"x86_64-darwin" = {
|
|
||||||
arch = "darwin-x64";
|
|
||||||
hash = "sha256-euvGIlO7931N56R5BWKu3F9nSEoDgf+DXk7Hgl1qSUw=";
|
|
||||||
};
|
|
||||||
"aarch64-linux" = {
|
|
||||||
arch = "linux-arm64";
|
|
||||||
hash = "sha256-dGpIHChnfrQbxRZDuoAi4imgStyyPdxdvTQ3lknMYu0=";
|
|
||||||
};
|
|
||||||
"aarch64-darwin" = {
|
|
||||||
arch = "darwin-arm64";
|
|
||||||
hash = "sha256-tElX4C0I5AmpxSHMtqOsxSAUImD1tqArB5fnvhw4LFc=";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
name = "ruff";
|
|
||||||
publisher = "charliermarsh";
|
|
||||||
version = "2024.4.0";
|
|
||||||
}
|
|
||||||
// sources.${stdenv.system} or (throw "Unsupported system ${stdenv.system}");
|
|
||||||
meta = {
|
|
||||||
license = lib.licenses.mit;
|
|
||||||
changelog = "https://marketplace.visualstudio.com/items/charliermarsh.ruff/changelog";
|
|
||||||
description = "Visual Studio Code extension with support for the Ruff linter";
|
|
||||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff";
|
|
||||||
homepage = "https://github.com/astral-sh/ruff-vscode";
|
|
||||||
maintainers = [ lib.maintainers.azd325 ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
cameron.vscode-pytest = buildVscodeMarketplaceExtension {
|
cameron.vscode-pytest = buildVscodeMarketplaceExtension {
|
||||||
mktplcRef = {
|
mktplcRef = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue