blob: 07616924d18a0b5842d5a7c2b68f9e236523fd04 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
stdenv,
vscode-utils,
autoPatchelfHook,
zlib,
}:
vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "sourcery";
publisher = "sourcery";
version = "1.19.0";
hash = "sha256-Wit2ozgaVwINL3PvPfmZWQ4WN7seQMWfXwXGgEKecn0=";
};
postPatch = ''
pushd sourcery_binaries/install
rm -r win ${if stdenv.isLinux then "mac" else "linux"}
popd
'';
nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ];
buildInputs = [
stdenv.cc.cc.lib
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"
];
};
}
|