mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge staging-next into staging
This commit is contained in:
commit
d489b14cea
@ -692,6 +692,10 @@
|
|||||||
- `cargo-tauri.hook` was introduced to help users build [Tauri](https://tauri.app/) projects. It is meant to be used alongside
|
- `cargo-tauri.hook` was introduced to help users build [Tauri](https://tauri.app/) projects. It is meant to be used alongside
|
||||||
`rustPlatform.buildRustPackage` and Node hooks such as `npmConfigHook`, `pnpm.configHook`, and the new `yarnConfig`
|
`rustPlatform.buildRustPackage` and Node hooks such as `npmConfigHook`, `pnpm.configHook`, and the new `yarnConfig`
|
||||||
|
|
||||||
|
- `power.ups` now powers off UPSs during a power outage event.
|
||||||
|
This saves UPS battery and ensures that host(s) get back up again when power comes back, even in the scenario when the UPS would have had enough capacity to keep power on during the whole power outage.
|
||||||
|
If you like the old behaviour of keeping the UPSs on (and emptying the battery) after the host(s) have shut down, and risk not getting a power cycle event to get the host(s) back up, set `power.ups.upsmon.settings.POWERDOWNFLAG = null;`.
|
||||||
|
|
||||||
- Support for *runner registration tokens* has been [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/380872)
|
- Support for *runner registration tokens* has been [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/380872)
|
||||||
in `gitlab-runner` 15.6 and is expected to be removed in `gitlab-runner` 18.0. Configuration of existing runners
|
in `gitlab-runner` 15.6 and is expected to be removed in `gitlab-runner` 18.0. Configuration of existing runners
|
||||||
should be changed to using *runner authentication tokens* by configuring
|
should be changed to using *runner authentication tokens* by configuring
|
||||||
|
@ -309,8 +309,10 @@ let
|
|||||||
defaultText = lib.literalMD ''
|
defaultText = lib.literalMD ''
|
||||||
{
|
{
|
||||||
MINSUPPLIES = 1;
|
MINSUPPLIES = 1;
|
||||||
RUN_AS_USER = "root";
|
MONITOR = <generated from config.power.ups.upsmon.monitor>
|
||||||
NOTIFYCMD = "''${pkgs.nut}/bin/upssched";
|
NOTIFYCMD = "''${pkgs.nut}/bin/upssched";
|
||||||
|
POWERDOWNFLAG = "/run/killpower";
|
||||||
|
RUN_AS_USER = "root";
|
||||||
SHUTDOWNCMD = "''${pkgs.systemd}/bin/shutdown now";
|
SHUTDOWNCMD = "''${pkgs.systemd}/bin/shutdown now";
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
@ -330,11 +332,12 @@ let
|
|||||||
config = {
|
config = {
|
||||||
enable = lib.mkDefault (lib.elem cfg.mode [ "standalone" "netserver" "netclient" ]);
|
enable = lib.mkDefault (lib.elem cfg.mode [ "standalone" "netserver" "netclient" ]);
|
||||||
settings = {
|
settings = {
|
||||||
RUN_AS_USER = "root"; # TODO: replace 'root' by another username.
|
|
||||||
MINSUPPLIES = lib.mkDefault 1;
|
MINSUPPLIES = lib.mkDefault 1;
|
||||||
NOTIFYCMD = lib.mkDefault "${pkgs.nut}/bin/upssched";
|
|
||||||
SHUTDOWNCMD = lib.mkDefault "${pkgs.systemd}/bin/shutdown now";
|
|
||||||
MONITOR = lib.flip lib.mapAttrsToList cfg.upsmon.monitor (name: monitor: with monitor; [ system powerValue user "\"@upsmon_password_${name}@\"" type ]);
|
MONITOR = lib.flip lib.mapAttrsToList cfg.upsmon.monitor (name: monitor: with monitor; [ system powerValue user "\"@upsmon_password_${name}@\"" type ]);
|
||||||
|
NOTIFYCMD = lib.mkDefault "${pkgs.nut}/bin/upssched";
|
||||||
|
POWERDOWNFLAG = lib.mkDefault "/run/killpower";
|
||||||
|
RUN_AS_USER = "root"; # TODO: replace 'root' by another username.
|
||||||
|
SHUTDOWNCMD = lib.mkDefault "${pkgs.systemd}/bin/shutdown now";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -574,6 +577,24 @@ in
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.ups-killpower = lib.mkIf (cfg.upsmon.settings.POWERDOWNFLAG != null) {
|
||||||
|
enable = cfg.upsd.enable;
|
||||||
|
description = "UPS Kill Power";
|
||||||
|
wantedBy = [ "shutdown.target" ];
|
||||||
|
after = [ "shutdown.target" ];
|
||||||
|
before = [ "final.target" ];
|
||||||
|
unitConfig = {
|
||||||
|
ConditionPathExists = cfg.upsmon.settings.POWERDOWNFLAG;
|
||||||
|
DefaultDependencies = "no";
|
||||||
|
};
|
||||||
|
environment = envVars;
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "oneshot";
|
||||||
|
ExecStart = "${pkgs.nut}/bin/upsdrvctl shutdown";
|
||||||
|
Slice = "system-ups.slice";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
environment.etc = {
|
environment.etc = {
|
||||||
"nut/nut.conf".source = pkgs.writeText "nut.conf"
|
"nut/nut.conf".source = pkgs.writeText "nut.conf"
|
||||||
''
|
''
|
||||||
|
@ -10,16 +10,16 @@ let
|
|||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
pname = "lspce-module";
|
pname = "lspce-module";
|
||||||
version = "1.1.0-unstable-2024-07-29";
|
version = "1.1.0-unstable-2024-09-07";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zbelial";
|
owner = "zbelial";
|
||||||
repo = "lspce";
|
repo = "lspce";
|
||||||
rev = "e954e4d77aeb45deb14182631f3d5aa9bcc9e587";
|
rev = "4bf1fa9d3d8b17eb6ae628e93018ee8f020565ba";
|
||||||
hash = "sha256-9AUffkdgvVbHRIrHQPVl36plIfGxf3vsN9JCuFe0P6Q=";
|
hash = "sha256-OeDUQXqVBUfKjYt5oSmfl2N/19PFYIbPXfFqloai0LQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-wrrdXX/rEVxmHdyblm4I9iHD3bPoDd1KlBe3ODeGFeM=";
|
cargoHash = "sha256-VMGdB4dF3Ccxl6DifdXFH4+XVT7RoeqI/l/AR/epg4o=";
|
||||||
|
|
||||||
checkFlags = [
|
checkFlags = [
|
||||||
# flaky test
|
# flaky test
|
||||||
|
@ -101,8 +101,18 @@ in
|
|||||||
### neovim tests
|
### neovim tests
|
||||||
##################
|
##################
|
||||||
nvim_with_plugins = wrapNeovim2 "-with-plugins" nvimConfNix;
|
nvim_with_plugins = wrapNeovim2 "-with-plugins" nvimConfNix;
|
||||||
|
nvim_singlelines = wrapNeovim2 "-single-lines" nvimConfSingleLines;
|
||||||
|
|
||||||
singlelinesconfig = runTest (wrapNeovim2 "-single-lines" nvimConfSingleLines) ''
|
# test that passthru.initRc hasn't changed
|
||||||
|
passthruInitRc = runTest nvim_singlelines ''
|
||||||
|
INITRC=${pkgs.writeTextFile { name = "initrc"; text = nvim_singlelines.passthru.initRc; }}
|
||||||
|
assertFileContent \
|
||||||
|
$INITRC \
|
||||||
|
"${./init-single-lines.vim}"
|
||||||
|
'';
|
||||||
|
|
||||||
|
# test single line concatenation
|
||||||
|
singlelinesconfig = runTest nvim_singlelines ''
|
||||||
assertFileContains \
|
assertFileContains \
|
||||||
"$luarcGeneric" \
|
"$luarcGeneric" \
|
||||||
"vim.cmd.source \"/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-init.vim"
|
"vim.cmd.source \"/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-init.vim"
|
||||||
@ -127,6 +137,7 @@ in
|
|||||||
viAlias = true;
|
viAlias = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# test it still works with vim-plug
|
||||||
nvim_with_plug = neovim.override {
|
nvim_with_plug = neovim.override {
|
||||||
extraName = "-with-plug";
|
extraName = "-with-plug";
|
||||||
configure.packages.plugins = with pkgs.vimPlugins; {
|
configure.packages.plugins = with pkgs.vimPlugins; {
|
||||||
|
@ -13,6 +13,30 @@
|
|||||||
let
|
let
|
||||||
inherit (vimUtils) toVimPlugin;
|
inherit (vimUtils) toVimPlugin;
|
||||||
|
|
||||||
|
/* transform all plugins into an attrset
|
||||||
|
{ optional = bool; plugin = package; }
|
||||||
|
*/
|
||||||
|
normalizePlugins = plugins:
|
||||||
|
let
|
||||||
|
defaultPlugin = {
|
||||||
|
plugin = null;
|
||||||
|
config = null;
|
||||||
|
optional = false;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
map (x: defaultPlugin // (if (x ? plugin) then x else { plugin = x; })) plugins;
|
||||||
|
|
||||||
|
|
||||||
|
/* accepts a list of normalized plugins and convert themn
|
||||||
|
*/
|
||||||
|
normalizedPluginsToVimPackage = normalizedPlugins:
|
||||||
|
let
|
||||||
|
pluginsPartitioned = lib.partition (x: x.optional == true) normalizedPlugins;
|
||||||
|
in {
|
||||||
|
start = map (x: x.plugin) pluginsPartitioned.wrong;
|
||||||
|
opt = map (x: x.plugin) pluginsPartitioned.right;
|
||||||
|
};
|
||||||
|
|
||||||
/* returns everything needed for the caller to wrap its own neovim:
|
/* returns everything needed for the caller to wrap its own neovim:
|
||||||
- the generated content of the future init.vim
|
- the generated content of the future init.vim
|
||||||
- the arguments to wrap neovim with
|
- the arguments to wrap neovim with
|
||||||
@ -23,103 +47,19 @@ let
|
|||||||
Indeed, note that wrapping with `-u init.vim` has sideeffects like .nvimrc wont be loaded
|
Indeed, note that wrapping with `-u init.vim` has sideeffects like .nvimrc wont be loaded
|
||||||
anymore, $MYVIMRC wont be set etc
|
anymore, $MYVIMRC wont be set etc
|
||||||
*/
|
*/
|
||||||
makeNeovimConfig =
|
makeNeovimConfig = {
|
||||||
{ withPython3 ? true
|
customRC ? ""
|
||||||
/* the function you would have passed to python3.withPackages */
|
/* the function you would have passed to lua.withPackages */
|
||||||
, extraPython3Packages ? (_: [ ])
|
, extraLuaPackages ? (_: [ ])
|
||||||
, withNodeJs ? false
|
, ...}@attrs: let
|
||||||
, withRuby ? true
|
luaEnv = neovim-unwrapped.lua.withPackages extraLuaPackages;
|
||||||
/* the function you would have passed to lua.withPackages */
|
in attrs // {
|
||||||
, extraLuaPackages ? (_: [ ])
|
neovimRcContent = customRC;
|
||||||
|
wrapperArgs = lib.optionals (luaEnv != null) [
|
||||||
# expects a list of plugin configuration
|
|
||||||
# expects { plugin=far-vim; config = "let g:far#source='rg'"; optional = false; }
|
|
||||||
, plugins ? []
|
|
||||||
# custom viml config appended after plugin-specific config
|
|
||||||
, customRC ? ""
|
|
||||||
|
|
||||||
# for forward compability, when adding new environments, haskell etc.
|
|
||||||
, ...
|
|
||||||
}@args:
|
|
||||||
let
|
|
||||||
rubyEnv = bundlerEnv {
|
|
||||||
name = "neovim-ruby-env";
|
|
||||||
gemdir = ./ruby_provider;
|
|
||||||
postBuild = ''
|
|
||||||
ln -sf ${ruby}/bin/* $out/bin
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
# transform all plugins into an attrset
|
|
||||||
# { optional = bool; plugin = package; }
|
|
||||||
pluginsNormalized = let
|
|
||||||
defaultPlugin = {
|
|
||||||
plugin = null;
|
|
||||||
config = null;
|
|
||||||
optional = false;
|
|
||||||
};
|
|
||||||
in
|
|
||||||
map (x: defaultPlugin // (if (x ? plugin) then x else { plugin = x; })) plugins;
|
|
||||||
|
|
||||||
pluginRC = lib.foldl (acc: p: if p.config != null then acc ++ [p.config] else acc) [] pluginsNormalized;
|
|
||||||
|
|
||||||
pluginsPartitioned = lib.partition (x: x.optional == true) pluginsNormalized;
|
|
||||||
requiredPlugins = vimUtils.requiredPluginsForPackage myVimPackage;
|
|
||||||
getDeps = attrname: map (plugin: plugin.${attrname} or (_: [ ]));
|
|
||||||
myVimPackage = {
|
|
||||||
start = map (x: x.plugin) pluginsPartitioned.wrong;
|
|
||||||
opt = map (x: x.plugin) pluginsPartitioned.right;
|
|
||||||
};
|
|
||||||
|
|
||||||
pluginPython3Packages = getDeps "python3Dependencies" requiredPlugins;
|
|
||||||
python3Env = python3Packages.python.withPackages (ps:
|
|
||||||
[ ps.pynvim ]
|
|
||||||
++ (extraPython3Packages ps)
|
|
||||||
++ (lib.concatMap (f: f ps) pluginPython3Packages));
|
|
||||||
|
|
||||||
luaEnv = neovim-unwrapped.lua.withPackages extraLuaPackages;
|
|
||||||
|
|
||||||
# as expected by packdir
|
|
||||||
packpathDirs.myNeovimPackages = myVimPackage;
|
|
||||||
## Here we calculate all of the arguments to the 1st call of `makeWrapper`
|
|
||||||
# We start with the executable itself NOTE we call this variable "initial"
|
|
||||||
# because if configure != {} we need to call makeWrapper twice, in order to
|
|
||||||
# avoid double wrapping, see comment near finalMakeWrapperArgs
|
|
||||||
makeWrapperArgs =
|
|
||||||
let
|
|
||||||
binPath = lib.makeBinPath (lib.optionals withRuby [ rubyEnv ] ++ lib.optionals withNodeJs [ nodejs ]);
|
|
||||||
in
|
|
||||||
[
|
|
||||||
"--inherit-argv0"
|
|
||||||
] ++ lib.optionals withRuby [
|
|
||||||
"--set" "GEM_HOME" "${rubyEnv}/${rubyEnv.ruby.gemPath}"
|
|
||||||
] ++ lib.optionals (binPath != "") [
|
|
||||||
"--suffix" "PATH" ":" binPath
|
|
||||||
] ++ lib.optionals (luaEnv != null) [
|
|
||||||
"--prefix" "LUA_PATH" ";" (neovim-unwrapped.lua.pkgs.luaLib.genLuaPathAbsStr luaEnv)
|
"--prefix" "LUA_PATH" ";" (neovim-unwrapped.lua.pkgs.luaLib.genLuaPathAbsStr luaEnv)
|
||||||
"--prefix" "LUA_CPATH" ";" (neovim-unwrapped.lua.pkgs.luaLib.genLuaCPathAbsStr luaEnv)
|
"--prefix" "LUA_CPATH" ";" (neovim-unwrapped.lua.pkgs.luaLib.genLuaCPathAbsStr luaEnv)
|
||||||
];
|
];
|
||||||
|
};
|
||||||
manifestRc = vimUtils.vimrcContent { customRC = ""; };
|
|
||||||
# we call vimrcContent without 'packages' to avoid the init.vim generation
|
|
||||||
neovimRcContent = vimUtils.vimrcContent {
|
|
||||||
beforePlugins = "";
|
|
||||||
customRC = lib.concatStringsSep "\n" (pluginRC ++ [customRC]);
|
|
||||||
packages = null;
|
|
||||||
};
|
|
||||||
in
|
|
||||||
|
|
||||||
builtins.removeAttrs args ["plugins"] // {
|
|
||||||
wrapperArgs = makeWrapperArgs;
|
|
||||||
inherit packpathDirs;
|
|
||||||
inherit neovimRcContent;
|
|
||||||
inherit manifestRc;
|
|
||||||
inherit python3Env;
|
|
||||||
inherit luaEnv;
|
|
||||||
inherit withNodeJs;
|
|
||||||
} // lib.optionalAttrs withRuby {
|
|
||||||
inherit rubyEnv;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
# to keep backwards compatibility for people using neovim.override
|
# to keep backwards compatibility for people using neovim.override
|
||||||
@ -198,6 +138,9 @@ let
|
|||||||
in
|
in
|
||||||
lib.concatStringsSep ";" hostProviderLua;
|
lib.concatStringsSep ";" hostProviderLua;
|
||||||
|
|
||||||
|
/* Converts a lua package into a neovim plugin.
|
||||||
|
Does so by installing the lua package with a flat hierarchy of folders
|
||||||
|
*/
|
||||||
buildNeovimPlugin = callPackage ./build-neovim-plugin.nix {
|
buildNeovimPlugin = callPackage ./build-neovim-plugin.nix {
|
||||||
inherit (vimUtils) toVimPlugin;
|
inherit (vimUtils) toVimPlugin;
|
||||||
inherit lua;
|
inherit lua;
|
||||||
@ -275,6 +218,7 @@ in
|
|||||||
inherit legacyWrapper;
|
inherit legacyWrapper;
|
||||||
inherit grammarToPlugin;
|
inherit grammarToPlugin;
|
||||||
inherit packDir;
|
inherit packDir;
|
||||||
|
inherit normalizePlugins normalizedPluginsToVimPackage;
|
||||||
|
|
||||||
inherit buildNeovimPlugin;
|
inherit buildNeovimPlugin;
|
||||||
buildNeovimPluginFrom2Nix = lib.warn "buildNeovimPluginFrom2Nix was renamed to buildNeovimPlugin" buildNeovimPlugin;
|
buildNeovimPluginFrom2Nix = lib.warn "buildNeovimPluginFrom2Nix was renamed to buildNeovimPlugin" buildNeovimPlugin;
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
{ stdenv, symlinkJoin, lib, makeWrapper
|
{ stdenv, symlinkJoin, lib, makeWrapper
|
||||||
|
, bundlerEnv
|
||||||
|
, ruby
|
||||||
|
, nodejs
|
||||||
, writeText
|
, writeText
|
||||||
, nodePackages
|
, nodePackages
|
||||||
, python3
|
, python3
|
||||||
@ -6,6 +9,7 @@
|
|||||||
, neovimUtils
|
, neovimUtils
|
||||||
, perl
|
, perl
|
||||||
, lndir
|
, lndir
|
||||||
|
, vimUtils
|
||||||
}:
|
}:
|
||||||
|
|
||||||
neovim-unwrapped:
|
neovim-unwrapped:
|
||||||
@ -18,10 +22,11 @@ let
|
|||||||
extraName ? ""
|
extraName ? ""
|
||||||
# should contain all args but the binary. Can be either a string or list
|
# should contain all args but the binary. Can be either a string or list
|
||||||
, wrapperArgs ? []
|
, wrapperArgs ? []
|
||||||
# a limited RC script used only to generate the manifest for remote plugins
|
|
||||||
, manifestRc ? null
|
|
||||||
, withPython2 ? false
|
, withPython2 ? false
|
||||||
, withPython3 ? true, python3Env ? python3
|
, withPython3 ? true
|
||||||
|
/* the function you would have passed to python3.withPackages */
|
||||||
|
, extraPython3Packages ? (_: [ ])
|
||||||
|
|
||||||
, withNodeJs ? false
|
, withNodeJs ? false
|
||||||
, withPerl ? false
|
, withPerl ? false
|
||||||
, rubyEnv ? null
|
, rubyEnv ? null
|
||||||
@ -39,23 +44,67 @@ let
|
|||||||
, neovimRcContent ? null
|
, neovimRcContent ? null
|
||||||
# lua code to put into the generated init.lua file
|
# lua code to put into the generated init.lua file
|
||||||
, luaRcContent ? ""
|
, luaRcContent ? ""
|
||||||
# entry to load in packpath
|
# DEPRECATED: entry to load in packpath
|
||||||
, packpathDirs
|
# use 'plugins' instead
|
||||||
|
, packpathDirs ? null # not used anymore
|
||||||
|
|
||||||
|
# a list of neovim plugin derivations, for instance
|
||||||
|
# plugins = [
|
||||||
|
# { plugin=far-vim; config = "let g:far#source='rg'"; optional = false; }
|
||||||
|
# ]
|
||||||
|
, plugins ? []
|
||||||
, ...
|
, ...
|
||||||
}:
|
}@attrs:
|
||||||
assert withPython2 -> throw "Python2 support has been removed from the neovim wrapper, please remove withPython2 and python2Env.";
|
assert withPython2 -> throw "Python2 support has been removed from the neovim wrapper, please remove withPython2 and python2Env.";
|
||||||
|
|
||||||
|
assert packpathDirs != null -> throw "packpathdirs is not used anymore: pass a list of neovim plugin derivations in 'plugins' instead.";
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs:
|
stdenv.mkDerivation (finalAttrs:
|
||||||
let
|
let
|
||||||
|
pluginsNormalized = neovimUtils.normalizePlugins plugins;
|
||||||
|
|
||||||
|
myVimPackage = neovimUtils.normalizedPluginsToVimPackage pluginsNormalized;
|
||||||
|
|
||||||
|
rubyEnv = bundlerEnv {
|
||||||
|
name = "neovim-ruby-env";
|
||||||
|
gemdir = ./ruby_provider;
|
||||||
|
postBuild = ''
|
||||||
|
ln -sf ${ruby}/bin/* $out/bin
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
pluginRC = lib.foldl (acc: p: if p.config != null then acc ++ [p.config] else acc) [] pluginsNormalized;
|
||||||
|
|
||||||
|
# a limited RC script used only to generate the manifest for remote plugins
|
||||||
|
manifestRc = vimUtils.vimrcContent { customRC = ""; };
|
||||||
|
# we call vimrcContent without 'packages' to avoid the init.vim generation
|
||||||
|
neovimRcContent' = vimUtils.vimrcContent {
|
||||||
|
beforePlugins = "";
|
||||||
|
customRC = lib.concatStringsSep "\n" (pluginRC ++ [neovimRcContent]);
|
||||||
|
packages = null;
|
||||||
|
};
|
||||||
|
|
||||||
finalPackdir = neovimUtils.packDir packpathDirs;
|
finalPackdir = neovimUtils.packDir packpathDirs;
|
||||||
|
|
||||||
rcContent = ''
|
rcContent = ''
|
||||||
${luaRcContent}
|
${luaRcContent}
|
||||||
'' + lib.optionalString (!isNull neovimRcContent) ''
|
'' + lib.optionalString (neovimRcContent' != null) ''
|
||||||
vim.cmd.source "${writeText "init.vim" neovimRcContent}"
|
vim.cmd.source "${writeText "init.vim" neovimRcContent'}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
getDeps = attrname: map (plugin: plugin.${attrname} or (_: [ ]));
|
||||||
|
|
||||||
|
requiredPlugins = vimUtils.requiredPluginsForPackage myVimPackage;
|
||||||
|
pluginPython3Packages = getDeps "python3Dependencies" requiredPlugins;
|
||||||
|
|
||||||
|
python3Env = lib.warnIf (attrs ? python3Env) "Pass your python packages via the `extraPython3Packages`, e.g., `extraPython3Packages = ps: [ ps.pandas ]`"
|
||||||
|
python3.pkgs.python.withPackages (ps:
|
||||||
|
[ ps.pynvim ]
|
||||||
|
++ (extraPython3Packages ps)
|
||||||
|
++ (lib.concatMap (f: f ps) pluginPython3Packages));
|
||||||
|
|
||||||
|
packpathDirs.myNeovimPackages = myVimPackage;
|
||||||
|
|
||||||
wrapperArgsStr = if lib.isString wrapperArgs then wrapperArgs else lib.escapeShellArgs wrapperArgs;
|
wrapperArgsStr = if lib.isString wrapperArgs then wrapperArgs else lib.escapeShellArgs wrapperArgs;
|
||||||
|
|
||||||
generatedWrapperArgs =
|
generatedWrapperArgs =
|
||||||
@ -94,6 +143,7 @@ let
|
|||||||
in {
|
in {
|
||||||
name = "${pname}-${version}${extraName}";
|
name = "${pname}-${version}${extraName}";
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
inherit plugins;
|
||||||
|
|
||||||
__structuredAttrs = true;
|
__structuredAttrs = true;
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
@ -193,7 +243,7 @@ let
|
|||||||
passthru = {
|
passthru = {
|
||||||
inherit providerLuaRc packpathDirs;
|
inherit providerLuaRc packpathDirs;
|
||||||
unwrapped = neovim-unwrapped;
|
unwrapped = neovim-unwrapped;
|
||||||
initRc = neovimRcContent;
|
initRc = neovimRcContent';
|
||||||
|
|
||||||
tests = callPackage ./tests {
|
tests = callPackage ./tests {
|
||||||
};
|
};
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -38,12 +38,12 @@
|
|||||||
};
|
};
|
||||||
apex = buildGrammar {
|
apex = buildGrammar {
|
||||||
language = "apex";
|
language = "apex";
|
||||||
version = "0.0.0+rev=943a3eb";
|
version = "0.0.0+rev=46d4a12";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aheber";
|
owner = "aheber";
|
||||||
repo = "tree-sitter-sfapex";
|
repo = "tree-sitter-sfapex";
|
||||||
rev = "943a3eb7f55733929ccafe06841087c3004cb4e0";
|
rev = "46d4a12e4e90b10a575b7b16ea3b6ead50322074";
|
||||||
hash = "sha256-eTdNxvK3vcC7MiE5g0DgptuChYs7fv+WjEmxhwmUI4U=";
|
hash = "sha256-vPSdx//9PZXDV9wzkMobaSVl88+iVGi/E+t7EA2yyCY=";
|
||||||
};
|
};
|
||||||
location = "apex";
|
location = "apex";
|
||||||
meta.homepage = "https://github.com/aheber/tree-sitter-sfapex";
|
meta.homepage = "https://github.com/aheber/tree-sitter-sfapex";
|
||||||
@ -259,12 +259,12 @@
|
|||||||
};
|
};
|
||||||
cmake = buildGrammar {
|
cmake = buildGrammar {
|
||||||
language = "cmake";
|
language = "cmake";
|
||||||
version = "0.0.0+rev=69d7a8b";
|
version = "0.0.0+rev=f2569dd";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "uyha";
|
owner = "uyha";
|
||||||
repo = "tree-sitter-cmake";
|
repo = "tree-sitter-cmake";
|
||||||
rev = "69d7a8b0f7493b0dbb07d54e8fea96c5421e8a71";
|
rev = "f2569dd1fce0f252097a25bcbcb9ed8898840310";
|
||||||
hash = "sha256-WyWKf/cqMPClo8xwech3xm4if4Tu9TwA9YstBIEjkoI=";
|
hash = "sha256-LegfQzHPF85Fa3x2T79fCNLIK9/iUbE+gsqvanfGye8=";
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/uyha/tree-sitter-cmake";
|
meta.homepage = "https://github.com/uyha/tree-sitter-cmake";
|
||||||
};
|
};
|
||||||
@ -526,12 +526,12 @@
|
|||||||
};
|
};
|
||||||
editorconfig = buildGrammar {
|
editorconfig = buildGrammar {
|
||||||
language = "editorconfig";
|
language = "editorconfig";
|
||||||
version = "0.0.0+rev=a761198";
|
version = "0.0.0+rev=efbe0b2";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ValdezFOmar";
|
owner = "ValdezFOmar";
|
||||||
repo = "tree-sitter-editorconfig";
|
repo = "tree-sitter-editorconfig";
|
||||||
rev = "a761198025448c77ea11bcf22505b395a77fc0d0";
|
rev = "efbe0b2f2eaa248e8c657a80a8c2305056bda477";
|
||||||
hash = "sha256-KuaXFJGp1kxn0hqssiAFYL36zb0HY22warBb/40Ftzg=";
|
hash = "sha256-PUDL81jk8WllJSpnGXGl2wiIgMlsbLuzEdBLf1zbMCk=";
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/ValdezFOmar/tree-sitter-editorconfig";
|
meta.homepage = "https://github.com/ValdezFOmar/tree-sitter-editorconfig";
|
||||||
};
|
};
|
||||||
@ -1441,12 +1441,12 @@
|
|||||||
};
|
};
|
||||||
kotlin = buildGrammar {
|
kotlin = buildGrammar {
|
||||||
language = "kotlin";
|
language = "kotlin";
|
||||||
version = "0.0.0+rev=ec98567";
|
version = "0.0.0+rev=76f53c4";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "fwcd";
|
owner = "fwcd";
|
||||||
repo = "tree-sitter-kotlin";
|
repo = "tree-sitter-kotlin";
|
||||||
rev = "ec985672ff21f7fd7f835869d8021e8f87304bb4";
|
rev = "76f53c48d29e8588934fb55b0240d7bdfe00bfe5";
|
||||||
hash = "sha256-ThttqJxC3yaGufY2H9H5KgUu2bSTp+BKInyi0vucrS8=";
|
hash = "sha256-EBySJmzXH0FoWcslHNs70N9e9K9O/4/RcpbcdWYmgI4=";
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/fwcd/tree-sitter-kotlin";
|
meta.homepage = "https://github.com/fwcd/tree-sitter-kotlin";
|
||||||
};
|
};
|
||||||
@ -1552,12 +1552,12 @@
|
|||||||
};
|
};
|
||||||
llvm = buildGrammar {
|
llvm = buildGrammar {
|
||||||
language = "llvm";
|
language = "llvm";
|
||||||
version = "0.0.0+rev=1b96e58";
|
version = "0.0.0+rev=c14cb83";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "benwilliamgraham";
|
owner = "benwilliamgraham";
|
||||||
repo = "tree-sitter-llvm";
|
repo = "tree-sitter-llvm";
|
||||||
rev = "1b96e58faf558ce057d4dc664b904528aee743cb";
|
rev = "c14cb839003348692158b845db9edda201374548";
|
||||||
hash = "sha256-9OCiD7Hotl7EYoggX0lArwFvK2OZisBUsX7xv8+Ig+o=";
|
hash = "sha256-L3XwPhvwIR/mUbugMbaHS9dXyhO7bApv/gdlxQ+2Bbo=";
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/benwilliamgraham/tree-sitter-llvm";
|
meta.homepage = "https://github.com/benwilliamgraham/tree-sitter-llvm";
|
||||||
};
|
};
|
||||||
@ -1686,23 +1686,23 @@
|
|||||||
};
|
};
|
||||||
meson = buildGrammar {
|
meson = buildGrammar {
|
||||||
language = "meson";
|
language = "meson";
|
||||||
version = "0.0.0+rev=bd17c82";
|
version = "0.0.0+rev=c5fffb8";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Decodetalkers";
|
owner = "Decodetalkers";
|
||||||
repo = "tree-sitter-meson";
|
repo = "tree-sitter-meson";
|
||||||
rev = "bd17c824196ce70800f64ad39cfddd1b17acc13f";
|
rev = "c5fffb8edd39f22644084ab3f73a924a75721ee3";
|
||||||
hash = "sha256-+RqhCA+WoE2Lnk9vGiAYcdvl+ovxX5kaJhQ8m9H/fvo=";
|
hash = "sha256-Q+5sCO+1CAbnaE7nq7vl/CxUpydxEHVtmPXIAUGJiOE=";
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/Decodetalkers/tree-sitter-meson";
|
meta.homepage = "https://github.com/Decodetalkers/tree-sitter-meson";
|
||||||
};
|
};
|
||||||
mlir = buildGrammar {
|
mlir = buildGrammar {
|
||||||
language = "mlir";
|
language = "mlir";
|
||||||
version = "0.0.0+rev=ccf732d";
|
version = "0.0.0+rev=0238b7f";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "artagnon";
|
owner = "artagnon";
|
||||||
repo = "tree-sitter-mlir";
|
repo = "tree-sitter-mlir";
|
||||||
rev = "ccf732d3dbe6ca415a29b9be887c783111b297c7";
|
rev = "0238b7fb6a630f77b3fc8b8a48285ef6ed45cbcc";
|
||||||
hash = "sha256-liYapDXD8R2nLHaDvynKAYvIfJPrXITVsn8IA/snclU=";
|
hash = "sha256-rQDkvs/z+sunTlcquHLMN6wmsCP3RRT6vcnSqxNNo+0=";
|
||||||
};
|
};
|
||||||
generate = true;
|
generate = true;
|
||||||
meta.homepage = "https://github.com/artagnon/tree-sitter-mlir";
|
meta.homepage = "https://github.com/artagnon/tree-sitter-mlir";
|
||||||
@ -1786,12 +1786,12 @@
|
|||||||
};
|
};
|
||||||
nix = buildGrammar {
|
nix = buildGrammar {
|
||||||
language = "nix";
|
language = "nix";
|
||||||
version = "0.0.0+rev=9ef77ce";
|
version = "0.0.0+rev=456b14a";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cstrahan";
|
owner = "cstrahan";
|
||||||
repo = "tree-sitter-nix";
|
repo = "tree-sitter-nix";
|
||||||
rev = "9ef77ceefff61d31a63133d8d697f219ab62c841";
|
rev = "456b14a2fa6315abc7e02fcffaf4a1f35d4955d3";
|
||||||
hash = "sha256-hBdruZbMKoPtcsoaMAVKsLJZree4WBiifRNCdzJLJUs=";
|
hash = "sha256-eY+e48XFHvTRlew4LvndGHQog3d/RKDLlIrGr7QOWBY=";
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/cstrahan/tree-sitter-nix";
|
meta.homepage = "https://github.com/cstrahan/tree-sitter-nix";
|
||||||
};
|
};
|
||||||
@ -1932,12 +1932,12 @@
|
|||||||
};
|
};
|
||||||
perl = buildGrammar {
|
perl = buildGrammar {
|
||||||
language = "perl";
|
language = "perl";
|
||||||
version = "0.0.0+rev=81c57e2";
|
version = "0.0.0+rev=76ab9a5";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tree-sitter-perl";
|
owner = "tree-sitter-perl";
|
||||||
repo = "tree-sitter-perl";
|
repo = "tree-sitter-perl";
|
||||||
rev = "81c57e274c541c30d6c204c8dbceb90ec647ed8d";
|
rev = "76ab9a52b9dd2a1758aae3da8286519d995037e9";
|
||||||
hash = "sha256-xtsLJx9tzj3KNhlCDuXnAGBz3EYnJ/J+EJ0UKHVN4g4=";
|
hash = "sha256-w45JH2sFLgnzk7ECfWTFvz2QIpkhFKxvZ/LiZT0HzzQ=";
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/tree-sitter-perl/tree-sitter-perl";
|
meta.homepage = "https://github.com/tree-sitter-perl/tree-sitter-perl";
|
||||||
};
|
};
|
||||||
@ -1967,23 +1967,23 @@
|
|||||||
};
|
};
|
||||||
phpdoc = buildGrammar {
|
phpdoc = buildGrammar {
|
||||||
language = "phpdoc";
|
language = "phpdoc";
|
||||||
version = "0.0.0+rev=df5e7da";
|
version = "0.0.0+rev=fe3202e";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "claytonrcarter";
|
owner = "claytonrcarter";
|
||||||
repo = "tree-sitter-phpdoc";
|
repo = "tree-sitter-phpdoc";
|
||||||
rev = "df5e7da4b83da072f99135079ac3436550b8d67d";
|
rev = "fe3202e468bc17332bec8969f2b50ff1f1da3a46";
|
||||||
hash = "sha256-LIqu5+DaybdxY57IPwVACtgrGTiCXIiIIqUK45ISzYw=";
|
hash = "sha256-sQ8jmVvZD0fIc9qlfyl6MaXvP/2ljzViKIl9RgVOJqw=";
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/claytonrcarter/tree-sitter-phpdoc";
|
meta.homepage = "https://github.com/claytonrcarter/tree-sitter-phpdoc";
|
||||||
};
|
};
|
||||||
pioasm = buildGrammar {
|
pioasm = buildGrammar {
|
||||||
language = "pioasm";
|
language = "pioasm";
|
||||||
version = "0.0.0+rev=924aada";
|
version = "0.0.0+rev=afece58";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "leo60228";
|
owner = "leo60228";
|
||||||
repo = "tree-sitter-pioasm";
|
repo = "tree-sitter-pioasm";
|
||||||
rev = "924aadaf5dea2a6074d72027b064f939acf32e20";
|
rev = "afece58efdb30440bddd151ef1347fa8d6f744a9";
|
||||||
hash = "sha256-og5DjoyTtKUTp0V4/PpcGb8xwzLeidsb2lq0+QF7u9M=";
|
hash = "sha256-rUuolF/jPJGiqunD6SLUJ0x/MTIJ+mJ1QSBCasUw5T8=";
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/leo60228/tree-sitter-pioasm";
|
meta.homepage = "https://github.com/leo60228/tree-sitter-pioasm";
|
||||||
};
|
};
|
||||||
@ -2499,12 +2499,12 @@
|
|||||||
};
|
};
|
||||||
sflog = buildGrammar {
|
sflog = buildGrammar {
|
||||||
language = "sflog";
|
language = "sflog";
|
||||||
version = "0.0.0+rev=943a3eb";
|
version = "0.0.0+rev=46d4a12";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aheber";
|
owner = "aheber";
|
||||||
repo = "tree-sitter-sfapex";
|
repo = "tree-sitter-sfapex";
|
||||||
rev = "943a3eb7f55733929ccafe06841087c3004cb4e0";
|
rev = "46d4a12e4e90b10a575b7b16ea3b6ead50322074";
|
||||||
hash = "sha256-eTdNxvK3vcC7MiE5g0DgptuChYs7fv+WjEmxhwmUI4U=";
|
hash = "sha256-vPSdx//9PZXDV9wzkMobaSVl88+iVGi/E+t7EA2yyCY=";
|
||||||
};
|
};
|
||||||
location = "sflog";
|
location = "sflog";
|
||||||
meta.homepage = "https://github.com/aheber/tree-sitter-sfapex";
|
meta.homepage = "https://github.com/aheber/tree-sitter-sfapex";
|
||||||
@ -2577,24 +2577,24 @@
|
|||||||
};
|
};
|
||||||
soql = buildGrammar {
|
soql = buildGrammar {
|
||||||
language = "soql";
|
language = "soql";
|
||||||
version = "0.0.0+rev=943a3eb";
|
version = "0.0.0+rev=46d4a12";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aheber";
|
owner = "aheber";
|
||||||
repo = "tree-sitter-sfapex";
|
repo = "tree-sitter-sfapex";
|
||||||
rev = "943a3eb7f55733929ccafe06841087c3004cb4e0";
|
rev = "46d4a12e4e90b10a575b7b16ea3b6ead50322074";
|
||||||
hash = "sha256-eTdNxvK3vcC7MiE5g0DgptuChYs7fv+WjEmxhwmUI4U=";
|
hash = "sha256-vPSdx//9PZXDV9wzkMobaSVl88+iVGi/E+t7EA2yyCY=";
|
||||||
};
|
};
|
||||||
location = "soql";
|
location = "soql";
|
||||||
meta.homepage = "https://github.com/aheber/tree-sitter-sfapex";
|
meta.homepage = "https://github.com/aheber/tree-sitter-sfapex";
|
||||||
};
|
};
|
||||||
sosl = buildGrammar {
|
sosl = buildGrammar {
|
||||||
language = "sosl";
|
language = "sosl";
|
||||||
version = "0.0.0+rev=943a3eb";
|
version = "0.0.0+rev=46d4a12";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aheber";
|
owner = "aheber";
|
||||||
repo = "tree-sitter-sfapex";
|
repo = "tree-sitter-sfapex";
|
||||||
rev = "943a3eb7f55733929ccafe06841087c3004cb4e0";
|
rev = "46d4a12e4e90b10a575b7b16ea3b6ead50322074";
|
||||||
hash = "sha256-eTdNxvK3vcC7MiE5g0DgptuChYs7fv+WjEmxhwmUI4U=";
|
hash = "sha256-vPSdx//9PZXDV9wzkMobaSVl88+iVGi/E+t7EA2yyCY=";
|
||||||
};
|
};
|
||||||
location = "sosl";
|
location = "sosl";
|
||||||
meta.homepage = "https://github.com/aheber/tree-sitter-sfapex";
|
meta.homepage = "https://github.com/aheber/tree-sitter-sfapex";
|
||||||
@ -2700,12 +2700,12 @@
|
|||||||
};
|
};
|
||||||
superhtml = buildGrammar {
|
superhtml = buildGrammar {
|
||||||
language = "superhtml";
|
language = "superhtml";
|
||||||
version = "0.0.0+rev=b684bbe";
|
version = "0.0.0+rev=36f37aa";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kristoff-it";
|
owner = "kristoff-it";
|
||||||
repo = "superhtml";
|
repo = "superhtml";
|
||||||
rev = "b684bbe28ecd740a7110ead5674355770186ca9c";
|
rev = "36f37aa5aa440805f27d4a9f5203e616a303c6a1";
|
||||||
hash = "sha256-9Aw51LvTIBzptXuW3rEco/wTOdSADEhWJ/sI9OHr854=";
|
hash = "sha256-oegEpBCk7Fhx4SbXebBq33b7Ef9XshYfx2SciaKwINY=";
|
||||||
};
|
};
|
||||||
location = "tree-sitter-superhtml";
|
location = "tree-sitter-superhtml";
|
||||||
meta.homepage = "https://github.com/kristoff-it/superhtml";
|
meta.homepage = "https://github.com/kristoff-it/superhtml";
|
||||||
@ -2734,12 +2734,12 @@
|
|||||||
};
|
};
|
||||||
swift = buildGrammar {
|
swift = buildGrammar {
|
||||||
language = "swift";
|
language = "swift";
|
||||||
version = "0.0.0+rev=1466855";
|
version = "0.0.0+rev=a6ec57a";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "alex-pinkus";
|
owner = "alex-pinkus";
|
||||||
repo = "tree-sitter-swift";
|
repo = "tree-sitter-swift";
|
||||||
rev = "14668554259c5a82fc0c8ca825aa3bb895034c67";
|
rev = "a6ec57ad4d12c68d952ba1f869bd373a7ac95832";
|
||||||
hash = "sha256-+coXjHJSa5jKOx3DE4zD4Crqp8NWn8jcsrK/eEgZQtk=";
|
hash = "sha256-mdBrUgq8uux7p/DEm4jBNtB5a4UFDTrNRXX4hexKN7s=";
|
||||||
};
|
};
|
||||||
generate = true;
|
generate = true;
|
||||||
meta.homepage = "https://github.com/alex-pinkus/tree-sitter-swift";
|
meta.homepage = "https://github.com/alex-pinkus/tree-sitter-swift";
|
||||||
@ -2801,12 +2801,12 @@
|
|||||||
};
|
};
|
||||||
tact = buildGrammar {
|
tact = buildGrammar {
|
||||||
language = "tact";
|
language = "tact";
|
||||||
version = "0.0.0+rev=09c57b6";
|
version = "0.0.0+rev=83e2649";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tact-lang";
|
owner = "tact-lang";
|
||||||
repo = "tree-sitter-tact";
|
repo = "tree-sitter-tact";
|
||||||
rev = "09c57b6b9759560b4d067e0546c9953ee0e065da";
|
rev = "83e264928fa194b7283428527259e88e54205264";
|
||||||
hash = "sha256-WyCBuWPTYzNEApxtACTNt7StYoaSXIR9oqrOUlIquOY=";
|
hash = "sha256-gSLVUjn8MBRDQhZoEsPGao2lZI1gcxJsg6d8suA4D50=";
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/tact-lang/tree-sitter-tact";
|
meta.homepage = "https://github.com/tact-lang/tree-sitter-tact";
|
||||||
};
|
};
|
||||||
@ -2823,12 +2823,12 @@
|
|||||||
};
|
};
|
||||||
teal = buildGrammar {
|
teal = buildGrammar {
|
||||||
language = "teal";
|
language = "teal";
|
||||||
version = "0.0.0+rev=19b02da";
|
version = "0.0.0+rev=485fbdc";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "euclidianAce";
|
owner = "euclidianAce";
|
||||||
repo = "tree-sitter-teal";
|
repo = "tree-sitter-teal";
|
||||||
rev = "19b02da829d1721a521bf7b802eb80a50bd53aab";
|
rev = "485fbdc00d811b01b2090dff4d0469fd1d0350f5";
|
||||||
hash = "sha256-xIws9Q8AsaIowv6nc01ZpF87Dy8rL78EoZgXuBmg6Kg=";
|
hash = "sha256-Py825x38vkRgHqqEg/btFVQMgalSdonEgtFKSLPlZdw=";
|
||||||
};
|
};
|
||||||
generate = true;
|
generate = true;
|
||||||
meta.homepage = "https://github.com/euclidianAce/tree-sitter-teal";
|
meta.homepage = "https://github.com/euclidianAce/tree-sitter-teal";
|
||||||
@ -3082,12 +3082,12 @@
|
|||||||
};
|
};
|
||||||
v = buildGrammar {
|
v = buildGrammar {
|
||||||
language = "v";
|
language = "v";
|
||||||
version = "0.0.0+rev=bc5b3ca";
|
version = "0.0.0+rev=ea53875";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "vlang";
|
owner = "vlang";
|
||||||
repo = "v-analyzer";
|
repo = "v-analyzer";
|
||||||
rev = "bc5b3caa85f7a8d4597f51aeaf92b83162ed6b33";
|
rev = "ea538758a1273b59774dc9179cde460d9c73fd89";
|
||||||
hash = "sha256-44WUptfNjp4hsHa3BQLdzjRIiCyppzNNOqoqU/rJGNA=";
|
hash = "sha256-r2Mn7hvMjMYp+jvceGHNT0ss4UzoOjLeqN+DFj/mB0U=";
|
||||||
};
|
};
|
||||||
location = "tree_sitter_v";
|
location = "tree_sitter_v";
|
||||||
meta.homepage = "https://github.com/vlang/v-analyzer";
|
meta.homepage = "https://github.com/vlang/v-analyzer";
|
||||||
@ -3127,12 +3127,12 @@
|
|||||||
};
|
};
|
||||||
vhdl = buildGrammar {
|
vhdl = buildGrammar {
|
||||||
language = "vhdl";
|
language = "vhdl";
|
||||||
version = "0.0.0+rev=3f13cd1";
|
version = "0.0.0+rev=d6e8301";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jpt13653903";
|
owner = "jpt13653903";
|
||||||
repo = "tree-sitter-vhdl";
|
repo = "tree-sitter-vhdl";
|
||||||
rev = "3f13cd14952b39ccf6817f58880834b84565ca54";
|
rev = "d6e8301999336b47d663052d43f983c3edeb01dd";
|
||||||
hash = "sha256-bChHzBGWlfJpSUpUqQW8L1y4CiM1Qqen3MaGcUT9lh0=";
|
hash = "sha256-vQIsWcmm5szh7L8iSDDHenSJDqJrXcTDn0A/0WJYWGc=";
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/jpt13653903/tree-sitter-vhdl";
|
meta.homepage = "https://github.com/jpt13653903/tree-sitter-vhdl";
|
||||||
};
|
};
|
||||||
|
@ -10,8 +10,8 @@ vscode-utils.buildVscodeMarketplaceExtension {
|
|||||||
mktplcRef = {
|
mktplcRef = {
|
||||||
name = "Millet";
|
name = "Millet";
|
||||||
publisher = "azdavis";
|
publisher = "azdavis";
|
||||||
version = "0.13.5";
|
version = "0.14.7";
|
||||||
hash = "sha256-sWM7N+axgu1zOGWexR4JVupVmYhZrd4cZz3pmLxRj8Q=";
|
hash = "sha256-+PrGTeov5lTP1SgB6E0E40QHXfX+/vhm2DzW6DJB1/A=";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
jq
|
jq
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ requireFile, callPackage }:
|
{ requireFile, callPackage }:
|
||||||
|
|
||||||
callPackage ./runtime-build.nix rec {
|
callPackage ./runtime-build.nix rec {
|
||||||
version = "20.5.332";
|
version = "20.5.370";
|
||||||
eulaDate = "2021-10-13";
|
eulaDate = "2021-10-13";
|
||||||
src = requireFile {
|
src = requireFile {
|
||||||
name = "houdini-${version}-linux_x86_64_gcc11.2.tar.gz";
|
name = "houdini-${version}-linux_x86_64_gcc11.2.tar.gz";
|
||||||
hash = "sha256-ZqbLCWfPUo0fXS9liKOXsUEpm1d60bHIkbx+K98gFtU=";
|
hash = "sha256-QwPCU7E5yoJvWsiRUMBSAhEJYckbFTrQa1S4fto8dy0=";
|
||||||
url = "https://www.sidefx.com/download/daily-builds/?production=true";
|
url = "https://www.sidefx.com/download/daily-builds/?production=true";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -127,7 +127,7 @@ in buildFHSEnv {
|
|||||||
libselinux
|
libselinux
|
||||||
|
|
||||||
# Winetricks
|
# Winetricks
|
||||||
fribidi
|
fribidi pango
|
||||||
] ++ xorgDeps pkgs
|
] ++ xorgDeps pkgs
|
||||||
++ gstreamerDeps pkgs
|
++ gstreamerDeps pkgs
|
||||||
++ extraLibraries pkgs;
|
++ extraLibraries pkgs;
|
||||||
|
@ -23,13 +23,13 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mediaelch";
|
pname = "mediaelch";
|
||||||
version = "2.10.6";
|
version = "2.12.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Komet";
|
owner = "Komet";
|
||||||
repo = "MediaElch";
|
repo = "MediaElch";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-qc7HaCMAmALY9MoIKmaCWF0cnwBBFDAXwqiBzwzu2bU=";
|
hash = "sha256-m2d4lnyD8HhhqovMdeG36dMK+4kJA7rlPHE2tlhfevo=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -124,13 +124,13 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "hydra";
|
pname = "hydra";
|
||||||
version = "0-unstable-2024-09-24";
|
version = "0-unstable-2024-10-08";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "NixOS";
|
owner = "NixOS";
|
||||||
repo = "hydra";
|
repo = "hydra";
|
||||||
rev = "95003f2eb503f71979856470c7caea946f1ae7f0";
|
rev = "c69e30122bf7e7a7d3de70dc2418263c6e44159b";
|
||||||
hash = "sha256-6FI0QIkMAL35J8mzAiAntCsFbMMZBuOBpKuDIctflaA=";
|
hash = "sha256-khkY1GG43/VUBt6g7Egt0Zz0V/rXxnDUpOLtanFum7Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -53,13 +53,13 @@ let
|
|||||||
in
|
in
|
||||||
effectiveStdenv.mkDerivation (finalAttrs: {
|
effectiveStdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "koboldcpp";
|
pname = "koboldcpp";
|
||||||
version = "1.75.2";
|
version = "1.76";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "LostRuins";
|
owner = "LostRuins";
|
||||||
repo = "koboldcpp";
|
repo = "koboldcpp";
|
||||||
rev = "refs/tags/v${finalAttrs.version}";
|
rev = "refs/tags/v${finalAttrs.version}";
|
||||||
hash = "sha256-olMlYzde97RSx0OmDULSOFlM3imUq3AVxQdXyYBPd3Q=";
|
hash = "sha256-0zV9aZIfNnbV/K6xYUp+ucdJvdEfuGdKgE/Q7vcBopQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
@ -166,6 +166,7 @@ effectiveStdenv.mkDerivation (finalAttrs: {
|
|||||||
meta = {
|
meta = {
|
||||||
changelog = "https://github.com/LostRuins/koboldcpp/releases/tag/v${finalAttrs.version}";
|
changelog = "https://github.com/LostRuins/koboldcpp/releases/tag/v${finalAttrs.version}";
|
||||||
description = "Way to run various GGML and GGUF models";
|
description = "Way to run various GGML and GGUF models";
|
||||||
|
homepage = "https://github.com/LostRuins/koboldcpp";
|
||||||
license = lib.licenses.agpl3Only;
|
license = lib.licenses.agpl3Only;
|
||||||
mainProgram = "koboldcpp";
|
mainProgram = "koboldcpp";
|
||||||
maintainers = with lib.maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
|
@ -9,13 +9,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "libvpl";
|
pname = "libvpl";
|
||||||
version = "2.10.1";
|
version = "2.13.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "intel";
|
owner = "intel";
|
||||||
repo = "libvpl";
|
repo = "libvpl";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-2yfJo4iwI/h0CJ+mJJ3cAyG5S7KksUibwJHebF3MR+E=";
|
hash = "sha256-H+pRdpk1B/QgsXaTxhQfm3JW5Plgz4esrUV1kKfjY1s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -24,13 +24,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DENABLE_DRI3=ON"
|
(lib.cmakeBool "BUILD_TESTS" finalAttrs.finalPackage.doCheck)
|
||||||
"-DENABLE_DRM=ON"
|
|
||||||
"-DENABLE_VA=ON"
|
|
||||||
"-DENABLE_WAYLAND=ON"
|
|
||||||
"-DENABLE_X11=ON"
|
|
||||||
"-DINSTALL_EXAMPLE_CODE=OFF"
|
|
||||||
"-DBUILD_TOOLS=OFF"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -40,6 +34,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Intel Video Processing Library";
|
description = "Intel Video Processing Library";
|
||||||
homepage = "https://intel.github.io/libvpl/";
|
homepage = "https://intel.github.io/libvpl/";
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "nvrh";
|
pname = "nvrh";
|
||||||
version = "0.1.12";
|
version = "0.1.13";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mikew";
|
owner = "mikew";
|
||||||
repo = "nvrh";
|
repo = "nvrh";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-rOEzzKvz4z0KEu39snNJsxr9chx/hCf5PCQ99NJR4qI=";
|
hash = "sha256-fVoyxq2iCUANEsq+mCaQnBV9kQ59PZsGi9r7bSwStwQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -26,7 +26,7 @@ buildGoModule rec {
|
|||||||
cp manifest.json src/
|
cp manifest.json src/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
vendorHash = "sha256-Ao2BrB6fUOw2uFziQWNKeVTZtIeoW0MP7aLyuI1J3ng=";
|
vendorHash = "sha256-BioDzQMZWtTiM08aBQTPT4IGxK4f2JNx7dzNbcCgELQ=";
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
|
1339
pkgs/by-name/uv/uv/Cargo.lock
generated
1339
pkgs/by-name/uv/uv/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -9,21 +9,20 @@
|
|||||||
python3Packages,
|
python3Packages,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
stdenv,
|
stdenv,
|
||||||
testers,
|
versionCheckHook,
|
||||||
uv,
|
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "uv";
|
pname = "uv";
|
||||||
version = "0.4.11";
|
version = "0.4.20";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "astral-sh";
|
owner = "astral-sh";
|
||||||
repo = "uv";
|
repo = "uv";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-a8mN2wag26BSL+2b5i4P1XN34J8jt+lZm2poZQdsAzM=";
|
hash = "sha256-PfjYGCPPRZVm4H9oxkWdjW7kHu4CqdkenFgL61dOU5k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.importCargoLock {
|
cargoDeps = rustPlatform.importCargoLock {
|
||||||
@ -65,8 +64,12 @@ python3Packages.buildPythonApplication rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "uv" ];
|
pythonImportsCheck = [ "uv" ];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
versionCheckHook
|
||||||
|
];
|
||||||
|
versionCheckProgramArg = [ "--version" ];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
tests.version = testers.testVersion { package = uv; };
|
|
||||||
updateScript = nix-update-script { };
|
updateScript = nix-update-script { };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -44,6 +44,9 @@ python.pkgs.buildPythonApplication rec {
|
|||||||
hash = "sha256-cIwCNYXbg7l6z9OAkMAGJ783QI/nCOyrhLPURDcDv+Y=";
|
hash = "sha256-cIwCNYXbg7l6z9OAkMAGJ783QI/nCOyrhLPURDcDv+Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# https://github.com/WeblateOrg/weblate/commit/1cf2a423b20fcd2dde18a43277311334e38208e7
|
||||||
|
pythonRelaxDeps = [ "rapidfuzz" ];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# FIXME This shouldn't be necessary and probably has to do with some dependency mismatch.
|
# FIXME This shouldn't be necessary and probably has to do with some dependency mismatch.
|
||||||
./cache.lock.patch
|
./cache.lock.patch
|
||||||
|
@ -7,11 +7,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "angelscript";
|
pname = "angelscript";
|
||||||
version = "2.36.1";
|
version = "2.37.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.angelcode.com/angelscript/sdk/files/angelscript_${version}.zip";
|
url = "https://www.angelcode.com/angelscript/sdk/files/angelscript_${version}.zip";
|
||||||
sha256 = "sha256-WLt0mvnH44YwRwX05uYnrkHf4D4LanPD0NLgF8T8lI8=";
|
sha256 = "sha256-DFLRaIAWoLJITpylSUccTild8GB3DFeEAUTGSBX1TxA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ unzip cmake ];
|
nativeBuildInputs = [ unzip cmake ];
|
||||||
|
@ -1,31 +1,42 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, clang }:
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "blocksruntime";
|
pname = "blocksruntime";
|
||||||
version = "unstable-2014-06-24";
|
version = "unstable-2017-10-28";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mackyle";
|
owner = "mackyle";
|
||||||
repo = "blocksruntime";
|
repo = "blocksruntime";
|
||||||
rev = "b5c5274daf1e0e46ecc9ad8f6f69889bce0a0a5d";
|
rev = "9cc93ae2b58676c23fd02cf0c686fa15b7a3ff81";
|
||||||
sha256 = "0ic4lagagkylcvwgf10mg0s1i57h4i25ds2fzvms22xj4zwzk1sd";
|
sha256 = "sha256-pQMNZBgkF4uADOVCWXB5J3qQt8JMe8vo6ZmbtSVA5Xo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ clang ];
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
configurePhase = ''
|
./buildlib ${lib.optionalString (!stdenv.hostPlatform.isStatic) "-shared"}
|
||||||
export CC=clang
|
runHook postBuild
|
||||||
export CXX=clang++
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = "./buildlib";
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
prefix="/" DESTDIR=$out ./installlib ${
|
||||||
|
if stdenv.hostPlatform.isStatic then "-static" else "-shared"
|
||||||
|
}
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
checkPhase = "./checktests";
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
|
./checktests
|
||||||
|
runHook postChck
|
||||||
|
'';
|
||||||
|
|
||||||
doCheck = false; # hasdescriptor.c test fails, hrm.
|
doCheck = false; # hasdescriptor.c test fails, hrm.
|
||||||
|
|
||||||
installPhase = ''prefix="/" DESTDIR=$out ./installlib'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Installs the BlocksRuntime library from the compiler-rt";
|
description = "Installs the BlocksRuntime library from the compiler-rt";
|
||||||
homepage = "https://github.com/mackyle/blocksruntime";
|
homepage = "https://github.com/mackyle/blocksruntime";
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aioairzone-cloud";
|
pname = "aioairzone-cloud";
|
||||||
version = "0.6.6";
|
version = "0.6.7";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.11";
|
disabled = pythonOlder "3.11";
|
||||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||||||
owner = "Noltari";
|
owner = "Noltari";
|
||||||
repo = "aioairzone-cloud";
|
repo = "aioairzone-cloud";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-a1UsRmDCieCMblH2SpNujDj98GjqDcMN6+TRAWkkV3I=";
|
hash = "sha256-6M80Qm5stk3wsZ55wcrJc8Y/TDd5zLWwiOhKj+5FQHs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [ setuptools ];
|
build-system = [ setuptools ];
|
||||||
|
@ -10,14 +10,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mkl-service";
|
pname = "mkl-service";
|
||||||
version = "2.4.1";
|
version = "2.4.2";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "IntelPython";
|
owner = "IntelPython";
|
||||||
repo = "mkl-service";
|
repo = "mkl-service";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-4UPiQt1hVVlPFZnuKlMK3FLv2cIEXToHKxnyYLXR/sY=";
|
hash = "sha256-o5mjZhqQc7tu44EjrScuGzv6pZNlnZnndMIAhl8pY5o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
|
@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
hatchling,
|
||||||
|
opentelemetry-api,
|
||||||
|
opentelemetry-instrumentation,
|
||||||
|
opentelemetry-test-utils,
|
||||||
|
pytestCheckHook,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
inherit (opentelemetry-instrumentation) version src;
|
||||||
|
pname = "opentelemetry-instrumentation-logging";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-logging";
|
||||||
|
|
||||||
|
build-system = [ hatchling ];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
opentelemetry-api
|
||||||
|
opentelemetry-instrumentation
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
opentelemetry-test-utils
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "opentelemetry.instrumentation.logging" ];
|
||||||
|
|
||||||
|
meta = opentelemetry-instrumentation.meta // {
|
||||||
|
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-logging";
|
||||||
|
description = "Logging instrumentation for OpenTelemetry";
|
||||||
|
};
|
||||||
|
}
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tencentcloud-sdk-python";
|
pname = "tencentcloud-sdk-python";
|
||||||
version = "3.0.1147";
|
version = "3.0.1248";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||||||
owner = "TencentCloud";
|
owner = "TencentCloud";
|
||||||
repo = "tencentcloud-sdk-python";
|
repo = "tencentcloud-sdk-python";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-dqc29D7Zpq7Hkvlx1+CKJop7zRRAXvHBUu4mnUOTpKM=";
|
hash = "sha256-w0iM9Pq3A7uJ3Q29Oo+YEhN2vPNJINjCwIoGaDwHK2A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [ setuptools ];
|
build-system = [ setuptools ];
|
||||||
|
@ -2,10 +2,9 @@
|
|||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchPypi,
|
fetchPypi,
|
||||||
pythonOlder,
|
setuptools,
|
||||||
spark-parser,
|
spark-parser,
|
||||||
xdis,
|
xdis,
|
||||||
nose,
|
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
hypothesis,
|
hypothesis,
|
||||||
six,
|
six,
|
||||||
@ -14,20 +13,23 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "uncompyle6";
|
pname = "uncompyle6";
|
||||||
version = "3.9.2";
|
version = "3.9.2";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-b3CYD/4IpksRS2hxgy/QLYbJkDX4l2qPH4Eh2tb8pCU=";
|
hash = "sha256-b3CYD/4IpksRS2hxgy/QLYbJkDX4l2qPH4Eh2tb8pCU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
spark-parser
|
spark-parser
|
||||||
xdis
|
xdis
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonRelaxDeps = [ "spark-parser" ];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
nose
|
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
hypothesis
|
hypothesis
|
||||||
six
|
six
|
||||||
@ -35,7 +37,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
# No tests are provided for versions past 3.8,
|
# No tests are provided for versions past 3.8,
|
||||||
# as the project only targets bytecode of versions <= 3.8
|
# as the project only targets bytecode of versions <= 3.8
|
||||||
doCheck = pythonOlder "3.9";
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A bytecode decompiler for Python versions 3.8 and below";
|
description = "A bytecode decompiler for Python versions 3.8 and below";
|
||||||
|
@ -5,16 +5,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gcov2lcov";
|
pname = "gcov2lcov";
|
||||||
version = "1.0.6";
|
version = "1.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jandelgado";
|
owner = "jandelgado";
|
||||||
repo = "gcov2lcov";
|
repo = "gcov2lcov";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-S5fAhd0bh1XEeQwaya8LvnKQ/iz4PjAbpjK4uFI6H1g=";
|
hash = "sha256-E8TPxaKJTd+5OP9e5S1FD5aZP42nJvjiqqNs4xP9gm4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-r95PFkTywGiDIEnDfLpzt97SkuDeXo4xg2N7ikG0hs0=";
|
vendorHash = "sha256-/2OIBWXbNch6lmw0C1jkyJfNefJXOVG9/jNW8CYHTsc=";
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" ];
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
|
@ -1,60 +0,0 @@
|
|||||||
From 203afecca3717787628eab30b550ba25389cb188 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Sander <hey@sandydoo.me>
|
|
||||||
Date: Sat, 12 Oct 2024 12:26:51 +0000
|
|
||||||
Subject: [PATCH] deps: bump time to fix compilation error
|
|
||||||
|
|
||||||
---
|
|
||||||
Cargo.lock | 16 ++++++++++++----
|
|
||||||
1 file changed, 12 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/Cargo.lock b/Cargo.lock
|
|
||||||
index 9ce33e5..785764d 100644
|
|
||||||
--- a/Cargo.lock
|
|
||||||
+++ b/Cargo.lock
|
|
||||||
@@ -1420,6 +1420,12 @@ dependencies = [
|
|
||||||
"minimal-lexical",
|
|
||||||
]
|
|
||||||
|
|
||||||
+[[package]]
|
|
||||||
+name = "num-conv"
|
|
||||||
+version = "0.1.0"
|
|
||||||
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
+checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
|
|
||||||
+
|
|
||||||
[[package]]
|
|
||||||
name = "num_cpus"
|
|
||||||
version = "1.16.0"
|
|
||||||
@@ -2219,13 +2225,14 @@ dependencies = [
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "time"
|
|
||||||
-version = "0.3.31"
|
|
||||||
+version = "0.3.36"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
-checksum = "f657ba42c3f86e7680e53c8cd3af8abbe56b5491790b46e22e19c0d57463583e"
|
|
||||||
+checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
|
|
||||||
dependencies = [
|
|
||||||
"deranged",
|
|
||||||
"itoa",
|
|
||||||
"libc",
|
|
||||||
+ "num-conv",
|
|
||||||
"num_threads",
|
|
||||||
"powerfmt",
|
|
||||||
"serde",
|
|
||||||
@@ -2241,10 +2248,11 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "time-macros"
|
|
||||||
-version = "0.2.16"
|
|
||||||
+version = "0.2.18"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
-checksum = "26197e33420244aeb70c3e8c78376ca46571bc4e701e4791c2cd9f57dcb3a43f"
|
|
||||||
+checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
|
|
||||||
dependencies = [
|
|
||||||
+ "num-conv",
|
|
||||||
"time-core",
|
|
||||||
]
|
|
||||||
|
|
||||||
--
|
|
||||||
2.44.1
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "gptcommit";
|
pname = "gptcommit";
|
||||||
version = "0.5.16";
|
version = "0.5.17";
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
@ -20,16 +20,10 @@ rustPlatform.buildRustPackage {
|
|||||||
owner = "zurawiki";
|
owner = "zurawiki";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-JhMkK2zw3VL9o7j8DJmjY/im+GyCjfV2TJI3GDo8T8c=";
|
hash = "sha256-MB78QsJA90Au0bCUXfkcjnvfPagTPZwFhFVqxix+Clw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoPatches = [
|
cargoHash = "sha256-F4nabUeQZMnmSNC8KlHjx3IcyR2Xn36kovabmJ6g1zo=";
|
||||||
# Bump `time` and friends to fix compilation with rust 1.80.
|
|
||||||
# See https://github.com/NixOS/nixpkgs/issues/332957
|
|
||||||
./0001-update-time.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
cargoHash = "sha256-0UAttCCbSH91Dn7IvEX+Klp/bSYZM4rml7/dD3a208A=";
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
@ -2,17 +2,17 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "inferno";
|
pname = "inferno";
|
||||||
version = "0.11.20";
|
version = "0.11.21";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jonhoo";
|
owner = "jonhoo";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-+A27B50hRAQvk0QrcCP0QQe6zJkVUIX7qggL8kjJmQY=";
|
hash = "sha256-/tFbizGsgrmeTfd3W6BhVOX8BvOuakWqReQ1vQ0lrjw=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-XmxB18IQh2Bvbez6BowoV+P0qghmOcHpC0ZH4PgsIZo=";
|
cargoHash = "sha256-BoRlKD34c9RZz9fYMgxTbsbU9XL724PG+CVh9G/tl0M=";
|
||||||
|
|
||||||
# skip flaky tests
|
# skip flaky tests
|
||||||
checkFlags = [
|
checkFlags = [
|
||||||
|
@ -10,14 +10,14 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "epson-inkjet-printer-escpr2";
|
pname = "epson-inkjet-printer-escpr2";
|
||||||
version = "1.2.13";
|
version = "1.2.18";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
# To find the most recent version go to
|
# To find the most recent version go to
|
||||||
# https://support.epson.net/linux/Printer/LSB_distribution_pages/en/escpr2.php
|
# https://support.epson.net/linux/Printer/LSB_distribution_pages/en/escpr2.php
|
||||||
# and retreive the download link for source package for x86 CPU
|
# and retreive the download link for source package for x86 CPU
|
||||||
url = "https://download3.ebz.epson.net/dsc/f/03/00/16/00/23/60c57d2774eea9b27d2c636f0c3615b8619291b3/epson-inkjet-printer-escpr2-1.2.13-1.src.rpm";
|
url = "https://download3.ebz.epson.net/dsc/f/03/00/16/25/39/fcf17405f25e851f3ee0e5ed3ce97d09f22ecb41/epson-inkjet-printer-escpr2-1.2.18-1.src.rpm";
|
||||||
sha256 = "sha256-yOZqeNrtC28OucY5HOT6OY6qqvLSGh1LTIXbIB7VNrY=";
|
sha256 = "sha256-cdCcZzi31jPGmMnlKtPCFVla0YWfrCTbXsXHSeB0Vk4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
buildHomeAssistantComponent rec {
|
buildHomeAssistantComponent rec {
|
||||||
owner = "wills106";
|
owner = "wills106";
|
||||||
domain = "solax_modbus";
|
domain = "solax_modbus";
|
||||||
version = "2024.09.5";
|
version = "2024.10.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wills106";
|
owner = "wills106";
|
||||||
repo = "homeassistant-solax-modbus";
|
repo = "homeassistant-solax-modbus";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-mpsa+9LBnDfvMbOuEwctoPSg8IHRmkrFalVyg+1KR00=x";
|
hash = "sha256-6XLXCD7ItTGCRN9XQUetZfZBuMbFEmho6IOyFs4m0ek=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dependencies = [ pymodbus ];
|
dependencies = [ pymodbus ];
|
||||||
|
@ -211,8 +211,8 @@ in lib.makeExtensible (self: ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
nix_2_24 = (common {
|
nix_2_24 = (common {
|
||||||
version = "2.24.8";
|
version = "2.24.9";
|
||||||
hash = "sha256-YPJA0stZucs13Y2DQr3JIL6JfakP//LDbYXNhic/rKk=";
|
hash = "sha256-OwJByTdCz1t91ysBqynK+ifszkoIGEXUn6HE2t82+c8=";
|
||||||
self_attribute_name = "nix_2_24";
|
self_attribute_name = "nix_2_24";
|
||||||
}).override (lib.optionalAttrs (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) {
|
}).override (lib.optionalAttrs (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) {
|
||||||
# Fix the following error with the default x86_64-darwin SDK:
|
# Fix the following error with the default x86_64-darwin SDK:
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "ecdsautils";
|
pname = "ecdsautils";
|
||||||
version = "0.4.1";
|
version = "0.4.2";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
|||||||
owner = "freifunk-gluon";
|
owner = "freifunk-gluon";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-dv0guQTmot5UO1GkMgzvD6uJFyum5kV89LI3xWS1DZA=";
|
sha256 = "sha256-vGHLAX/XOtePvdT/rljCOdlILHVO20mCt6p+MUi13dg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with pkgs; [ cmake pkg-config doxygen ];
|
nativeBuildInputs = with pkgs; [ cmake pkg-config doxygen ];
|
||||||
|
@ -20221,7 +20221,7 @@ with pkgs;
|
|||||||
|
|
||||||
hwloc = callPackage ../development/libraries/hwloc { };
|
hwloc = callPackage ../development/libraries/hwloc { };
|
||||||
|
|
||||||
hydra = callPackage ../by-name/hy/hydra/package.nix { nix = nixVersions.nix_2_23; };
|
hydra = callPackage ../by-name/hy/hydra/package.nix { nix = nixVersions.nix_2_24; };
|
||||||
|
|
||||||
hydra-cli = callPackage ../development/tools/misc/hydra-cli { };
|
hydra-cli = callPackage ../development/tools/misc/hydra-cli { };
|
||||||
|
|
||||||
|
@ -9421,6 +9421,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
opentelemetry-instrumentation-grpc = callPackage ../development/python-modules/opentelemetry-instrumentation-grpc { };
|
opentelemetry-instrumentation-grpc = callPackage ../development/python-modules/opentelemetry-instrumentation-grpc { };
|
||||||
|
|
||||||
|
opentelemetry-instrumentation-logging = callPackage ../development/python-modules/opentelemetry-instrumentation-logging { };
|
||||||
|
|
||||||
opentelemetry-instrumentation-psycopg2 = callPackage ../development/python-modules/opentelemetry-instrumentation-psycopg2 { };
|
opentelemetry-instrumentation-psycopg2 = callPackage ../development/python-modules/opentelemetry-instrumentation-psycopg2 { };
|
||||||
|
|
||||||
opentelemetry-instrumentation-requests = callPackage ../development/python-modules/opentelemetry-instrumentation-requests { };
|
opentelemetry-instrumentation-requests = callPackage ../development/python-modules/opentelemetry-instrumentation-requests { };
|
||||||
|
Loading…
Reference in New Issue
Block a user