17 src = fetchFromGitHub {
21 hash = "sha256-ILu09OerH5XNVN4el3R2GH2LtIzXiQ/ONU+W2pomHRg=";
24 npmDepsHash = "sha256-EtzcWeqPy4XVlheBXBpSwxrsHJ678lhTgnYqzIYZn4M=";
27 substituteInPlace package.json --replace '"version": "0.0.0"' '"version": "${version}"'
30 nativeBuildInputs = [ pkg-config python3 ];
32 buildInputs = [ libsecret ]
33 ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ AppKit Security ]);
35 makeCacheWritable = true;
36 npmFlags = [ "--legacy-peer-deps" ];
38 passthru.tests.version = testers.testVersion {
43 homepage = "https://github.com/microsoft/vscode-vsce";
44 description = "Visual Studio Code Extension Manager";
45 maintainers = with maintainers; [ aaronjheng ];
46 license = licenses.mit;