vscode-extensions.ms-python.mypy-type-checker: init at 2025.1.10381011
This commit is contained in:
@@ -3507,6 +3507,8 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
ms-python.mypy-type-checker = callPackage ./ms-python.mypy-type-checker { };
|
||||
|
||||
ms-python.python = callPackage ./ms-python.python { };
|
||||
|
||||
ms-python.debugpy = buildVscodeMarketplaceExtension {
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
vscode-utils,
|
||||
mypy,
|
||||
jq,
|
||||
moreutils,
|
||||
}:
|
||||
|
||||
vscode-utils.buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "mypy-type-checker";
|
||||
publisher = "ms-python";
|
||||
version = "2025.1.10381011";
|
||||
hash = "sha256-boKUxLOAgQJP13zX/NMhg1MtcrPVQJt5gLbxI7gVSu4=";
|
||||
};
|
||||
|
||||
buildInputs = [ mypy ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
jq
|
||||
moreutils
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
jq '.contributes.configuration.properties."mypy-type-checker.path".default = "${lib.getExe mypy}"' $out/$installPrefix/package.json | sponge $out/$installPrefix/package.json
|
||||
'';
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/microsoft/vscode-mypy/releases";
|
||||
description = "VSCode extension for type checking support for Python files using Mypy";
|
||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-python.mypy-type-checker";
|
||||
homepage = "https://github.com/microsoft/vscode-mypy";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user