17 src = fetchFromGitHub {
21 hash = "sha256-k2jeYeDLpSVw3puiOqlrtQ1a156OV1Er/TqdJuJ+578=";
24 npmDepsHash = "sha256-k6LdGCpVoBNpHe4z7NrS0T/gcB1EQBvBxGAM3zo+AAo=";
27 substituteInPlace package.json --replace '"version": "0.0.0"' '"version": "${version}"'
30 nativeBuildInputs = [ pkg-config python3 ];
32 buildInputs = [ libsecret ]
33 ++ lib.optionals stdenv.hostPlatform.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;