mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 13:39:15 +03:00
vscode-extensions.betterthantomorrow.calva: move to a directory
This commit is contained in:
parent
9545974783
commit
b6eec2f5ce
2 changed files with 29 additions and 18 deletions
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
clojure-lsp,
|
||||||
|
jq,
|
||||||
|
lib,
|
||||||
|
moreutils,
|
||||||
|
vscode-utils,
|
||||||
|
}:
|
||||||
|
|
||||||
|
vscode-utils.buildVscodeMarketplaceExtension {
|
||||||
|
mktplcRef = {
|
||||||
|
name = "calva";
|
||||||
|
publisher = "betterthantomorrow";
|
||||||
|
version = "2.0.374";
|
||||||
|
hash = "sha256-VwdHOkduSSIrcOvrcVf7K8DSp3N1u9fvbaCVDCxp+bk=";
|
||||||
|
};
|
||||||
|
nativeBuildInputs = [
|
||||||
|
jq
|
||||||
|
moreutils
|
||||||
|
];
|
||||||
|
postInstall = ''
|
||||||
|
cd "$out/$installPrefix"
|
||||||
|
jq '.contributes.configuration[0].properties."calva.clojureLspPath".default = "${clojure-lsp}/bin/clojure-lsp"' package.json | sponge package.json
|
||||||
|
'';
|
||||||
|
meta = {
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
|
@ -16,7 +16,6 @@
|
||||||
, shellcheck
|
, shellcheck
|
||||||
, moreutils
|
, moreutils
|
||||||
, racket
|
, racket
|
||||||
, clojure-lsp
|
|
||||||
, alejandra
|
, alejandra
|
||||||
, millet
|
, millet
|
||||||
, craftos-pc
|
, craftos-pc
|
||||||
|
@ -587,24 +586,9 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
betterthantomorrow.calva = buildVscodeMarketplaceExtension {
|
betterthantomorrow.calva = callPackage ./betterthantomorrow.calva { };
|
||||||
mktplcRef = {
|
|
||||||
name = "calva";
|
|
||||||
publisher = "betterthantomorrow";
|
|
||||||
version = "2.0.374";
|
|
||||||
hash = "sha256-VwdHOkduSSIrcOvrcVf7K8DSp3N1u9fvbaCVDCxp+bk=";
|
|
||||||
};
|
|
||||||
nativeBuildInputs = [ jq moreutils ];
|
|
||||||
postInstall = ''
|
|
||||||
cd "$out/$installPrefix"
|
|
||||||
jq '.contributes.configuration[0].properties."calva.clojureLspPath".default = "${clojure-lsp}/bin/clojure-lsp"' package.json | sponge package.json
|
|
||||||
'';
|
|
||||||
meta = {
|
|
||||||
license = lib.licenses.mit;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
bierner.docs-view = buildVscodeMarketplaceExtension {
|
bierner.docs-view = buildVscodeMarketplaceExtension {
|
||||||
mktplcRef = {
|
mktplcRef = {
|
||||||
name = "docs-view";
|
name = "docs-view";
|
||||||
publisher = "bierner";
|
publisher = "bierner";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue