File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
tecosaur/latex-utilities/latest Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 29
29
rust-lang . rust-analyzer = callPackage ./rust-lang/rust-analyzer/latest ;
30
30
31
31
sumneko . lua = callPackage ./sumneko/lua/latest ;
32
+
33
+ tecosaur . latex-utilities = callPackage ./tecosaur/latex-utilities/latest ;
32
34
33
35
vadimcn . vscode-lldb =
34
36
config @{ mktplcRef , ... } :
Original file line number Diff line number Diff line change
1
+ # Original implementation: https://github.com/NixOS/nixpkgs/blob/1e76ade8ef2a87d0484312f69aefa3fdad3d022d/pkgs/applications/editors/vscode/extensions/tecosaur.latex-utilities/default.nix
2
+ {
3
+ lib ,
4
+ jq ,
5
+ moreutils ,
6
+ texlivePackages ,
7
+ vscode-utils ,
8
+
9
+ mktplcRef ,
10
+ vsix ,
11
+ ...
12
+ } :
13
+
14
+ vscode-utils . buildVscodeMarketplaceExtension rec {
15
+ inherit mktplcRef vsix ;
16
+
17
+ nativeBuildInputs = [
18
+ jq
19
+ moreutils
20
+ ] ;
21
+
22
+ buildInputs = [ texlivePackages . texcount ] ;
23
+
24
+ postInstall = ''
25
+ cd "$out/$installPrefix"
26
+ echo -n ${ mktplcRef . version } > VERSION
27
+ jq '.contributes.configuration.properties."latex-utilities.countWord.path".default = "${ texlivePackages . texcount } /bin/texcount"' package.json | sponge package.json
28
+ '' ;
29
+
30
+ meta = {
31
+ description = "Add-on to the Visual Studio Code extension LaTeX Workshop" ;
32
+ downloadPage = "https://marketplace.visualstudio.com/items?itemName=tecosaur.latex-utilities" ;
33
+ homepage = "https://github.com/tecosaur/LaTeX-Utilities" ;
34
+ changelog = "https://marketplace.visualstudio.com/items/tecosaur.latex-utilities/changelog" ;
35
+ license = lib . licenses . mit ;
36
+ maintainers = with lib . maintainers ; [ jeancaspar ] ;
37
+ } ;
38
+ }
You can’t perform that action at this time.
0 commit comments