Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 vscode-utils, 5 autoPatchelfHook, 6 zlib, 7}: 8 9vscode-utils.buildVscodeMarketplaceExtension { 10 mktplcRef = { 11 name = "sourcery"; 12 publisher = "sourcery"; 13 version = "1.37.0"; 14 hash = "sha256-ovCxcr1m3GmRu45hr5DG781xkQdANbQYLvV2gFhG4eQ="; 15 }; 16 17 nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ]; 18 19 buildInputs = [ 20 (lib.getLib stdenv.cc.cc) 21 zlib 22 ]; 23 24 meta = { 25 changelog = "https://sourcery.ai/changelog/"; 26 description = "VSCode extension for Sourcery, an AI-powered code review and pair programming tool for Python"; 27 downloadPage = "https://marketplace.visualstudio.com/items?itemName=sourcery.sourcery"; 28 homepage = "https://github.com/sourcery-ai/sourcery-vscode"; 29 license = lib.licenses.unfree; 30 maintainers = with lib.maintainers; [ tomasajt ]; 31 platforms = [ 32 "x86_64-linux" 33 "x86_64-darwin" 34 ]; 35 }; 36}