Compare commits

...

11 commits

6 changed files with 504 additions and 150 deletions

View file

@ -1,6 +1,6 @@
column_width = 160
column_width = 80
line_endings = "Unix"
indent_type = "Spaces"
indent_width = 2
quote_style = "AutoPreferSingle"
call_parentheses = "None"
call_parentheses = "Always"

20
Justfile Normal file
View file

@ -0,0 +1,20 @@
default: testBoth
[working-directory: 'packages/npm-modules']
genNpmModules:
nix run nixpkgs#node2nix -- -i packages.json
test:
git add --all && nix run .
testNix:
git add --all && nix run . -- flake.nix
testLua:
git add --all && nix run . -- init.lua
testBoth:
git add --all && nix run . -- flake.nix init.lua
testFile +files:
git add --all && nix run . -- {{files}}

165
flake.nix
View file

@ -25,19 +25,8 @@
url = "github:2kabhishek/nerdy.nvim";
flake = false;
};
# see :help nixCats.flake.inputs
# If you want your plugin to be loaded by the standard overlay,
# i.e. if it wasnt on nixpkgs, but doesnt have an extra build step.
# Then you should name it "plugins-something"
# If you wish to define a custom build step not handled by nixpkgs,
# then you should name it in a different format, and deal with that in the
# overlay defined for custom builds in the overlays directory.
# for specific tags, branches and commits, see:
# https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-flake.html#examples
};
# see :help nixCats.flake.outputs
outputs = {
self,
nixpkgs,
@ -47,51 +36,15 @@
inherit (nixCats) utils;
luaPath = "${./.}";
forEachSystem = utils.eachSystem nixpkgs.lib.platforms.all;
# the following extra_pkg_config contains any values
# which you want to pass to the config set of nixpkgs
# import nixpkgs { config = extra_pkg_config; inherit system; }
# will not apply to module imports
# as that will have your system values
extra_pkg_config = {
# allowUnfree = true;
};
# management of the system variable is one of the harder parts of using flakes.
dependencyOverlays = [
(utils.sanitizedPluginOverlay inputs)
];
# so I have done it here in an interesting way to keep it out of the way.
# It gets resolved within the builder itself, and then passed to your
# categoryDefinitions and packageDefinitions.
# this allows you to use ${pkgs.system} whenever you want in those sections
# without fear.
# sometimes our overlays require a ${system} to access the overlay.
# Your dependencyOverlays can either be lists
# in a set of ${system}, or simply a list.
# the nixCats builder function will accept either.
# see :help nixCats.flake.outputs.overlays
dependencyOverlays =
/*
(import ./overlays inputs) ++
*/
[
# This overlay grabs all the inputs named in the format
# `plugins-<pluginName>`
# Once we add this overlay to our nixpkgs, we are able to
# use `pkgs.neovimPlugins`, which is a set of our plugins.
(utils.sanitizedPluginOverlay inputs)
# add any other flake overlays here.
# when other people mess up their overlays by wrapping them with system,
# you may instead call this function on their overlay.
# it will check if it has the system in the set, and if so return the desired overlay
# (utils.fixSystemizedOverlay inputs.codeium.overlays
# (system: inputs.codeium.overlays.${system}.default)
# )
];
# see :help nixCats.flake.outputs.categories
# and
# :help nixCats.flake.outputs.categoryDefinitions.scheme
categoryDefinitions = {
pkgs,
settings,
@ -101,15 +54,6 @@
mkNvimPlugin,
...
}: {
# to define and use a new category, simply add a new list to a set here,
# and later, you will include categoryname = true; in the set you
# provide when you build the package using this builder function.
# see :help nixCats.flake.outputs.packageDefinitions for info on that section.
# lspsAndRuntimeDeps:
# this section is for dependencies that should be available
# at RUN TIME for plugins. Will be available to PATH within neovim terminal
# this includes LSPs
lspsAndRuntimeDeps = with pkgs; let
npm-modules = (import ./packages/npm-modules) {
inherit pkgs;
@ -124,7 +68,9 @@
curl
docker-compose-language-service
dockerfile-language-server-nodejs
emmet-language-server
fd
fish-lsp
gofumpt
gopls
gotools
@ -139,7 +85,9 @@
nil
nodePackages.prettier
npm-modules.css-variables-language-server
npm-modules.gh-actions-language-server
npm-modules.markdown-toc
npm-modules.some-sass-language-server
nushell
php84Packages.php-codesniffer
php84Packages.php-cs-fixer
@ -153,8 +101,10 @@
shellcheck
shfmt
sqlfluff
statix
stdenv.cc.cc
stylelint
stylelint-lsp
stylua
tailwindcss-language-server
taplo
@ -169,9 +119,6 @@
];
};
# NOTE: lazy doesnt care if these are in startupPlugins or optionalPlugins
# also you dont have to download everything via nix if you dont want.
# but you have the option, and that is demonstrated here.
startupPlugins = with pkgs.vimPlugins;
with pkgs.neovimPlugins; {
general = [
@ -350,98 +297,50 @@
];
};
# not loaded automatically at startup.
# use with packadd and an autocommand in config to achieve lazy loading
# NOTE: this template is using lazy.nvim so, which list you put them in is irrelevant.
# startupPlugins or optionalPlugins, it doesnt matter, lazy.nvim does the loading.
# I just put them all in startupPlugins. I could have put them all in here instead.
optionalPlugins = {};
# shared libraries to be added to LD_LIBRARY_PATH
# variable available to nvim runtime
# shared libraries to be added to LD_LIBRARY_PATH variable available to
# nvim runtime
sharedLibraries = {
# general = with pkgs; [
# libgit2
# ];
};
# environmentVariables:
# this section is for environmentVariables that should be available
# at RUN TIME for plugins. Will be available to path within neovim terminal
environmentVariables = {
test = {
CATTESTVAR = "It worked!";
};
# test = {
# CATTESTVAR = "It worked!";
# };
};
# If you know what these are, you can provide custom ones by category here.
# If you dont, check this link out:
# https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/setup-hooks/make-wrapper.sh
extraWrapperArgs = {
test = [
''--set CATTESTVAR2 "It worked again!"''
];
# test = [
# ''--set CATTESTVAR2 "It worked again!"''
# ];
};
# lists of the functions you would have passed to
# python.withPackages or lua.withPackages
# get the path to this python environment
# in your lua config via
# vim.g.python3_host_prog
# or run from nvim terminal via :!<packagename>-python3
extraPython3Packages = {
test = [(_: [])];
};
# populates $LUA_PATH and $LUA_CPATH
extraLuaPackages = {
test = [(_: [])];
};
};
# And then build a package with specific categories from above here:
# All categories you wish to include must be marked true,
# but false may be omitted.
# This entire set is also passed to nixCats for querying within the lua.
# see :help nixCats.flake.outputs.packageDefinitions
packageDefinitions = {
# These are the names of your packages
# you can include as many as you wish.
nvim = {
pkgs,
mkNvimPlugin,
...
}: {
# they contain a settings set defined above
# see :help nixCats.flake.outputs.settings
settings = {
wrapRc = true;
# IMPORTANT:
# your alias may not conflict with your other packages.
# aliases = [ "vim" ];
neovim-unwrapped = inputs.neovim-nightly-overlay.packages.${pkgs.system}.neovim;
};
# and a set of categories that you want
# (and other information to pass to lua)
categories = {
general = true;
test = false;
};
extra = {};
};
# an extra test package with normal lua reload for fast edits
# nix doesnt provide the config in this package, allowing you free reign to edit it.
# then you can swap back to the normal pure package when done.
testnvim = {
pkgs,
mkNvimPlugin,
...
}: {
settings = {
wrapRc = false;
unwrappedCfgPath = "/absolute/path/to/config";
};
categories = {
general = true;
test = false;
@ -449,11 +348,9 @@
extra = {};
};
};
# In this section, the main thing you will need to do is change the default package name
# to the name of the packageDefinitions entry you wish to use as the default.
defaultPackageName = "nvim";
in
# see :help nixCats.flake.outputs.exports
forEachSystem (system: let
# the builder function that makes it all work
nixCatsBuilder =
@ -462,20 +359,13 @@
}
categoryDefinitions
packageDefinitions;
defaultPackage = nixCatsBuilder defaultPackageName;
# this is just for using utils such as pkgs.mkShell
# The one used to build neovim is resolved inside the builder
# and is passed to our categoryDefinitions and packageDefinitions
pkgs = import nixpkgs {inherit system;};
in {
# these outputs will be wrapped with ${system} by utils.eachSystem
# this will make a package out of each of the packageDefinitions defined above
# and set the default package to the one passed in here.
packages = utils.mkAllWithDefault defaultPackage;
# choose your package for devShell
# and add whatever else you want in it.
# Choose your package for devShell and add whatever else you want in it.
devShells = {
default = pkgs.mkShell {
name = defaultPackageName;
@ -487,7 +377,8 @@
};
})
// (let
# we also export a nixos module to allow reconfiguration from configuration.nix
# We also export a nixos module to allow reconfiguration from
# configuration.nix.
nixosModule = utils.mkNixosModules {
moduleNamespace = [defaultPackageName];
inherit
@ -500,7 +391,7 @@
nixpkgs
;
};
# and the same for home manager
# And the same for home manager.
homeModule = utils.mkHomeModules {
moduleNamespace = [defaultPackageName];
inherit
@ -514,10 +405,6 @@
;
};
in {
# these outputs will be NOT wrapped with ${system}
# this will make an overlay out of each of the packageDefinitions defined above
# and set the default overlay to the one named here.
overlays =
utils.makeOverlays luaPath {
inherit nixpkgs dependencyOverlays extra_pkg_config;

View file

@ -3,6 +3,33 @@ return {
'neovim/nvim-lspconfig',
opts = {
servers = {
cssls = {},
emmet_language_server = {
filetypes = {
'css',
'eruby',
'html',
'htmlangular',
'htmldjango',
'javascriptreact',
'less',
'liquid',
'pug',
'sass',
'scss',
'typescriptreact',
'vue',
},
},
fish_lsp = {},
gh_actions_ls = {},
html = {
filetypes = { 'html', 'liquid' },
},
nil_ls = {
settings = {
['nil'] = {
@ -13,9 +40,10 @@ return {
},
},
},
html = {
filetypes = { 'html', 'liquid' },
},
somesass_ls = {},
statix = {},
stylelint_lsp = {},
},
},
},

View file

@ -4,6 +4,42 @@
let
sources = {
"@actions/expressions-0.3.15" = {
name = "_at_actions_slash_expressions";
packageName = "@actions/expressions";
version = "0.3.15";
src = fetchurl {
url = "https://registry.npmjs.org/@actions/expressions/-/expressions-0.3.15.tgz";
sha512 = "OuYp1jaCNyS+jBYnD5w9ycqsYJnKamczP0PCMbrjSo/CMkM2GAnZbFxBh3Uij97tA5xrcapIr8TE/1CQk3oLug==";
};
};
"@actions/languageserver-0.3.15" = {
name = "_at_actions_slash_languageserver";
packageName = "@actions/languageserver";
version = "0.3.15";
src = fetchurl {
url = "https://registry.npmjs.org/@actions/languageserver/-/languageserver-0.3.15.tgz";
sha512 = "JpP6H83fY1FxXlr+NZ0EJW0PEGk6TSkliJ6/LpZ4IBtOIps3dcrBQTAOLrTEaRoXmi84q7qabSaK0KIb+lHfdA==";
};
};
"@actions/languageservice-0.3.15" = {
name = "_at_actions_slash_languageservice";
packageName = "@actions/languageservice";
version = "0.3.15";
src = fetchurl {
url = "https://registry.npmjs.org/@actions/languageservice/-/languageservice-0.3.15.tgz";
sha512 = "xiN81ovC6HDXun8u+FD0RE5inWWVCeBsAdfzQ+fyTCxzMLZR5NKeF9b3vqpdXIuPApb3sWQtjY/BGFmLzyCcHA==";
};
};
"@actions/workflow-parser-0.3.15" = {
name = "_at_actions_slash_workflow-parser";
packageName = "@actions/workflow-parser";
version = "0.3.15";
src = fetchurl {
url = "https://registry.npmjs.org/@actions/workflow-parser/-/workflow-parser-0.3.15.tgz";
sha512 = "AaBiJ/urwk/0mfkwqbNHVsDh9cduhpWaj9c1zhxFI0QHt1RlSX5ANihtZZEfHu5GXIpsciYnI7nMN4loBDAp7g==";
};
};
"@nodelib/fs.scandir-2.1.5" = {
name = "_at_nodelib_slash_fs.scandir";
packageName = "@nodelib/fs.scandir";
@ -31,6 +67,132 @@ let
sha512 = "oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==";
};
};
"@octokit/auth-token-3.0.4" = {
name = "_at_octokit_slash_auth-token";
packageName = "@octokit/auth-token";
version = "3.0.4";
src = fetchurl {
url = "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-3.0.4.tgz";
sha512 = "TWFX7cZF2LXoCvdmJWY7XVPi74aSY0+FfBZNSXEXFkMpjcqsQwDSYVv5FhRFaI0V1ECnwbz4j59T/G+rXNWaIQ==";
};
};
"@octokit/core-4.2.4" = {
name = "_at_octokit_slash_core";
packageName = "@octokit/core";
version = "4.2.4";
src = fetchurl {
url = "https://registry.npmjs.org/@octokit/core/-/core-4.2.4.tgz";
sha512 = "rYKilwgzQ7/imScn3M9/pFfUf4I1AZEH3KhyJmtPdE2zfaXAn2mFfUy4FbKewzc2We5y/LlKLj36fWJLKC2SIQ==";
};
};
"@octokit/endpoint-7.0.6" = {
name = "_at_octokit_slash_endpoint";
packageName = "@octokit/endpoint";
version = "7.0.6";
src = fetchurl {
url = "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-7.0.6.tgz";
sha512 = "5L4fseVRUsDFGR00tMWD/Trdeeihn999rTMGRMC1G/Ldi1uWlWJzI98H4Iak5DB/RVvQuyMYKqSK/R6mbSOQyg==";
};
};
"@octokit/graphql-5.0.6" = {
name = "_at_octokit_slash_graphql";
packageName = "@octokit/graphql";
version = "5.0.6";
src = fetchurl {
url = "https://registry.npmjs.org/@octokit/graphql/-/graphql-5.0.6.tgz";
sha512 = "Fxyxdy/JH0MnIB5h+UQ3yCoh1FG4kWXfFKkpWqjZHw/p+Kc8Y44Hu/kCgNBT6nU1shNumEchmW/sUO1JuQnPcw==";
};
};
"@octokit/openapi-types-18.1.1" = {
name = "_at_octokit_slash_openapi-types";
packageName = "@octokit/openapi-types";
version = "18.1.1";
src = fetchurl {
url = "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-18.1.1.tgz";
sha512 = "VRaeH8nCDtF5aXWnjPuEMIYf1itK/s3JYyJcWFJT8X9pSNnBtriDf7wlEWsGuhPLl4QIH4xM8fqTXDwJ3Mu6sw==";
};
};
"@octokit/plugin-paginate-rest-6.1.2" = {
name = "_at_octokit_slash_plugin-paginate-rest";
packageName = "@octokit/plugin-paginate-rest";
version = "6.1.2";
src = fetchurl {
url = "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-6.1.2.tgz";
sha512 = "qhrmtQeHU/IivxucOV1bbI/xZyC/iOBhclokv7Sut5vnejAIAEXVcGQeRpQlU39E0WwK9lNvJHphHri/DB6lbQ==";
};
};
"@octokit/plugin-request-log-1.0.4" = {
name = "_at_octokit_slash_plugin-request-log";
packageName = "@octokit/plugin-request-log";
version = "1.0.4";
src = fetchurl {
url = "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz";
sha512 = "mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA==";
};
};
"@octokit/plugin-rest-endpoint-methods-7.2.3" = {
name = "_at_octokit_slash_plugin-rest-endpoint-methods";
packageName = "@octokit/plugin-rest-endpoint-methods";
version = "7.2.3";
src = fetchurl {
url = "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-7.2.3.tgz";
sha512 = "I5Gml6kTAkzVlN7KCtjOM+Ruwe/rQppp0QU372K1GP7kNOYEKe8Xn5BW4sE62JAHdwpq95OQK/qGNyKQMUzVgA==";
};
};
"@octokit/request-6.2.8" = {
name = "_at_octokit_slash_request";
packageName = "@octokit/request";
version = "6.2.8";
src = fetchurl {
url = "https://registry.npmjs.org/@octokit/request/-/request-6.2.8.tgz";
sha512 = "ow4+pkVQ+6XVVsekSYBzJC0VTVvh/FCTUUgTsboGq+DTeWdyIFV8WSCdo0RIxk6wSkBTHqIK1mYuY7nOBXOchw==";
};
};
"@octokit/request-error-3.0.3" = {
name = "_at_octokit_slash_request-error";
packageName = "@octokit/request-error";
version = "3.0.3";
src = fetchurl {
url = "https://registry.npmjs.org/@octokit/request-error/-/request-error-3.0.3.tgz";
sha512 = "crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ==";
};
};
"@octokit/rest-19.0.13" = {
name = "_at_octokit_slash_rest";
packageName = "@octokit/rest";
version = "19.0.13";
src = fetchurl {
url = "https://registry.npmjs.org/@octokit/rest/-/rest-19.0.13.tgz";
sha512 = "/EzVox5V9gYGdbAI+ovYj3nXQT1TtTHRT+0eZPcuC05UFSWO3mdO9UY1C0i2eLF9Un1ONJkAk+IEtYGAC+TahA==";
};
};
"@octokit/tsconfig-1.0.2" = {
name = "_at_octokit_slash_tsconfig";
packageName = "@octokit/tsconfig";
version = "1.0.2";
src = fetchurl {
url = "https://registry.npmjs.org/@octokit/tsconfig/-/tsconfig-1.0.2.tgz";
sha512 = "I0vDR0rdtP8p2lGMzvsJzbhdOWy405HcGovrspJ8RRibHnyRgggUSNO5AIox5LmqiwmatHKYsvj6VGFHkqS7lA==";
};
};
"@octokit/types-10.0.0" = {
name = "_at_octokit_slash_types";
packageName = "@octokit/types";
version = "10.0.0";
src = fetchurl {
url = "https://registry.npmjs.org/@octokit/types/-/types-10.0.0.tgz";
sha512 = "Vm8IddVmhCgU1fxC1eyinpwqzXPEYu0NrYzD3YZjlGjyftdLBTeqNblRC0jmJmgxbJIsQlyogVeGnrNaaMVzIg==";
};
};
"@octokit/types-9.3.2" = {
name = "_at_octokit_slash_types";
packageName = "@octokit/types";
version = "9.3.2";
src = fetchurl {
url = "https://registry.npmjs.org/@octokit/types/-/types-9.3.2.tgz";
sha512 = "D4iHGTdAnEEVsB8fl95m1hiz7D5YiRdQ9b/OEb3BYRVwbLsGHcRVPz+u+BgRLNk0Q0/4iZCBqDN96j2XNxfXrA==";
};
};
"ansi-red-0.1.1" = {
name = "ansi-red";
packageName = "ansi-red";
@ -85,6 +247,15 @@ let
sha512 = "t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==";
};
};
"before-after-hook-2.2.3" = {
name = "before-after-hook";
packageName = "before-after-hook";
version = "2.2.3";
src = fetchurl {
url = "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz";
sha512 = "NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==";
};
};
"braces-3.0.3" = {
name = "braces";
packageName = "braces";
@ -175,6 +346,15 @@ let
sha512 = "ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==";
};
};
"cronstrue-2.56.0" = {
name = "cronstrue";
packageName = "cronstrue";
version = "2.56.0";
src = fetchurl {
url = "https://registry.npmjs.org/cronstrue/-/cronstrue-2.56.0.tgz";
sha512 = "/YC3b4D/E/S8ToQ7f676A2fqoC3vVpXKjJ4SMsP0jYsvRYJdZ6h9+Fq/Y7FoFDEUFCqLTca+G2qTV227lyyFZg==";
};
};
"culori-0.20.1" = {
name = "culori";
packageName = "culori";
@ -193,6 +373,15 @@ let
sha512 = "ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==";
};
};
"deprecation-2.3.1" = {
name = "deprecation";
packageName = "deprecation";
version = "2.3.1";
src = fetchurl {
url = "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz";
sha512 = "xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==";
};
};
"diacritics-map-0.1.0" = {
name = "diacritics-map";
packageName = "diacritics-map";
@ -211,6 +400,15 @@ let
sha512 = "KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==";
};
};
"encoding-0.1.13" = {
name = "encoding";
packageName = "encoding";
version = "0.1.13";
src = fetchurl {
url = "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz";
sha512 = "ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==";
};
};
"errno-0.1.8" = {
name = "errno";
packageName = "errno";
@ -562,6 +760,15 @@ let
sha512 = "h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==";
};
};
"is-plain-object-5.0.0" = {
name = "is-plain-object";
packageName = "is-plain-object";
version = "5.0.0";
src = fetchurl {
url = "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz";
sha512 = "VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==";
};
};
"is-what-3.14.1" = {
name = "is-what";
packageName = "is-what";
@ -787,13 +994,13 @@ let
sha512 = "WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==";
};
};
"nanoid-3.3.9" = {
"nanoid-3.3.10" = {
name = "nanoid";
packageName = "nanoid";
version = "3.3.9";
version = "3.3.10";
src = fetchurl {
url = "https://registry.npmjs.org/nanoid/-/nanoid-3.3.9.tgz";
sha512 = "SppoicMGpZvbF1l3z4x7No3OlIjP7QJvC9XR7AhZr1kL133KHnKPztkKDc+Ir4aJ/1VhTySrtKhrsycmrMQfvg==";
url = "https://registry.npmjs.org/nanoid/-/nanoid-3.3.10.tgz";
sha512 = "vSJJTG+t/dIKAUhUDw/dLdZ9s//5OxcHqLaDWWrW4Cdq7o6tdLIczUkMXt2MBNmk6sJRZBZRXVixs7URY1CmIg==";
};
};
"needle-3.3.1" = {
@ -805,6 +1012,15 @@ let
sha512 = "6k0YULvhpw+RoLNiQCRKOl09Rv1dPLr8hHnVjHqdolKwDrdNyk+Hmrthi4lIGPPz3r39dLx0hsF5s40sZ3Us4Q==";
};
};
"node-fetch-2.7.0" = {
name = "node-fetch";
packageName = "node-fetch";
version = "2.7.0";
src = fetchurl {
url = "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz";
sha512 = "c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==";
};
};
"object.pick-1.3.0" = {
name = "object.pick";
packageName = "object.pick";
@ -814,6 +1030,15 @@ let
sha512 = "tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==";
};
};
"once-1.4.0" = {
name = "once";
packageName = "once";
version = "1.4.0";
src = fetchurl {
url = "https://registry.npmjs.org/once/-/once-1.4.0.tgz";
sha512 = "lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==";
};
};
"parse-node-version-1.0.1" = {
name = "parse-node-version";
packageName = "parse-node-version";
@ -1111,6 +1336,15 @@ let
sha512 = "gVweAectJU3ebq//Ferr2JUY4WKSDe5N+z0FvjDncLGyHmIDoxgY/2Ie4qfEIDm4IS7OA6Rmdm7pdEEdMcV/xQ==";
};
};
"tr46-0.0.3" = {
name = "tr46";
packageName = "tr46";
version = "0.0.3";
src = fetchurl {
url = "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz";
sha512 = "N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==";
};
};
"tslib-2.8.1" = {
name = "tslib";
packageName = "tslib";
@ -1129,6 +1363,24 @@ let
sha512 = "/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==";
};
};
"typescript-5.8.2" = {
name = "typescript";
packageName = "typescript";
version = "5.8.2";
src = fetchurl {
url = "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz";
sha512 = "aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==";
};
};
"universal-user-agent-6.0.1" = {
name = "universal-user-agent";
packageName = "universal-user-agent";
version = "6.0.1";
src = fetchurl {
url = "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.1.tgz";
sha512 = "yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==";
};
};
"util-deprecate-1.0.2" = {
name = "util-deprecate";
packageName = "util-deprecate";
@ -1147,6 +1399,15 @@ let
sha512 = "wnJA4BnEjOSyFMvjZdpiOwhSq9uDoK8e/kpRJDTaMYzwlkrhG1fwDIZI94CLsLzlCK5cIbMMtFlJlfR57Lavmg==";
};
};
"vscode-jsonrpc-8.1.0" = {
name = "vscode-jsonrpc";
packageName = "vscode-jsonrpc";
version = "8.1.0";
src = fetchurl {
url = "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.1.0.tgz";
sha512 = "6TDy/abTQk+zDGYazgbIPc+4JoXdwC8NHU9Pbn4UJP1fehUyZmM4RHp5IthX7A6L5KS30PRui+j+tbbMMMafdw==";
};
};
"vscode-languageserver-7.0.0" = {
name = "vscode-languageserver";
packageName = "vscode-languageserver";
@ -1156,6 +1417,15 @@ let
sha512 = "60HTx5ID+fLRcgdHfmz0LDZAXYEV68fzwG0JWwEPBode9NuMYTIxuYXPg4ngO8i8+Ou0lM7y6GzaYWbiDL0drw==";
};
};
"vscode-languageserver-8.1.0" = {
name = "vscode-languageserver";
packageName = "vscode-languageserver";
version = "8.1.0";
src = fetchurl {
url = "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-8.1.0.tgz";
sha512 = "eUt8f1z2N2IEUDBsKaNapkz7jl5QpskN2Y0G01T/ItMxBxw1fJwvtySGB9QMecatne8jFIWJGWI61dWjyTLQsw==";
};
};
"vscode-languageserver-protocol-3.16.0" = {
name = "vscode-languageserver-protocol";
packageName = "vscode-languageserver-protocol";
@ -1165,6 +1435,15 @@ let
sha512 = "sdeUoAawceQdgIfTI+sdcwkiK2KU+2cbEYA0agzM2uqaUy2UpnnGHtWTHVEtS0ES4zHU0eMFRGN+oQgDxlD66A==";
};
};
"vscode-languageserver-protocol-3.17.3" = {
name = "vscode-languageserver-protocol";
packageName = "vscode-languageserver-protocol";
version = "3.17.3";
src = fetchurl {
url = "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.3.tgz";
sha512 = "924/h0AqsMtA5yK22GgMtCYiMdCOtWTSGgUOkgEDX+wk2b0x4sAfLiO4NxBxqbiVtz7K7/1/RgVrVI0NClZwqA==";
};
};
"vscode-languageserver-textdocument-1.0.12" = {
name = "vscode-languageserver-textdocument";
packageName = "vscode-languageserver-textdocument";
@ -1183,6 +1462,24 @@ let
sha512 = "k8luDIWJWyenLc5ToFQQMaSrqCHiLwyKPHKPQZ5zz21vM+vIVUSvsRpcbiECH4WR88K2XZqc4ScRcZ7nk/jbeA==";
};
};
"vscode-languageserver-types-3.17.3" = {
name = "vscode-languageserver-types";
packageName = "vscode-languageserver-types";
version = "3.17.3";
src = fetchurl {
url = "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.3.tgz";
sha512 = "SYU4z1dL0PyIMd4Vj8YOqFvHu7Hz/enbWtpfnVbJHU4Nd1YNYx8u0ennumc6h48GQNeOLxmwySmnADouT/AuZA==";
};
};
"vscode-languageserver-types-3.17.5" = {
name = "vscode-languageserver-types";
packageName = "vscode-languageserver-types";
version = "3.17.5";
src = fetchurl {
url = "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz";
sha512 = "Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==";
};
};
"vscode-uri-3.1.0" = {
name = "vscode-uri";
packageName = "vscode-uri";
@ -1192,6 +1489,33 @@ let
sha512 = "/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==";
};
};
"webidl-conversions-3.0.1" = {
name = "webidl-conversions";
packageName = "webidl-conversions";
version = "3.0.1";
src = fetchurl {
url = "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz";
sha512 = "2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==";
};
};
"whatwg-url-5.0.0" = {
name = "whatwg-url";
packageName = "whatwg-url";
version = "5.0.0";
src = fetchurl {
url = "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz";
sha512 = "saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==";
};
};
"wrappy-1.0.2" = {
name = "wrappy";
packageName = "wrappy";
version = "1.0.2";
src = fetchurl {
url = "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz";
sha512 = "l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==";
};
};
"xtend-4.0.2" = {
name = "xtend";
packageName = "xtend";
@ -1201,6 +1525,15 @@ let
sha512 = "LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==";
};
};
"yaml-2.7.0" = {
name = "yaml";
packageName = "yaml";
version = "2.7.0";
src = fetchurl {
url = "https://registry.npmjs.org/yaml/-/yaml-2.7.0.tgz";
sha512 = "+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==";
};
};
};
in
{
@ -1263,7 +1596,7 @@ in
sources."mime-1.6.0"
sources."mime-db-1.52.0"
sources."mime-types-2.1.35"
sources."nanoid-3.3.9"
sources."nanoid-3.3.10"
sources."needle-3.3.1"
sources."parse-node-version-1.0.1"
sources."picocolors-1.1.1"
@ -1302,6 +1635,72 @@ in
bypassCache = true;
reconstructLock = true;
};
gh-actions-language-server = nodeEnv.buildNodePackage {
name = "gh-actions-language-server";
packageName = "gh-actions-language-server";
version = "0.0.3";
src = fetchurl {
url = "https://registry.npmjs.org/gh-actions-language-server/-/gh-actions-language-server-0.0.3.tgz";
sha512 = "T2ph7OoS0tnpWsxpvdiC5k9rrv5t7BMwZRJANrk4gZzvTZ1/rY1kpJQjVaiYeTrlj2fDgQh5fMwPqkxNaKIGdw==";
};
dependencies = [
sources."@actions/expressions-0.3.15"
sources."@actions/languageserver-0.3.15"
sources."@actions/languageservice-0.3.15"
sources."@actions/workflow-parser-0.3.15"
sources."@octokit/auth-token-3.0.4"
sources."@octokit/core-4.2.4"
sources."@octokit/endpoint-7.0.6"
sources."@octokit/graphql-5.0.6"
sources."@octokit/openapi-types-18.1.1"
sources."@octokit/plugin-paginate-rest-6.1.2"
sources."@octokit/plugin-request-log-1.0.4"
(sources."@octokit/plugin-rest-endpoint-methods-7.2.3" // {
dependencies = [
sources."@octokit/types-10.0.0"
];
})
sources."@octokit/request-6.2.8"
sources."@octokit/request-error-3.0.3"
sources."@octokit/rest-19.0.13"
sources."@octokit/tsconfig-1.0.2"
sources."@octokit/types-9.3.2"
sources."before-after-hook-2.2.3"
sources."cronstrue-2.56.0"
sources."deprecation-2.3.1"
sources."encoding-0.1.13"
sources."iconv-lite-0.6.3"
sources."is-plain-object-5.0.0"
sources."node-fetch-2.7.0"
sources."once-1.4.0"
sources."safer-buffer-2.1.2"
sources."tr46-0.0.3"
sources."typescript-5.8.2"
sources."universal-user-agent-6.0.1"
sources."vscode-jsonrpc-8.1.0"
sources."vscode-languageserver-8.1.0"
(sources."vscode-languageserver-protocol-3.17.3" // {
dependencies = [
sources."vscode-languageserver-types-3.17.3"
];
})
sources."vscode-languageserver-textdocument-1.0.12"
sources."vscode-languageserver-types-3.17.5"
sources."vscode-uri-3.1.0"
sources."webidl-conversions-3.0.1"
sources."whatwg-url-5.0.0"
sources."wrappy-1.0.2"
sources."yaml-2.7.0"
];
buildInputs = globalBuildInputs;
meta = {
description = "**GitHub Actions Language Server**";
license = "MIT";
};
production = true;
bypassCache = true;
reconstructLock = true;
};
markdown-toc = nodeEnv.buildNodePackage {
name = "markdown-toc";
packageName = "markdown-toc";
@ -1393,4 +1792,22 @@ in
bypassCache = true;
reconstructLock = true;
};
some-sass-language-server = nodeEnv.buildNodePackage {
name = "some-sass-language-server";
packageName = "some-sass-language-server";
version = "2.1.1";
src = fetchurl {
url = "https://registry.npmjs.org/some-sass-language-server/-/some-sass-language-server-2.1.1.tgz";
sha512 = "CFGjjTHdqMlQwWGK7z1woVr7ddXW0jac0IHMktO2FSEJ+x1YGeU6zQOk+aEoHRZot+FG10N8tggk+j1ZnPCfrg==";
};
buildInputs = globalBuildInputs;
meta = {
description = "LSP server for SCSS and Sass indented. Full support for @use and @forward, including aliases, prefixes and hiding. Rich documentation through SassDoc. Workspace-wide code navigation and refactoring.";
homepage = "https://github.com/wkillerud/some-sass/blob/main/packages/language-server#readme";
license = "MIT";
};
production = true;
bypassCache = true;
reconstructLock = true;
};
}

View file

@ -1,4 +1,6 @@
[
"css-variables-language-server",
"markdown-toc"
"gh-actions-language-server",
"markdown-toc",
"some-sass-language-server"
]