vscode-extensions.kamadorueda.alejandra: init at 1.0.0
This commit is contained in:
parent
1cb2d4c19f
commit
8bd4ebee32
|
@ -14,6 +14,7 @@
|
|||
, moreutils
|
||||
, racket-minimal
|
||||
, clojure-lsp
|
||||
, alejandra
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -1231,6 +1232,34 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
kamadorueda.alejandra = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "alejandra";
|
||||
publisher = "kamadorueda";
|
||||
version = "1.0.0";
|
||||
sha256 = "sha256-COlEjKhm8tK5XfOjrpVUDQ7x3JaOLiYoZ4MdwTL8ktk=";
|
||||
};
|
||||
nativeBuildInputs = [ jq moreutils ];
|
||||
postInstall = ''
|
||||
cd "$out/$installPrefix"
|
||||
|
||||
jq -e '
|
||||
.contributes.configuration.properties."alejandra.program".default =
|
||||
"${alejandra}/bin/alejandra" |
|
||||
.contributes.configurationDefaults."alejandra.program" =
|
||||
"${alejandra}/bin/alejandra"
|
||||
' \
|
||||
< package.json \
|
||||
| sponge package.json
|
||||
'';
|
||||
meta = with lib; {
|
||||
description = "The Uncompromising Nix Code Formatter";
|
||||
homepage = "https://github.com/kamadorueda/alejandra";
|
||||
license = licenses.unlicense;
|
||||
maintainers = with maintainers; [ kamadorueda ];
|
||||
};
|
||||
};
|
||||
|
||||
kubukoz.nickel-syntax = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "nickel-syntax";
|
||||
|
|
Loading…
Reference in a new issue