Merge master into staging-next

This commit is contained in:
github-actions[bot] 2022-06-14 18:01:25 +00:00 committed by GitHub
commit 34bc19a1dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 711 additions and 101 deletions

View file

@ -227,7 +227,7 @@ digraph {
} }
``` ```
[This GitHub Action](https://github.com/NixOS/nixpkgs/blob/master/.github/workflows/periodic-merge-6h.yml) brings changes from `master` to `staging-next` and from `staging-next` to `staging` every 6 hours. [This GitHub Action](https://github.com/NixOS/nixpkgs/blob/master/.github/workflows/periodic-merge-6h.yml) brings changes from `master` to `staging-next` and from `staging-next` to `staging` every 6 hours; these are the blue arrows in the diagram above. The purple arrows in the diagram above are done manually and much less frequently. You can get an idea of how often these merges occur by looking at the git history.
### Master branch {#submitting-changes-master-branch} ### Master branch {#submitting-changes-master-branch}

View file

@ -113,10 +113,6 @@ rec {
args ? {} args ? {}
, # This would be remove in the future, Prefer _module.check option instead. , # This would be remove in the future, Prefer _module.check option instead.
check ? true check ? true
# Internal variable to avoid `_key` collisions regardless
# of `extendModules`. Used in `submoduleWith`.
# Test case: lib/tests/modules, "168767"
, extensionOffset ? 0
}: }:
let let
withWarnings = x: withWarnings = x:
@ -345,17 +341,15 @@ rec {
modules ? [], modules ? [],
specialArgs ? {}, specialArgs ? {},
prefix ? [], prefix ? [],
extensionOffset ? length modules,
}: }:
evalModules (evalModulesArgs // { evalModules (evalModulesArgs // {
modules = regularModules ++ modules; modules = regularModules ++ modules;
specialArgs = evalModulesArgs.specialArgs or {} // specialArgs; specialArgs = evalModulesArgs.specialArgs or {} // specialArgs;
prefix = extendArgs.prefix or evalModulesArgs.prefix or []; prefix = extendArgs.prefix or evalModulesArgs.prefix or [];
inherit extensionOffset;
}); });
type = lib.types.submoduleWith { type = lib.types.submoduleWith {
inherit modules specialArgs extensionOffset; inherit modules specialArgs;
}; };
result = withWarnings { result = withWarnings {

View file

@ -194,6 +194,10 @@ checkConfigOutput '^"submodule"$' options.submodule.type.description ./declare-s
## Paths should be allowed as values and work as expected ## Paths should be allowed as values and work as expected
checkConfigOutput '^true$' config.submodule.enable ./declare-submoduleWith-path.nix checkConfigOutput '^true$' config.submodule.enable ./declare-submoduleWith-path.nix
# Check the file location information is propagated into submodules
checkConfigOutput the-file.nix config.submodule.internalFiles.0 ./submoduleFiles.nix
# Check that disabledModules works recursively and correctly # Check that disabledModules works recursively and correctly
checkConfigOutput '^true$' config.enable ./disable-recursive/main.nix checkConfigOutput '^true$' config.enable ./disable-recursive/main.nix
checkConfigOutput '^true$' config.enable ./disable-recursive/{main.nix,disable-foo.nix} checkConfigOutput '^true$' config.enable ./disable-recursive/{main.nix,disable-foo.nix}

View file

@ -0,0 +1,21 @@
{ lib, ... }: {
options.submodule = lib.mkOption {
default = {};
type = lib.types.submoduleWith {
modules = [ ({ options, ... }: {
options.value = lib.mkOption {};
options.internalFiles = lib.mkOption {
default = options.value.files;
};
})];
};
};
imports = [
{
_file = "the-file.nix";
submodule.value = 10;
}
];
}

View file

@ -571,28 +571,14 @@ rec {
, specialArgs ? {} , specialArgs ? {}
, shorthandOnlyDefinesConfig ? false , shorthandOnlyDefinesConfig ? false
, description ? null , description ? null
# Internal variable to avoid `_key` collisions regardless
# of `extendModules`. Wired through by `evalModules`.
# Test case: lib/tests/modules, "168767"
, extensionOffset ? 0
}@attrs: }@attrs:
let let
inherit (lib.modules) evalModules; inherit (lib.modules) evalModules;
shorthandToModule = if shorthandOnlyDefinesConfig == false allModules = defs: map ({ value, file }:
then value: value if isAttrs value && shorthandOnlyDefinesConfig
else value: { config = value; }; then { _file = file; config = value; }
else { _file = file; imports = [ value ]; }
allModules = defs: imap1 (n: { value, file }:
if isFunction value
then setFunctionArgs
(args: lib.modules.unifyModuleSyntax file "${toString file}-${toString (n + extensionOffset)}" (value args))
(functionArgs value)
else if isAttrs value
then
lib.modules.unifyModuleSyntax file "${toString file}-${toString (n + extensionOffset)}" (shorthandToModule value)
else value
) defs; ) defs;
base = evalModules { base = evalModules {
@ -632,7 +618,6 @@ rec {
(base.extendModules { (base.extendModules {
modules = [ { _module.args.name = last loc; } ] ++ allModules defs; modules = [ { _module.args.name = last loc; } ] ++ allModules defs;
prefix = loc; prefix = loc;
extensionOffset = extensionOffset + length defs;
}).config; }).config;
emptyValue = { value = {}; }; emptyValue = { value = {}; };
getSubOptions = prefix: (base.extendModules getSubOptions = prefix: (base.extendModules

View file

@ -1120,6 +1120,18 @@ final: prev:
meta.homepage = "https://github.com/hrsh7th/cmp-calc/"; meta.homepage = "https://github.com/hrsh7th/cmp-calc/";
}; };
cmp-clippy = buildVimPluginFrom2Nix {
pname = "cmp-clippy";
version = "2021-10-24";
src = fetchFromGitHub {
owner = "vappolinario";
repo = "cmp-clippy";
rev = "9f8dd021f7b9326407a439105b0c646983191a49";
sha256 = "02k0zwjbd98f76f3v46lvd8wfm8wibkh703g8vxr26yv1fwghs4n";
};
meta.homepage = "https://github.com/vappolinario/cmp-clippy/";
};
cmp-cmdline = buildVimPluginFrom2Nix { cmp-cmdline = buildVimPluginFrom2Nix {
pname = "cmp-cmdline"; pname = "cmp-cmdline";
version = "2022-05-02"; version = "2022-05-02";
@ -1132,6 +1144,18 @@ final: prev:
meta.homepage = "https://github.com/hrsh7th/cmp-cmdline/"; meta.homepage = "https://github.com/hrsh7th/cmp-cmdline/";
}; };
cmp-cmdline-history = buildVimPluginFrom2Nix {
pname = "cmp-cmdline-history";
version = "2022-05-04";
src = fetchFromGitHub {
owner = "dmitmel";
repo = "cmp-cmdline-history";
rev = "003573b72d4635ce636234a826fa8c4ba2895ffe";
sha256 = "1v2xyspm7k9jmnzbfg0js15c6sha7ravf4lddsk85icdw16fxji1";
};
meta.homepage = "https://github.com/dmitmel/cmp-cmdline-history/";
};
cmp-conjure = buildVimPluginFrom2Nix { cmp-conjure = buildVimPluginFrom2Nix {
pname = "cmp-conjure"; pname = "cmp-conjure";
version = "2021-10-09"; version = "2021-10-09";
@ -1144,6 +1168,66 @@ final: prev:
meta.homepage = "https://github.com/PaterJason/cmp-conjure/"; meta.homepage = "https://github.com/PaterJason/cmp-conjure/";
}; };
cmp-conventionalcommits = buildVimPluginFrom2Nix {
pname = "cmp-conventionalcommits";
version = "2021-10-28";
src = fetchFromGitHub {
owner = "davidsierradz";
repo = "cmp-conventionalcommits";
rev = "5518362bc4f5dfbc9d242d9379fdec48b6278c5e";
sha256 = "02jvz8sjrr4xw0wg5y03gnv5sc78gqvmblmqi02y748qgsd5grb6";
};
meta.homepage = "https://github.com/davidsierradz/cmp-conventionalcommits/";
};
cmp-copilot = buildVimPluginFrom2Nix {
pname = "cmp-copilot";
version = "2022-04-11";
src = fetchFromGitHub {
owner = "hrsh7th";
repo = "cmp-copilot";
rev = "1f3f31c54bd71e41ed157430702bc2837ea582ab";
sha256 = "14nza4r8vr58s74f3fpzlmvrv9lcxzvfvizkz71p47f1zgddhgfs";
};
meta.homepage = "https://github.com/hrsh7th/cmp-copilot/";
};
cmp-dap = buildVimPluginFrom2Nix {
pname = "cmp-dap";
version = "2022-04-27";
src = fetchFromGitHub {
owner = "rcarriga";
repo = "cmp-dap";
rev = "69f22863739482120f9240919db1ac7d4dea3278";
sha256 = "03cxmnbr4sn69dzg1fg4r7rgja4invzfgpid123mhahq6sn7jir9";
};
meta.homepage = "https://github.com/rcarriga/cmp-dap/";
};
cmp-dictionary = buildVimPluginFrom2Nix {
pname = "cmp-dictionary";
version = "2022-05-04";
src = fetchFromGitHub {
owner = "uga-rosa";
repo = "cmp-dictionary";
rev = "0ba3df56258b48a5a6a0130d31ae3cf4908c9567";
sha256 = "1ny42i913w476bwyrlkwkiv14bdakvnkqx26py45f9qlzrfqj2m5";
};
meta.homepage = "https://github.com/uga-rosa/cmp-dictionary/";
};
cmp-digraphs = buildVimPluginFrom2Nix {
pname = "cmp-digraphs";
version = "2021-12-13";
src = fetchFromGitHub {
owner = "dmitmel";
repo = "cmp-digraphs";
rev = "5efc1f0078d7c5f3ea1c8e3aad04da3fd6e081a9";
sha256 = "061rf7c4lfghsryldmgk5inmwa1994imp1j0l94qgaig6s6hb0kg";
};
meta.homepage = "https://github.com/dmitmel/cmp-digraphs/";
};
cmp-emoji = buildVimPluginFrom2Nix { cmp-emoji = buildVimPluginFrom2Nix {
pname = "cmp-emoji"; pname = "cmp-emoji";
version = "2021-09-28"; version = "2021-09-28";
@ -1156,6 +1240,66 @@ final: prev:
meta.homepage = "https://github.com/hrsh7th/cmp-emoji/"; meta.homepage = "https://github.com/hrsh7th/cmp-emoji/";
}; };
cmp-fish = buildVimPluginFrom2Nix {
pname = "cmp-fish";
version = "2022-02-17";
src = fetchFromGitHub {
owner = "mtoohey31";
repo = "cmp-fish";
rev = "2ce8febeff3e4600acac498b7cde72cc9d2dd7b1";
sha256 = "1clarmx43ygwsaxy73cgy86i33vjrfzr53z7ym29ynndb7zlzg6v";
};
meta.homepage = "https://github.com/mtoohey31/cmp-fish/";
};
cmp-fuzzy-buffer = buildVimPluginFrom2Nix {
pname = "cmp-fuzzy-buffer";
version = "2022-01-13";
src = fetchFromGitHub {
owner = "tzachar";
repo = "cmp-fuzzy-buffer";
rev = "c00e59019c5b3c00cb5590f9ae1fad4446fb855d";
sha256 = "0zax13arc36db2w1l0xyriqskknnvg1wxs809737san70gh74p0w";
};
meta.homepage = "https://github.com/tzachar/cmp-fuzzy-buffer/";
};
cmp-fuzzy-path = buildVimPluginFrom2Nix {
pname = "cmp-fuzzy-path";
version = "2022-05-08";
src = fetchFromGitHub {
owner = "tzachar";
repo = "cmp-fuzzy-path";
rev = "8c1ecaaf8bf16bc4af4eaaaac73ff5a29174406b";
sha256 = "0c607vljcf5zwxvfj4s1vmqridwpwql7zynwc38zx9lafv7l2djb";
};
meta.homepage = "https://github.com/tzachar/cmp-fuzzy-path/";
};
cmp-git = buildVimPluginFrom2Nix {
pname = "cmp-git";
version = "2022-05-11";
src = fetchFromGitHub {
owner = "petertriho";
repo = "cmp-git";
rev = "60e3de62b925ea05c7aa37883408859c72d498fb";
sha256 = "0qbfby0b7ix1x5ak130ja2h1ngq0p20jb9msr29bijfy68afpdw1";
};
meta.homepage = "https://github.com/petertriho/cmp-git/";
};
cmp-greek = buildVimPluginFrom2Nix {
pname = "cmp-greek";
version = "2022-01-10";
src = fetchFromGitHub {
owner = "max397574";
repo = "cmp-greek";
rev = "799110b976f9194055e9d506931ac38171bc6bcd";
sha256 = "049xi4ifla86fd5k68vqxwxxq5hg05y24z7yqg671hbw3lzpi0h9";
};
meta.homepage = "https://github.com/max397574/cmp-greek/";
};
cmp-latex-symbols = buildVimPluginFrom2Nix { cmp-latex-symbols = buildVimPluginFrom2Nix {
pname = "cmp-latex-symbols"; pname = "cmp-latex-symbols";
version = "2021-09-10"; version = "2021-09-10";
@ -1168,6 +1312,42 @@ final: prev:
meta.homepage = "https://github.com/kdheepak/cmp-latex-symbols/"; meta.homepage = "https://github.com/kdheepak/cmp-latex-symbols/";
}; };
cmp-look = buildVimPluginFrom2Nix {
pname = "cmp-look";
version = "2022-03-21";
src = fetchFromGitHub {
owner = "octaltree";
repo = "cmp-look";
rev = "58dd22adc34d21f95b93407719aa8a894c52c235";
sha256 = "107nvm4xgd3bhz0sqxx4bj19xjli4c52r6jyajw50bv0my2afihq";
};
meta.homepage = "https://github.com/octaltree/cmp-look/";
};
cmp-neosnippet = buildVimPluginFrom2Nix {
pname = "cmp-neosnippet";
version = "2022-01-06";
src = fetchFromGitHub {
owner = "notomo";
repo = "cmp-neosnippet";
rev = "2d14526af3f02dcea738b4cea520e6ce55c09979";
sha256 = "0xf3nfkgbrfhac8nadkzq22pzi9gsidax4ddavqkqqivlcgllrgf";
};
meta.homepage = "https://github.com/notomo/cmp-neosnippet/";
};
cmp-npm = buildVimPluginFrom2Nix {
pname = "cmp-npm";
version = "2021-10-27";
src = fetchFromGitHub {
owner = "David-Kunz";
repo = "cmp-npm";
rev = "4b6166c3feeaf8dae162e33ee319dc5880e44a29";
sha256 = "0lkrbj5pswyb161hi424bii394qfdhm7v86x18a5fs2cmkwi0222";
};
meta.homepage = "https://github.com/David-Kunz/cmp-npm/";
};
cmp-nvim-lsp = buildVimPluginFrom2Nix { cmp-nvim-lsp = buildVimPluginFrom2Nix {
pname = "cmp-nvim-lsp"; pname = "cmp-nvim-lsp";
version = "2022-05-16"; version = "2022-05-16";
@ -1192,6 +1372,18 @@ final: prev:
meta.homepage = "https://github.com/hrsh7th/cmp-nvim-lsp-document-symbol/"; meta.homepage = "https://github.com/hrsh7th/cmp-nvim-lsp-document-symbol/";
}; };
cmp-nvim-lsp-signature-help = buildVimPluginFrom2Nix {
pname = "cmp-nvim-lsp-signature-help";
version = "2022-03-29";
src = fetchFromGitHub {
owner = "hrsh7th";
repo = "cmp-nvim-lsp-signature-help";
rev = "8014f6d120f72fe0a135025c4d41e3fe41fd411b";
sha256 = "1k61aw9mp012h625jqrf311vnsm2rg27k08lxa4nv8kp6nk7il29";
};
meta.homepage = "https://github.com/hrsh7th/cmp-nvim-lsp-signature-help/";
};
cmp-nvim-lua = buildVimPluginFrom2Nix { cmp-nvim-lua = buildVimPluginFrom2Nix {
pname = "cmp-nvim-lua"; pname = "cmp-nvim-lua";
version = "2021-10-11"; version = "2021-10-11";
@ -1204,6 +1396,18 @@ final: prev:
meta.homepage = "https://github.com/hrsh7th/cmp-nvim-lua/"; meta.homepage = "https://github.com/hrsh7th/cmp-nvim-lua/";
}; };
cmp-nvim-tags = buildVimPluginFrom2Nix {
pname = "cmp-nvim-tags";
version = "2022-03-31";
src = fetchFromGitHub {
owner = "quangnguyen30192";
repo = "cmp-nvim-tags";
rev = "98b15fee0cd64760345be3a30f1a592b5a9abb20";
sha256 = "19fgzaxapazrl07q0ikximgm8k77vasz5fras3xnbax7r3bln127";
};
meta.homepage = "https://github.com/quangnguyen30192/cmp-nvim-tags/";
};
cmp-nvim-ultisnips = buildVimPluginFrom2Nix { cmp-nvim-ultisnips = buildVimPluginFrom2Nix {
pname = "cmp-nvim-ultisnips"; pname = "cmp-nvim-ultisnips";
version = "2022-04-22"; version = "2022-04-22";
@ -1240,6 +1444,18 @@ final: prev:
meta.homepage = "https://github.com/jc-doyle/cmp-pandoc-references/"; meta.homepage = "https://github.com/jc-doyle/cmp-pandoc-references/";
}; };
cmp-pandoc-nvim = buildVimPluginFrom2Nix {
pname = "cmp-pandoc.nvim";
version = "2022-05-03";
src = fetchFromGitHub {
owner = "aspeddro";
repo = "cmp-pandoc.nvim";
rev = "cb2980263e14fb3c1b776edbd2c7a312b67c65ae";
sha256 = "0d439njzdnm1qhnig2qr9ywq3q72vpb6wqxwil9czhqzn80swrj9";
};
meta.homepage = "https://github.com/aspeddro/cmp-pandoc.nvim/";
};
cmp-path = buildVimPluginFrom2Nix { cmp-path = buildVimPluginFrom2Nix {
pname = "cmp-path"; pname = "cmp-path";
version = "2022-02-02"; version = "2022-02-02";
@ -1252,6 +1468,30 @@ final: prev:
meta.homepage = "https://github.com/hrsh7th/cmp-path/"; meta.homepage = "https://github.com/hrsh7th/cmp-path/";
}; };
cmp-rg = buildVimPluginFrom2Nix {
pname = "cmp-rg";
version = "2022-01-13";
src = fetchFromGitHub {
owner = "lukas-reineke";
repo = "cmp-rg";
rev = "fd92d70ff36b30924401b0cf7d4ce7344c8235f7";
sha256 = "0z8knl4l5a7miw081h290s0g4icqqvn6qibr6jx4x71qwqb21w2y";
};
meta.homepage = "https://github.com/lukas-reineke/cmp-rg/";
};
cmp-snippy = buildVimPluginFrom2Nix {
pname = "cmp-snippy";
version = "2021-09-20";
src = fetchFromGitHub {
owner = "dcampos";
repo = "cmp-snippy";
rev = "9af1635fe40385ffa3dabf322039cb5ae1fd7d35";
sha256 = "1ag31kvd2q1awasdrc6pbbbsf0l3c99crz4h03337wj1kcssiixy";
};
meta.homepage = "https://github.com/dcampos/cmp-snippy/";
};
cmp-spell = buildVimPluginFrom2Nix { cmp-spell = buildVimPluginFrom2Nix {
pname = "cmp-spell"; pname = "cmp-spell";
version = "2021-10-19"; version = "2021-10-19";
@ -1312,6 +1552,30 @@ final: prev:
meta.homepage = "https://github.com/lukas-reineke/cmp-under-comparator/"; meta.homepage = "https://github.com/lukas-reineke/cmp-under-comparator/";
}; };
cmp-vim-lsp = buildVimPluginFrom2Nix {
pname = "cmp-vim-lsp";
version = "2021-10-26";
src = fetchFromGitHub {
owner = "dmitmel";
repo = "cmp-vim-lsp";
rev = "b13312a8c1a74a8747e64117f26f17390e8abfa8";
sha256 = "1f43qwxr8l2qj4mq1lfk5z3c0bqs8dlgyy1yj1acpnknrgi8572p";
};
meta.homepage = "https://github.com/dmitmel/cmp-vim-lsp/";
};
cmp-vimwiki-tags = buildVimPluginFrom2Nix {
pname = "cmp-vimwiki-tags";
version = "2022-04-25";
src = fetchFromGitHub {
owner = "pontusk";
repo = "cmp-vimwiki-tags";
rev = "a9e631c8f4d64e009d253f741b035eb5d1bd404f";
sha256 = "0j75bdcxbzm24mkq3lynm1crv5rqhw966aa7l27y12dlp6rbfvn0";
};
meta.homepage = "https://github.com/pontusk/cmp-vimwiki-tags/";
};
cmp-vsnip = buildVimPluginFrom2Nix { cmp-vsnip = buildVimPluginFrom2Nix {
pname = "cmp-vsnip"; pname = "cmp-vsnip";
version = "2021-11-10"; version = "2021-11-10";
@ -1324,6 +1588,18 @@ final: prev:
meta.homepage = "https://github.com/hrsh7th/cmp-vsnip/"; meta.homepage = "https://github.com/hrsh7th/cmp-vsnip/";
}; };
cmp-zsh = buildVimPluginFrom2Nix {
pname = "cmp-zsh";
version = "2022-01-18";
src = fetchFromGitHub {
owner = "tamago324";
repo = "cmp-zsh";
rev = "1d8133e5637c73b3eb392682ae9661d521738268";
sha256 = "0122lf44yqjp01znp7gnc682yx7fikjkzc5njp73lmys76321lz3";
};
meta.homepage = "https://github.com/tamago324/cmp-zsh/";
};
cmp_luasnip = buildVimPluginFrom2Nix { cmp_luasnip = buildVimPluginFrom2Nix {
pname = "cmp_luasnip"; pname = "cmp_luasnip";
version = "2022-05-01"; version = "2022-05-01";
@ -2662,6 +2938,18 @@ final: prev:
meta.homepage = "https://github.com/BeneCollyridam/futhark-vim/"; meta.homepage = "https://github.com/BeneCollyridam/futhark-vim/";
}; };
fuzzy-nvim = buildVimPluginFrom2Nix {
pname = "fuzzy.nvim";
version = "2022-02-20";
src = fetchFromGitHub {
owner = "tzachar";
repo = "fuzzy.nvim";
rev = "d5fee69b54ef400f0ccedf37917c4782e8929424";
sha256 = "1xnmwmbrjsfj3v4vk57gcf4l3wl9n8jks50ds8gaawz5bpy54yff";
};
meta.homepage = "https://github.com/tzachar/fuzzy.nvim/";
};
fwatch-nvim = buildVimPluginFrom2Nix { fwatch-nvim = buildVimPluginFrom2Nix {
pname = "fwatch.nvim"; pname = "fwatch.nvim";
version = "2021-07-25"; version = "2021-07-25";
@ -5290,6 +5578,18 @@ final: prev:
meta.homepage = "https://github.com/dstein64/nvim-scrollview/"; meta.homepage = "https://github.com/dstein64/nvim-scrollview/";
}; };
nvim-snippy = buildVimPluginFrom2Nix {
pname = "nvim-snippy";
version = "2022-05-01";
src = fetchFromGitHub {
owner = "dcampos";
repo = "nvim-snippy";
rev = "a4512c9a9c0de83494fac66d02e04ff4f0805cae";
sha256 = "0vaabj2m84ba3ryl6n5s5rryjg06kjk571z6cmdgccff4lvq9d4v";
};
meta.homepage = "https://github.com/dcampos/nvim-snippy/";
};
nvim-solarized-lua = buildVimPluginFrom2Nix { nvim-solarized-lua = buildVimPluginFrom2Nix {
pname = "nvim-solarized-lua"; pname = "nvim-solarized-lua";
version = "2022-05-13"; version = "2022-05-13";

View file

@ -19,8 +19,10 @@
, code-minimap , code-minimap
, dasht , dasht
, direnv , direnv
, fish
, fzf , fzf
, gawk , gawk
, git
, gnome , gnome
, himalaya , himalaya
, jq , jq
@ -30,12 +32,15 @@
, meson , meson
, nim , nim
, nodePackages , nodePackages
, pandoc
, parinfer-rust , parinfer-rust
, ripgrep
, skim , skim
, sqlite , sqlite
, statix , statix
, stylish-haskell , stylish-haskell
, tabnine , tabnine
, tmux
, tup , tup
, vim , vim
, which , which
@ -45,6 +50,7 @@
, nodejs , nodejs
, xdotool , xdotool
, xorg , xorg
, zsh
# test dependencies # test dependencies
, neovim-unwrapped , neovim-unwrapped
@ -133,6 +139,74 @@ self: super: {
''; '';
}); });
cmp-clippy = super.cmp-clippy.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp plenary-nvim ];
});
cmp-copilot = super.cmp-copilot.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp copilot-vim ];
});
cmp-dap = super.cmp-dap.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp nvim-dap ];
});
cmp-dictionary = super.cmp-dictionary.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp ];
});
cmp-digraphs = super.cmp-digraphs.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp ];
});
cmp-fish = super.cmp-fish.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp fish ];
});
cmp-fuzzy-buffer = super.cmp-fuzzy-buffer.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp fuzzy-nvim ];
});
cmp-fuzzy-path = super.cmp-fuzzy-path.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp fuzzy-nvim ];
});
cmp-git = super.cmp-git.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp curl git ];
});
cmp-greek = super.cmp-greek.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp ];
});
cmp-look = super.cmp-look.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp ];
});
cmp-neosnippet = super.cmp-neosnippet.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp neosnippet-vim ];
});
cmp-npm = super.cmp-npm.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp nodejs plenary-nvim ];
});
cmp-nvim-lsp-signature-help = super.cmp-nvim-lsp-signature-help.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp ];
});
cmp-pandoc-nvim = super.cmp-pandoc-nvim.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp pandoc plenary-nvim ];
});
cmp-rg = super.cmp-rg.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp ripgrep ];
});
cmp-snippy = super.cmp-snippy.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp nvim-snippy ];
});
cmp-tabnine = super.cmp-tabnine.overrideAttrs (old: { cmp-tabnine = super.cmp-tabnine.overrideAttrs (old: {
buildInputs = [ tabnine ]; buildInputs = [ tabnine ];
@ -142,6 +216,26 @@ self: super: {
''; '';
}); });
cmp-nvim-tags = super.cmp-nvim-tags.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp ];
});
cmp-tmux = super.cmp-tmux.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp tmux ];
});
cmp-vimwiki-tags = super.cmp-vimwiki-tags.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp vimwiki ];
});
cmp-vim-lsp = super.cmp-vim-lsp.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp vim-lsp ];
});
cmp-zsh = super.cmp-zsh.overrideAttrs (old: {
dependencies = with self; [ nvim-cmp zsh ];
});
command-t = super.command-t.overrideAttrs (old: { command-t = super.command-t.overrideAttrs (old: {
buildInputs = [ ruby rake ]; buildInputs = [ ruby rake ];
buildPhase = '' buildPhase = ''
@ -294,6 +388,10 @@ self: super: {
''; '';
}); });
fuzzy-nvim = super.fuzzy-nvim.overrideAttrs (old: {
dependencies = with self; [ telescope-fzy-native-nvim ];
});
fzf-checkout-vim = super.fzf-checkout-vim.overrideAttrs (old: { fzf-checkout-vim = super.fzf-checkout-vim.overrideAttrs (old: {
# The plugin has a makefile which tries to run tests in a docker container. # The plugin has a makefile which tries to run tests in a docker container.
# This prevents it. # This prevents it.

View file

@ -94,23 +94,46 @@ https://github.com/bbchung/clighter8/,,
https://github.com/winston0410/cmd-parser.nvim/,, https://github.com/winston0410/cmd-parser.nvim/,,
https://github.com/hrsh7th/cmp-buffer/,, https://github.com/hrsh7th/cmp-buffer/,,
https://github.com/hrsh7th/cmp-calc/,, https://github.com/hrsh7th/cmp-calc/,,
https://github.com/vappolinario/cmp-clippy/,HEAD,
https://github.com/hrsh7th/cmp-cmdline/,, https://github.com/hrsh7th/cmp-cmdline/,,
https://github.com/dmitmel/cmp-cmdline-history/,HEAD,
https://github.com/PaterJason/cmp-conjure/,, https://github.com/PaterJason/cmp-conjure/,,
https://github.com/davidsierradz/cmp-conventionalcommits/,HEAD,
https://github.com/hrsh7th/cmp-copilot/,HEAD,
https://github.com/rcarriga/cmp-dap/,HEAD,
https://github.com/uga-rosa/cmp-dictionary/,HEAD,
https://github.com/dmitmel/cmp-digraphs/,HEAD,
https://github.com/hrsh7th/cmp-emoji/,, https://github.com/hrsh7th/cmp-emoji/,,
https://github.com/mtoohey31/cmp-fish/,HEAD,
https://github.com/tzachar/cmp-fuzzy-buffer/,HEAD,
https://github.com/tzachar/cmp-fuzzy-path/,HEAD,
https://github.com/petertriho/cmp-git/,HEAD,
https://github.com/max397574/cmp-greek/,HEAD,
https://github.com/kdheepak/cmp-latex-symbols/,, https://github.com/kdheepak/cmp-latex-symbols/,,
https://github.com/octaltree/cmp-look/,HEAD,
https://github.com/notomo/cmp-neosnippet/,HEAD,
https://github.com/David-Kunz/cmp-npm/,HEAD,
https://github.com/hrsh7th/cmp-nvim-lsp/,, https://github.com/hrsh7th/cmp-nvim-lsp/,,
https://github.com/hrsh7th/cmp-nvim-lsp-document-symbol/,, https://github.com/hrsh7th/cmp-nvim-lsp-document-symbol/,,
https://github.com/hrsh7th/cmp-nvim-lsp-signature-help/,HEAD,
https://github.com/hrsh7th/cmp-nvim-lua/,, https://github.com/hrsh7th/cmp-nvim-lua/,,
https://github.com/quangnguyen30192/cmp-nvim-tags/,HEAD,
https://github.com/quangnguyen30192/cmp-nvim-ultisnips/,, https://github.com/quangnguyen30192/cmp-nvim-ultisnips/,,
https://github.com/hrsh7th/cmp-omni/,, https://github.com/hrsh7th/cmp-omni/,,
https://github.com/jc-doyle/cmp-pandoc-references/,, https://github.com/jc-doyle/cmp-pandoc-references/,,
https://github.com/aspeddro/cmp-pandoc.nvim/,HEAD,
https://github.com/hrsh7th/cmp-path/,, https://github.com/hrsh7th/cmp-path/,,
https://github.com/lukas-reineke/cmp-rg/,HEAD,
https://github.com/dcampos/cmp-snippy/,HEAD,
https://github.com/f3fora/cmp-spell/,, https://github.com/f3fora/cmp-spell/,,
https://github.com/tzachar/cmp-tabnine/,, https://github.com/tzachar/cmp-tabnine/,,
https://github.com/andersevenrud/cmp-tmux/,, https://github.com/andersevenrud/cmp-tmux/,,
https://github.com/ray-x/cmp-treesitter/,, https://github.com/ray-x/cmp-treesitter/,,
https://github.com/lukas-reineke/cmp-under-comparator/,, https://github.com/lukas-reineke/cmp-under-comparator/,,
https://github.com/dmitmel/cmp-vim-lsp/,HEAD,
https://github.com/pontusk/cmp-vimwiki-tags/,HEAD,
https://github.com/hrsh7th/cmp-vsnip/,, https://github.com/hrsh7th/cmp-vsnip/,,
https://github.com/tamago324/cmp-zsh/,HEAD,
https://github.com/saadparwaiz1/cmp_luasnip/,, https://github.com/saadparwaiz1/cmp_luasnip/,,
https://github.com/vn-ki/coc-clap/,, https://github.com/vn-ki/coc-clap/,,
https://github.com/neoclide/coc-denite/,, https://github.com/neoclide/coc-denite/,,
@ -222,6 +245,7 @@ https://github.com/rafamadriz/friendly-snippets/,,
https://github.com/raghur/fruzzy/,, https://github.com/raghur/fruzzy/,,
https://github.com/shumphrey/fugitive-gitlab.vim/,, https://github.com/shumphrey/fugitive-gitlab.vim/,,
https://github.com/BeneCollyridam/futhark-vim/,, https://github.com/BeneCollyridam/futhark-vim/,,
https://github.com/tzachar/fuzzy.nvim/,HEAD,
https://github.com/rktjmp/fwatch.nvim/,, https://github.com/rktjmp/fwatch.nvim/,,
https://github.com/stsewd/fzf-checkout.vim/,, https://github.com/stsewd/fzf-checkout.vim/,,
https://github.com/monkoose/fzf-hoogle.vim/,HEAD, https://github.com/monkoose/fzf-hoogle.vim/,HEAD,
@ -445,6 +469,7 @@ https://github.com/yamatsum/nvim-nonicons/,,
https://github.com/rcarriga/nvim-notify/,, https://github.com/rcarriga/nvim-notify/,,
https://github.com/gennaro-tedesco/nvim-peekup/,, https://github.com/gennaro-tedesco/nvim-peekup/,,
https://github.com/dstein64/nvim-scrollview/,, https://github.com/dstein64/nvim-scrollview/,,
https://github.com/dcampos/nvim-snippy/,HEAD,
https://github.com/ishan9299/nvim-solarized-lua/,, https://github.com/ishan9299/nvim-solarized-lua/,,
https://github.com/nvim-pack/nvim-spectre/,, https://github.com/nvim-pack/nvim-spectre/,,
https://github.com/norcalli/nvim-terminal.lua/,, https://github.com/norcalli/nvim-terminal.lua/,,

View file

@ -2,10 +2,10 @@
let let
pname = "raven-reader"; pname = "raven-reader";
version = "1.0.72"; version = "1.0.73";
src = fetchurl { src = fetchurl {
url = "https://github.com/hello-efficiency-inc/raven-reader/releases/download/v${version}/Raven-Reader-${version}.AppImage"; url = "https://github.com/hello-efficiency-inc/raven-reader/releases/download/v${version}/Raven-Reader-${version}.AppImage";
sha256 = "sha256-Sx02VMAgmncT9f5Hvs0LugzhD6Z8cWXHx4kn8IG9seU="; sha256 = "sha256-wU99+nDXHGMad94qszw5uThKckk1ToUvjNrIf/yTeTM=";
}; };
appimageContents = appimageTools.extractType2 { inherit pname version src; }; appimageContents = appimageTools.extractType2 { inherit pname version src; };

View file

@ -0,0 +1,60 @@
{ lib, stdenv, fetchurl, patchelf, gmp }:
let
dynamic-linker = stdenv.cc.bintools.dynamicLinker;
in
stdenv.mkDerivation rec {
pname = "mlton";
version = "20210107";
src =
if stdenv.hostPlatform.system == "x86_64-linux" then
(fetchurl {
url = "https://github.com/MLton/mlton/releases/download/on-${version}-release/${pname}-${version}-1.amd64-linux-glibc2.31.tgz.tgz";
sha256 = "0f4q575yfm5dpg4a2wsnqn4l2zrar96p6rlsk0dw10ggyfwvsjlf";
})
else if stdenv.hostPlatform.system == "x86_64-darwin" then
(fetchurl {
url = "https://github.com/MLton/mlton/releases/download/on-${version}-release/${pname}-${version}-1.amd64-darwin-19.6.gmp-static.tgz";
sha256 = "1cw7yhw48qp12q0adwf8srpjzrgkp84kmlkqw3pz8vkxz4p9hbdv";
})
else
throw "Architecture not supported";
buildInputs = [ gmp ];
nativeBuildInputs = lib.optional stdenv.isLinux patchelf;
buildPhase = ''
make update \
CC="$(type -p cc)" \
WITH_GMP_INC_DIR="${gmp.dev}/include" \
WITH_GMP_LIB_DIR="${gmp}/lib"
'';
installPhase = ''
make install PREFIX=$out
'';
postFixup = lib.optionalString stdenv.isLinux ''
patchelf --set-interpreter ${dynamic-linker} $out/lib/mlton/mlton-compile
patchelf --set-rpath ${gmp}/lib $out/lib/mlton/mlton-compile
for e in mllex mlnlffigen mlprof mlyacc; do
patchelf --set-interpreter ${dynamic-linker} $out/bin/$e
patchelf --set-rpath ${gmp}/lib $out/bin/$e
done
'' + lib.optionalString stdenv.isDarwin ''
install_name_tool -change \
/opt/local/lib/libgmp.10.dylib \
${gmp}/lib/libgmp.10.dylib \
$out/lib/mlton/mlton-compile
for e in mllex mlnlffigen mlprof mlyacc; do
install_name_tool -change \
/opt/local/lib/libgmp.10.dylib \
${gmp}/lib/libgmp.10.dylib \
$out/bin/$e
done
'';
meta = import ./meta.nix;
}

View file

@ -1,9 +1,9 @@
{ callPackage }: { callPackage }:
rec { rec {
mlton20130715 = callPackage ./20130715.nix {}; mlton20130715 = callPackage ./20130715.nix { };
mlton20180207Binary = callPackage ./20180207-binary.nix {}; mlton20180207Binary = callPackage ./20180207-binary.nix { };
mlton20180207 = callPackage ./from-git-source.nix { mlton20180207 = callPackage ./from-git-source.nix {
mltonBootstrap = mlton20180207Binary; mltonBootstrap = mlton20180207Binary;
@ -12,10 +12,19 @@ rec {
sha256 = "00rdd2di5x1dzac64il9z05m3fdzicjd3226wwjyynv631jj3q2a"; sha256 = "00rdd2di5x1dzac64il9z05m3fdzicjd3226wwjyynv631jj3q2a";
}; };
mlton20210107Binary = callPackage ./20210107-binary.nix { };
mlton20210107 = callPackage ./from-git-source.nix {
mltonBootstrap = mlton20180207Binary;
version = "20210107";
rev = "on-20210117-release";
sha256 = "sha256-rqL8lnzVVR+5Hc7sWXK8dCXN92dU76qSoii3/4StODM=";
};
mltonHEAD = callPackage ./from-git-source.nix { mltonHEAD = callPackage ./from-git-source.nix {
mltonBootstrap = mlton20180207Binary; mltonBootstrap = mlton20180207Binary;
version = "HEAD"; version = "HEAD";
rev = "e149c9917cfbfe6aba5c986a958ed76d5cc6cfde"; rev = "875f7912a0b135a9a7e86a04ecac9cacf0bfe5e5";
sha256 = "0a0j1i0f0fxw2my1309srq5j3vz0kawrrln01gxms2m5hy5dl50d"; sha256 = "sha256-/MIoVqqv8qrJPehU7VRFpXtAAo8UUzE3waEvB7WnS9A=";
}; };
} }

View file

@ -1,20 +1,35 @@
{ lib, stdenv, fetchFromGitHub, makeWrapper { lib
, meson, ninja, pkg-config, wayland-protocols , stdenv
, pipewire, wayland, systemd, libdrm, inih, scdoc, grim, slurp }: , fetchFromGitHub
, makeWrapper
, meson
, ninja
, pkg-config
, wayland-protocols
, grim
, inih
, libdrm
, mesa
, pipewire
, scdoc
, slurp
, systemd
, wayland
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "xdg-desktop-portal-wlr"; pname = "xdg-desktop-portal-wlr";
version = "0.5.0"; version = "0.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "emersion"; owner = "emersion";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-weePlNcLmZ3R0IDQ95p0wQvsKTYp+sVlTENJtF8Z78Y="; sha256 = "sha256-UztkfvMIbslPd/d262NZFb6WfESc9nBsSSH96BA4Aqw=";
}; };
nativeBuildInputs = [ meson ninja pkg-config wayland-protocols makeWrapper ]; nativeBuildInputs = [ meson ninja pkg-config wayland-protocols makeWrapper ];
buildInputs = [ pipewire wayland systemd libdrm inih scdoc ]; buildInputs = [ inih libdrm mesa pipewire scdoc systemd wayland ];
mesonFlags = [ mesonFlags = [
"-Dsd-bus-provider=libsystemd" "-Dsd-bus-provider=libsystemd"

View file

@ -13,13 +13,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "enaml"; pname = "enaml";
version = "0.15.0"; version = "0.15.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nucleic"; owner = "nucleic";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
sha256 = "sha256-xSMgT8VooDS5kvf4BCcVbv/MNfRDTVnPKU3Ou+/Gq7I="; sha256 = "sha256-kS15x7fZsHlARh1ILsQpJnwozutuoIysTCCKwkNCa7Y=";
}; };
# qt bindings cannot be found during tests # qt bindings cannot be found during tests

View file

@ -30,6 +30,7 @@
tree-sitter-glimmer = lib.importJSON ./tree-sitter-glimmer.json; tree-sitter-glimmer = lib.importJSON ./tree-sitter-glimmer.json;
tree-sitter-glsl = lib.importJSON ./tree-sitter-glsl.json; tree-sitter-glsl = lib.importJSON ./tree-sitter-glsl.json;
tree-sitter-go = lib.importJSON ./tree-sitter-go.json; tree-sitter-go = lib.importJSON ./tree-sitter-go.json;
tree-sitter-gowork = lib.importJSON ./tree-sitter-gowork.json;
tree-sitter-godot-resource = lib.importJSON ./tree-sitter-godot-resource.json; tree-sitter-godot-resource = lib.importJSON ./tree-sitter-godot-resource.json;
tree-sitter-gomod = lib.importJSON ./tree-sitter-gomod.json; tree-sitter-gomod = lib.importJSON ./tree-sitter-gomod.json;
tree-sitter-graphql = lib.importJSON ./tree-sitter-graphql.json; tree-sitter-graphql = lib.importJSON ./tree-sitter-graphql.json;
@ -68,6 +69,7 @@
tree-sitter-query = lib.importJSON ./tree-sitter-query.json; tree-sitter-query = lib.importJSON ./tree-sitter-query.json;
tree-sitter-r = lib.importJSON ./tree-sitter-r.json; tree-sitter-r = lib.importJSON ./tree-sitter-r.json;
tree-sitter-regex = lib.importJSON ./tree-sitter-regex.json; tree-sitter-regex = lib.importJSON ./tree-sitter-regex.json;
tree-sitter-rego = lib.importJSON ./tree-sitter-rego.json;
tree-sitter-rst = lib.importJSON ./tree-sitter-rst.json; tree-sitter-rst = lib.importJSON ./tree-sitter-rst.json;
tree-sitter-ruby = lib.importJSON ./tree-sitter-ruby.json; tree-sitter-ruby = lib.importJSON ./tree-sitter-ruby.json;
tree-sitter-rust = lib.importJSON ./tree-sitter-rust.json; tree-sitter-rust = lib.importJSON ./tree-sitter-rust.json;
@ -75,6 +77,7 @@
tree-sitter-scheme = lib.importJSON ./tree-sitter-scheme.json; tree-sitter-scheme = lib.importJSON ./tree-sitter-scheme.json;
tree-sitter-scss = lib.importJSON ./tree-sitter-scss.json; tree-sitter-scss = lib.importJSON ./tree-sitter-scss.json;
tree-sitter-sparql = lib.importJSON ./tree-sitter-sparql.json; tree-sitter-sparql = lib.importJSON ./tree-sitter-sparql.json;
tree-sitter-sql = lib.importJSON ./tree-sitter-sql.json;
tree-sitter-supercollider = lib.importJSON ./tree-sitter-supercollider.json; tree-sitter-supercollider = lib.importJSON ./tree-sitter-supercollider.json;
tree-sitter-surface = lib.importJSON ./tree-sitter-surface.json; tree-sitter-surface = lib.importJSON ./tree-sitter-surface.json;
tree-sitter-svelte = lib.importJSON ./tree-sitter-svelte.json; tree-sitter-svelte = lib.importJSON ./tree-sitter-svelte.json;

View file

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/sogaiu/tree-sitter-clojure", "url": "https://github.com/sogaiu/tree-sitter-clojure",
"rev": "879f0e726295807d917d576fcf9e1e432c4c20fc", "rev": "e57c569ae332ca365da623712ae1f50f84daeae2",
"date": "2022-04-11T22:46:47+09:00", "date": "2022-06-03T17:55:54+09:00",
"path": "/nix/store/19bcj8f61w958njvksnqzm5r5s8szzz2-tree-sitter-clojure", "path": "/nix/store/fx58zcfxr983yczijs6cgdfa3158bl0s-tree-sitter-clojure",
"sha256": "16g7s819gjgdc4wlp7rnvyv5i5dqa1yawxs8l4ggnz8n8acqza9n", "sha256": "0hq8rv4s0gzbfv3qj4gsrm87baiy6k1hyfbhbbpwbrcpd8jl7gdn",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View file

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/elm-tooling/tree-sitter-elm", "url": "https://github.com/elm-tooling/tree-sitter-elm",
"rev": "5128296ba8542853d59e6b7c8dfe3d1fb9a637ea", "rev": "a9a8efad446f78db3989d7ed8517987daf510c83",
"date": "2022-02-04T13:10:25+01:00", "date": "2022-06-07T23:23:33+02:00",
"path": "/nix/store/8brpvn8y88x3f3dsbgqql57kp9bygj3w-tree-sitter-elm", "path": "/nix/store/rqmldb72cml0qm7p8kpjlj064f5miprc-tree-sitter-elm",
"sha256": "10hbi4vyj4hjixqswdcbvzl60prldczz29mlp02if61wvwiwvqrw", "sha256": "11d9lrybhqi85lxr7gf8s4zxgbclnjiwn0w1mga3lsh9nnf50a4a",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View file

@ -0,0 +1,11 @@
{
"url": "https://github.com/omertuc/tree-sitter-go-work",
"rev": "6dd9dd79fb51e9f2abc829d5e97b15015b6a8ae2",
"date": "2021-12-18T20:13:22+01:00",
"path": "/nix/store/7a4raw2gi4xgbg858cs0davbplj7m8rq-tree-sitter-gowork",
"sha256": "1kzrs4rpby3b0h87rbr02k55k3mmkmdy7rvl11q95b3ym0smmyqb",
"fetchLFS": false,
"fetchSubmodules": false,
"deepClone": false,
"leaveDotGit": false
}

View file

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/tree-sitter/tree-sitter-haskell", "url": "https://github.com/tree-sitter/tree-sitter-haskell",
"rev": "1b54c3f39436bbded6593ac9e0103f9115bbbd2e", "rev": "ca0a13f1acb60cf32e74cced3cb623b6c70fa77c",
"date": "2022-05-19T19:09:09+02:00", "date": "2022-06-06T23:15:37+02:00",
"path": "/nix/store/d9825wx3mjjj76pcbbz4pd6fz5h0c2ag-tree-sitter-haskell", "path": "/nix/store/dmq8mc361rkhrpa5s06h1z9k8khkvi78-tree-sitter-haskell",
"sha256": "11brbizaw5m77hrmg6i5s437y4f1xgvfvjddfy1n39zpyf5x6nad", "sha256": "1r3mfnj1f6p2cqriay22jjfggrmyywimidzmzw8h5q84flngdg2s",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View file

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/MichaHoffmann/tree-sitter-hcl", "url": "https://github.com/MichaHoffmann/tree-sitter-hcl",
"rev": "3cb7fc28247efbcb2973b97e71c78838ad98a583", "rev": "4ff21306a71269c4ac814769b90b0ecf3194d21d",
"date": "2021-09-20T21:50:41+02:00", "date": "2022-06-02T20:13:06+02:00",
"path": "/nix/store/rgd0p162smlfn90ggyq3y6y4q9sgybwh-tree-sitter-hcl", "path": "/nix/store/jsn5dixjqqvwagcgwgjdr91igic2r42w-tree-sitter-hcl",
"sha256": "0hg7w3hsvxjwz1rb1izknn46msm4mkjx2cnq603lzn7i9mb1pbyr", "sha256": "1gvpl6kw83ywwd64ssz5xs4idc8ip2jmiz2mfy9xlkjbl9nfngci",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View file

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/connorlay/tree-sitter-heex", "url": "https://github.com/connorlay/tree-sitter-heex",
"rev": "57e46b4b002d5fb5c1f2706fe42380e544ecab5f", "rev": "4d8d646bba27ec11bbf76ea37410a604d2e18bfc",
"date": "2022-04-17T10:39:01-07:00", "date": "2022-06-09T17:09:44-05:00",
"path": "/nix/store/afmvzkh237ikn0b9fw51crzhyk4ys1d2-tree-sitter-heex", "path": "/nix/store/hcn9zl21asz1h6h2abqjpcc37sr56s6s-tree-sitter-heex",
"sha256": "0gfxqph5j3n3dlpnyw85lrwhgjh4zm7mdrnf0qyv0f2basayfabm", "sha256": "0s38g23npq4k2yfwijmp14wmk7klhlycr4jl9a1hnh8qqihxjbj1",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View file

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/latex-lsp/tree-sitter-latex", "url": "https://github.com/latex-lsp/tree-sitter-latex",
"rev": "104a5dea952d5f00150afd6a8436e6cad95ef718", "rev": "9cbe0c6be9455b6d3be19f51daef6d08732abab1",
"date": "2022-06-01T18:13:32+00:00", "date": "2022-06-05T08:50:52+02:00",
"path": "/nix/store/7y5r30ylv51rqn3d8wk088ni7k58nzpm-tree-sitter-latex", "path": "/nix/store/63i0iskmn862l0rm8gdkgs1bsxxpxw54-tree-sitter-latex",
"sha256": "0b78hpp76hkpjd38zjfc2z98ipnazk2aza83k4r754gj8yshhsqx", "sha256": "1ahij4lwg59xvzy2jn8i4rpp6bjz8pl7sqwn6a3rwal3d2x89b3d",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View file

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/tree-sitter/tree-sitter-php", "url": "https://github.com/tree-sitter/tree-sitter-php",
"rev": "fdbef3621b62e098d7c9a34669cbe8a8bd807bf2", "rev": "866e4a155739a1374da5247b876e70f8639005f6",
"date": "2022-06-01T15:02:43+02:00", "date": "2022-06-06T09:18:54+02:00",
"path": "/nix/store/rq8rljxmmnii1w2bw3n7224vmwnm0j1n-tree-sitter-php", "path": "/nix/store/23f9s4z321mnjnqfxjdj75rkcvwv2xpa-tree-sitter-php",
"sha256": "1bsdls8icmh6wnyhdibmxxignmdx3wh0bkcrwcwc7mc0xac5r4z2", "sha256": "11nagsvq2jsinrhsfpnylz1lkp6hiw3jndshnjvzvkjmmpavm1gr",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View file

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/victorhqc/tree-sitter-prisma", "url": "https://github.com/victorhqc/tree-sitter-prisma",
"rev": "0ac307e4be0409d4327082ddc737ed432a49dfc3", "rev": "17a59236ac25413b81b1613ea6ba5d8d52d7cd6c",
"date": "2022-04-20T10:52:00+02:00", "date": "2022-06-11T23:04:44+02:00",
"path": "/nix/store/24vp6k2ijg832c95hx2x0j8x4i6pxffz-tree-sitter-prisma", "path": "/nix/store/qdkwinjdy495z59wvxhifk8caksndswj-tree-sitter-prisma",
"sha256": "13rcwlkxv9dns7mgxrb34vzhq32c854bna6gsyczvs6vishm6i9l", "sha256": "1pw9mi6hhvww4i7gf7snl893b3hwnfwp18rhbcsf7z52cr78mmqi",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View file

@ -0,0 +1,11 @@
{
"url": "https://github.com/FallenAngel97/tree-sitter-rego",
"rev": "6bf5f8878bef2fb760508bff1ce0262a31925018",
"date": "2022-04-23T19:59:01+03:00",
"path": "/nix/store/gnbksy85s2z7b8c02im8liaa1d7g07my-tree-sitter-rego",
"sha256": "1ly2lhk4mfqmsg3pzv21ikzsxaz39bah3sgd3lcbaiqd0zzgbzks",
"fetchLFS": false,
"fetchSubmodules": false,
"deepClone": false,
"leaveDotGit": false
}

View file

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/tree-sitter/tree-sitter-scala", "url": "https://github.com/tree-sitter/tree-sitter-scala",
"rev": "8599058ef292e82203a1b23d10734dcbaf4d1b5c", "rev": "140c96cf398693189d4e50f76d19ddfcd8a018f8",
"date": "2022-05-09T16:17:13-07:00", "date": "2022-06-06T08:54:55+02:00",
"path": "/nix/store/q802q124fq79wwr6m4xfcdmgw6fzjigw-tree-sitter-scala", "path": "/nix/store/a1pi2xyaq2jjllbkj44xhi5cp0vnlnm4-tree-sitter-scala",
"sha256": "0i6qkgyv722jwma2rs0nf02jzl5dvml5m1whb7580qnza95x7py1", "sha256": "1hfx696x5pfww6zsfv36wkmxld14f02krmx55fy5rgzlz1m3xgja",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View file

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/6cdh/tree-sitter-scheme", "url": "https://github.com/6cdh/tree-sitter-scheme",
"rev": "1448396b310486e7d15e5e056713457cb0413bc2", "rev": "5bb5b2de83d548243fbcc77e76224882ffb4ce68",
"date": "2022-05-17T11:34:51+08:00", "date": "2022-06-07T22:14:20+08:00",
"path": "/nix/store/bhwsjp4salwmfq5cyvr0dd3al5s9xhsl-tree-sitter-scheme", "path": "/nix/store/jy8z2s9zmgxm8ziv39cqkkia52mq7mbx-tree-sitter-scheme",
"sha256": "1m9pzlzrmphx6162dq2nxry30wpjbsi1zhl4asjvmc0zy4r3427f", "sha256": "1cdbzmgkz3f1zbhgps9q1zvy1hnwwj5rlr5fp4jbvbnwp13pd04a",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View file

@ -0,0 +1,11 @@
{
"url": "https://github.com/m-novikov/tree-sitter-sql",
"rev": "2ec2fedbb38d09737e2a1cdd207f6416dc1cb109",
"date": "2022-06-11T22:57:56+02:00",
"path": "/nix/store/zzx4b5cnsrrdzkb5rbmx5d8vzbyr0rbi-tree-sitter-sql",
"sha256": "0dcpdshymyszsr1dflsr3j6ynrnrq0g4qdxqcz7d0anpwh3xw4cs",
"fetchLFS": false,
"fetchSubmodules": false,
"deepClone": false,
"leaveDotGit": false
}

View file

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/tree-sitter/tree-sitter-typescript", "url": "https://github.com/tree-sitter/tree-sitter-typescript",
"rev": "8e9dba7bd7cf089838a036a98be94db53ba2d0a9", "rev": "1b3ba31c7538825b05815f4f5bffcca6394edc63",
"date": "2022-04-13T09:44:02-07:00", "date": "2022-06-02T09:10:56-07:00",
"path": "/nix/store/188d0ki07nhmihrl2b868vmb9rd4hf4q-tree-sitter-typescript", "path": "/nix/store/g3q8azmyclcdns0ihwl5im46qlsfxbfj-tree-sitter-typescript",
"sha256": "010nnihmaw1a1l9mzjd1nmrb0z6j2h3pr872dzpdq7ajg0j3j1wl", "sha256": "1iw6823zh2m95gjmly34j49ixga07fhax7z6g2q6px06gj4fm5df",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View file

@ -122,6 +122,10 @@ let
orga = "MDeiml"; orga = "MDeiml";
repo = "tree-sitter-markdown"; repo = "tree-sitter-markdown";
}; };
"tree-sitter-rego" = {
orga = "FallenAngel97";
repo = "tree-sitter-rego";
};
"tree-sitter-rst" = { "tree-sitter-rst" = {
orga = "stsewd"; orga = "stsewd";
repo = "tree-sitter-rst"; repo = "tree-sitter-rst";
@ -130,6 +134,10 @@ let
orga = "Himujjal"; orga = "Himujjal";
repo = "tree-sitter-svelte"; repo = "tree-sitter-svelte";
}; };
"tree-sitter-sql" = {
orga = "m-novikov";
repo = "tree-sitter-sql";
};
"tree-sitter-vim" = { "tree-sitter-vim" = {
orga = "vigoux"; orga = "vigoux";
repo = "tree-sitter-viml"; repo = "tree-sitter-viml";
@ -178,6 +186,10 @@ let
orga = "camdencheek"; orga = "camdencheek";
repo = "tree-sitter-go-mod"; repo = "tree-sitter-go-mod";
}; };
"tree-sitter-gowork" = {
orga = "omertuc";
repo = "tree-sitter-go-work";
};
"tree-sitter-graphql" = { "tree-sitter-graphql" = {
orga = "bkegley"; orga = "bkegley";
repo = "tree-sitter-graphql"; repo = "tree-sitter-graphql";

View file

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "rnix-lsp"; pname = "rnix-lsp";
version = "0.2.4"; version = "0.2.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nix-community"; owner = "nix-community";
repo = "rnix-lsp"; repo = "rnix-lsp";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-MfD07ugYYbcRaNoLxOcH9+SPbRewNxbHJA5blCSb4EM="; sha256 = "sha256-WXpj2fgduYlF4t0QEvdfV1Eft8/nFXWF2zyEBKMUEIk=";
}; };
cargoSha256 = "sha256-23TJrJyfCuoOOOjZeWQnF/Ac0Xv2k6tZduuzapKvsgg="; cargoSha256 = "sha256-LfbmOhZJVthsLm8lnzHvEt7Vy27y4w4wpPfrf/s3s84=";
checkInputs = lib.optional (!stdenv.isDarwin) nix; checkInputs = lib.optional (!stdenv.isDarwin) nix;

View file

@ -1,21 +1,17 @@
{ stdenv, lib, rustPlatform, fetchFromGitHub, libiconv }: { lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "resvg"; pname = "resvg";
version = "0.22.0"; version = "0.23.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "RazrFalcon"; owner = "RazrFalcon";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-3WFzLyg6335twcAMIjzza9r45ljcFlAzvTqyqXOfs1A="; sha256 = "sha256-GiRLunAfDBqJtaq2ccQ3tvPDfmTg5OklkI6apAiMYL0=";
}; };
cargoSha256 = "sha256-twKiuxRpsiJu+hHrg6kUclX9+BWPUop492C+CkwQF2k="; cargoSha256 = "sha256-rFhmR3H2u5LBBUCK5mCfHvIevFjbIe+CQLS535mJ53w=";
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
doCheck = false;
meta = with lib; { meta = with lib; {
description = "An SVG rendering library"; description = "An SVG rendering library";

View file

@ -17,8 +17,8 @@ let
shas = shas =
if enableUnfree if enableUnfree
then { then {
x86_64-linux = "698b6000788e123b647c988993f710c6d9bc44eb8c8e6f97d6b18a695a61f0a6"; x86_64-linux = "35e50e05fba0240aa5b138bc1c81f67addaf557701f8df41c682b5bc708f7455";
x86_64-darwin = "35e50e05fba0240aa5b138bc1c81f67addaf557701f8df41c682b5bc708f7455"; x86_64-darwin = "698b6000788e123b647c988993f710c6d9bc44eb8c8e6f97d6b18a695a61f0a6";
aarch64-linux = "69694856fde11836eb1613bf3a2ba31fbdc933f58c8527b6180f6122c8bb528b"; aarch64-linux = "69694856fde11836eb1613bf3a2ba31fbdc933f58c8527b6180f6122c8bb528b";
} }
else { else {

View file

@ -0,0 +1,25 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "gowitness";
version = "2.4.0";
src = fetchFromGitHub {
owner = "sensepost";
repo = pname;
rev = version;
hash = "sha256-6O4pGsUu9tG3VAIGaD9aauXaVMhvK+HpEjByE0AwVnE=";
};
vendorSha256 = "sha256-6FgYDiz050ZlC1XBz7dKkVFKY7gkGhIm0ND23tMwxC8=";
meta = with lib; {
description = "Web screenshot utility";
homepage = "https://github.com/sensepost/gowitness";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,25 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "webanalyze";
version = "0.3.6";
src = fetchFromGitHub {
owner = "rverton";
repo = pname;
rev = "v${version}";
hash = "sha256-r5HIXh0mKCZmzOOAKThNUPtJLsTYvnVE8FYA6vV5xjg=";
};
vendorSha256 = "sha256-kXtWYGsZUUhBNvkTOah3Z+ta118k6PXfpBx6MLr/pq0=";
meta = with lib; {
description = "Tool to uncover technologies used on websites";
homepage = "https://github.com/rverton/webanalyze";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -2,7 +2,7 @@
buildGoModule rec { buildGoModule rec {
pname = "vale"; pname = "vale";
version = "2.17.0"; version = "2.18.0";
subPackages = [ "cmd/vale" ]; subPackages = [ "cmd/vale" ];
outputs = [ "out" "data" ]; outputs = [ "out" "data" ];
@ -11,7 +11,7 @@ buildGoModule rec {
owner = "errata-ai"; owner = "errata-ai";
repo = "vale"; repo = "vale";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-PUaIx6rEaLz0HUxkglsVHw0Kx/ovI2f4Yhknuysr5Gs="; sha256 = "sha256-hstjE3+1QQSeS1z8fNhxTJI81liW77CdkEP+aS3c2zM=";
}; };
vendorSha256 = "sha256-zdgLWEArmtHTDM844LoSJwKp0UGoAR8bHnFOSlrrjdg="; vendorSha256 = "sha256-zdgLWEArmtHTDM844LoSJwKp0UGoAR8bHnFOSlrrjdg=";

View file

@ -13598,9 +13598,10 @@ with pkgs;
mlton20130715 mlton20130715
mlton20180207Binary mlton20180207Binary
mlton20180207 mlton20180207
mlton20210107
mltonHEAD; mltonHEAD;
mlton = mlton20180207; mlton = mlton20210107;
mono = mono6; mono = mono6;
@ -30632,6 +30633,8 @@ with pkgs;
wayvnc = callPackage ../applications/networking/remote/wayvnc { }; wayvnc = callPackage ../applications/networking/remote/wayvnc { };
webanalyze = callPackage ../tools/security/webanalyze { };
webcamoid = libsForQt5.callPackage ../applications/video/webcamoid { }; webcamoid = libsForQt5.callPackage ../applications/video/webcamoid { };
webmacs = libsForQt5.callPackage ../applications/networking/browsers/webmacs {}; webmacs = libsForQt5.callPackage ../applications/networking/browsers/webmacs {};
@ -34116,6 +34119,8 @@ with pkgs;
gotestwaf = callPackage ../tools/security/gotestwaf { }; gotestwaf = callPackage ../tools/security/gotestwaf { };
gowitness = callPackage ../tools/security/gowitness { };
guetzli = callPackage ../applications/graphics/guetzli { }; guetzli = callPackage ../applications/graphics/guetzli { };
gummi = callPackage ../applications/misc/gummi { }; gummi = callPackage ../applications/misc/gummi { };