37 lines
924 B
Nix

{
lib,
stdenv,
vscode-utils,
autoPatchelfHook,
zlib,
}:
vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "sourcery";
publisher = "sourcery";
version = "1.37.0";
hash = "sha256-ovCxcr1m3GmRu45hr5DG781xkQdANbQYLvV2gFhG4eQ=";
};
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
buildInputs = [
(lib.getLib stdenv.cc.cc)
zlib
];
meta = {
changelog = "https://sourcery.ai/changelog/";
description = "VSCode extension for Sourcery, an AI-powered code review and pair programming tool for Python";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=sourcery.sourcery";
homepage = "https://github.com/sourcery-ai/sourcery-vscode";
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ tomasajt ];
platforms = [
"x86_64-linux"
"x86_64-darwin"
];
};
}