Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
vscode-utils,
|
|
jq,
|
|
moreutils,
|
|
texlivePackages,
|
|
}:
|
|
|
|
vscode-utils.buildVscodeMarketplaceExtension (finalAttrs: {
|
|
mktplcRef = {
|
|
name = "latex-utilities";
|
|
publisher = "tecosaur";
|
|
version = "0.4.14";
|
|
hash = "sha256-GsbHzFcN56UbcaqFN9s+6u/KjUBn8tmks2ihK0pg3Ds=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
jq
|
|
moreutils
|
|
];
|
|
|
|
buildInputs = [ texlivePackages.texcount ];
|
|
|
|
postInstall = ''
|
|
cd "$out/$installPrefix"
|
|
echo -n ${finalAttrs.version} > VERSION
|
|
jq '.contributes.configuration.properties."latex-utilities.countWord.path".default = "${texlivePackages.texcount}/bin/texcount"' package.json | sponge package.json
|
|
'';
|
|
|
|
meta = {
|
|
description = "Add-on to the Visual Studio Code extension LaTeX Workshop";
|
|
downloadPage = "https://marketplace.visualstudio.com/items?itemName=tecosaur.latex-utilities";
|
|
homepage = "https://github.com/tecosaur/LaTeX-Utilities";
|
|
changelog = "https://marketplace.visualstudio.com/items/tecosaur.latex-utilities/changelog";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ jeancaspar ];
|
|
};
|
|
})
|