From 8d63f78354cd8aaef92067bd69c02ac9fc86ccc0 Mon Sep 17 00:00:00 2001 From: Troels Henriksen Date: Sun, 17 Jul 2022 09:27:11 +0200 Subject: [PATCH 001/129] uqm: 0.7.0 -> 0.8.0 --- pkgs/games/uqm/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/games/uqm/default.nix b/pkgs/games/uqm/default.nix index 5b67b9bce94e..9069991a87fa 100644 --- a/pkgs/games/uqm/default.nix +++ b/pkgs/games/uqm/default.nix @@ -28,26 +28,26 @@ let in stdenv.mkDerivation rec { pname = "uqm"; - version = "0.7.0"; + version = "0.8.0"; src = fetchurl { - url = "mirror://sourceforge/sc2/uqm-${version}-source.tgz"; - sha256 = "08dj7fsvflxx69an6vpf3wx050mk0ycmdv401yffrrqbgxgmqsd3"; + url = "mirror://sourceforge/sc2/uqm-${version}-src.tgz"; + sha256 = "JPL325z3+vU7lfniWA5vWWIFqY7QwzXP6DTGR4WtT1o="; }; content = fetchurl { url = "mirror://sourceforge/sc2/uqm-${version}-content.uqm"; - sha256 = "1gx39ns698hyczd4nx73mr0z86bbi4q3h8sw3pxjh1lzla5xpxmq"; + sha256 = "d9dawl5vt1WjPEujs4p7e8Qfy8AolokbDMmskhS3Lu8="; }; voice = fetchurl { url = "mirror://sourceforge/sc2/uqm-${version}-voice.uqm"; - sha256 = "0yf9ff5sxk229202gsa7ski6wn7a8hkjjyr1yr7mjdxsnh0zik5w"; + sha256 = "ntv1HXfYtTM5nF86+1STFKghDXqrccosUbTySDIzekU="; }; music = fetchurl { url = "mirror://sourceforge/sc2/uqm-${version}-3domusic.uqm"; - sha256 = "10nbvcrr0lc0mxivxfkcbxnibwk3vwmamabrlvwdsjxd9pk8aw65"; + sha256 = "RM087H6VabQRettNd/FSKJCXJWYmc5GuCWMUhdIx2Lk="; }; nativeBuildInputs = [ pkg-config ]; @@ -56,9 +56,9 @@ in stdenv.mkDerivation rec { postUnpack = '' mkdir -p uqm-${version}/content/packages mkdir -p uqm-${version}/content/addons - ln -s "$content" "uqm-${version}/content/packages/uqm-0.7.0-content.uqm" - ln -s "$music" "uqm-${version}/content/addons/uqm-0.7.0-3domusic.uqm" - ln -s "$voice" "uqm-${version}/content/addons/uqm-0.7.0-voice.uqm" + ln -s "$content" "uqm-${version}/content/packages/uqm-${version}-content.uqm" + ln -s "$music" "uqm-${version}/content/addons/uqm-${version}-3domusic.uqm" + ln -s "$voice" "uqm-${version}/content/addons/uqm-${version}-voice.uqm" '' + lib.optionalString useRemixPacks (lib.concatMapStrings (disc: '' ln -s "${disc}" "uqm-$version/content/addons/${disc.name}" '') remixPacks) + lib.optionalString use3DOVideos '' From 91e092ab688c340fffba3b77ac1ffa5a2fa67fc4 Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 21 Jul 2022 10:38:57 +0200 Subject: [PATCH 002/129] uqm: Switch to building with SDL2 Version 0.8.0 finally has support for SDL2 and thus much better support for multiple monitors. While I'm currently on my crap^Wlaptop, I can't test support for it, however when trying UQM with SDL1 it wasn't even able to create a window: Couldn't set OpenGL 800x600x32 video mode: Couldn't find matching GLX visual Couldn't set OpenGL 800x600x24 video mode: Couldn't find matching GLX visual Couldn't set OpenGL 800x600x16 video mode: Couldn't find matching GLX visual Couldn't set any OpenGL 800x600 video mode! Could not initialize video: no fallback at start of program! Do not know how to display an error box SDL2 on the other hand works like a charm and it also scales properly when you resize the window (one thing that has annoyed me with the SDL1 version in the past). Signed-off-by: aszlig --- pkgs/games/uqm/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/games/uqm/default.nix b/pkgs/games/uqm/default.nix index 9069991a87fa..797c41916f1c 100644 --- a/pkgs/games/uqm/default.nix +++ b/pkgs/games/uqm/default.nix @@ -1,5 +1,5 @@ { stdenv, lib, fetchurl, fetchFromGitHub, pkg-config, libGLU, libGL -, SDL, SDL_image, libpng, libvorbis, libogg, libmikmod +, SDL2, libpng, libvorbis, libogg, libmikmod , use3DOVideos ? false, requireFile ? null, writeText ? null , haskellPackages ? null @@ -51,7 +51,7 @@ in stdenv.mkDerivation rec { }; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ SDL SDL_image libpng libvorbis libogg libmikmod libGLU libGL ]; + buildInputs = [ SDL2 libpng libvorbis libogg libmikmod libGLU libGL ]; postUnpack = '' mkdir -p uqm-${version}/content/packages From 78873bd8e4d19701a182ebf6f3c7d02fa606aaac Mon Sep 17 00:00:00 2001 From: Luflosi Date: Wed, 13 Jul 2022 18:34:22 +0200 Subject: [PATCH 003/129] ipfs-cluster: 1.0.1 -> 1.0.2 https://github.com/ipfs-cluster/ipfs-cluster/releases/tag/v1.0.2 The project was moved from the "ipfs" to the the "ipfs-cluster" Github organization. Also update the homepage URL, since the old one now redirects to the new one. --- pkgs/applications/networking/ipfs-cluster/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/ipfs-cluster/default.nix b/pkgs/applications/networking/ipfs-cluster/default.nix index 459610feea74..49483ff7eb89 100644 --- a/pkgs/applications/networking/ipfs-cluster/default.nix +++ b/pkgs/applications/networking/ipfs-cluster/default.nix @@ -2,20 +2,20 @@ buildGoModule rec { pname = "ipfs-cluster"; - version = "1.0.1"; + version = "1.0.2"; - vendorSha256 = "sha256-V+fqyrol+hXjjaCBlAs6f7FeqBqa2jTmMO2bvb6HfgY="; + vendorSha256 = "sha256-4pCJnQ/X5bvlgyHcRVZ8LyOexaKmz+1xAntMpZCpvd0="; src = fetchFromGitHub { - owner = "ipfs"; + owner = "ipfs-cluster"; repo = "ipfs-cluster"; rev = "v${version}"; - sha256 = "sha256-dwV5fx52QS2QiBUV8gkJ47tBqT54tEOfSpdXF6hmeLQ="; + sha256 = "sha256-Mbq4NzMNIGGFOWuHlToGmel/Oa/K6xzpZTVuXnKHq1M="; }; meta = with lib; { description = "Allocate, replicate, and track Pins across a cluster of IPFS daemons"; - homepage = "https://cluster.ipfs.io/"; + homepage = "https://ipfscluster.io"; license = licenses.mit; platforms = platforms.unix; maintainers = with maintainers; [ Luflosi jglukasik ]; From 7aa689734ea2fb2109065150b22a55d0a565f9a2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 28 Jul 2022 23:02:00 +0000 Subject: [PATCH 004/129] mackerel-agent: 0.72.9 -> 0.73.0 --- pkgs/servers/monitoring/mackerel-agent/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/mackerel-agent/default.nix b/pkgs/servers/monitoring/mackerel-agent/default.nix index 54307fb98b43..8b7f6042a70b 100644 --- a/pkgs/servers/monitoring/mackerel-agent/default.nix +++ b/pkgs/servers/monitoring/mackerel-agent/default.nix @@ -2,20 +2,20 @@ buildGoModule rec { pname = "mackerel-agent"; - version = "0.72.9"; + version = "0.73.0"; src = fetchFromGitHub { owner = "mackerelio"; repo = pname; rev = "v${version}"; - sha256 = "sha256-+3a0FyVf5AB85gGGBI8/ssLBqj9Kp3w9DUNbSaAtXvA="; + sha256 = "sha256-Ev7GhJjGNgMlkvfGV2oi2uvtvlDTTIo3YQAM87KC4r0="; }; nativeBuildInputs = [ makeWrapper ]; checkInputs = lib.optionals (!stdenv.isDarwin) [ nettools ]; buildInputs = lib.optionals (!stdenv.isDarwin) [ iproute2 ]; - vendorSha256 = "sha256-4hdy+Yr9EoUjJ4+pJ2ZEPGlnq+4sx5JLm92eFFav6tU="; + vendorSha256 = "sha256-K/HnlrXFgLsm+9161RkeTBbToY8SoHVinY2aY2+S6p4="; subPackages = [ "." ]; From 1a1fbf4a947f37592a7756275ffe9bc3f4ee7c93 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 29 Jul 2022 22:15:12 +0000 Subject: [PATCH 005/129] sd-local: 1.0.40 -> 1.0.42 --- pkgs/development/tools/sd-local/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/sd-local/default.nix b/pkgs/development/tools/sd-local/default.nix index c1c5bbee0ac3..2faf1880ffc2 100644 --- a/pkgs/development/tools/sd-local/default.nix +++ b/pkgs/development/tools/sd-local/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "sd-local"; - version = "1.0.40"; + version = "1.0.42"; src = fetchFromGitHub { owner = "screwdriver-cd"; repo = pname; rev = "v${version}"; - sha256 = "sha256-/b9ZmwTw9DbdO0KI7rfT0YW0Xo2cxfwhk1TEfTe3ySU="; + sha256 = "sha256-xPskMKInmaWi5dwx5E5z1ssTQ6Smj1L40Voy++g7Rhs="; }; vendorSha256 = "sha256-43hcIIGqBscMjQzaIGdMqV5lq3od4Ls4TJdTeFGtu5Y="; From 3ff276b5cd25ea96da27cc4ed6497bcb40ab5ad5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 1 Aug 2022 05:58:34 +0000 Subject: [PATCH 006/129] prometheus-systemd-exporter: 0.4.0 -> 0.5.0 --- pkgs/servers/monitoring/prometheus/systemd-exporter.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/prometheus/systemd-exporter.nix b/pkgs/servers/monitoring/prometheus/systemd-exporter.nix index 96029c99d8c6..4d5d97da7683 100644 --- a/pkgs/servers/monitoring/prometheus/systemd-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/systemd-exporter.nix @@ -2,15 +2,15 @@ buildGoModule rec { pname = "systemd_exporter"; - version = "0.4.0"; + version = "0.5.0"; - vendorSha256 = "sha256-bYoB0r+d0j3esi/kK2a7/Duup9cf4M3WJjiBNs2+bj8="; + vendorSha256 = "sha256-XkwBhj2M1poirPkWzS71NbRTshc8dTKwaHoDfFxpykU="; src = fetchFromGitHub { owner = "povilasv"; repo = pname; rev = "v${version}"; - sha256 = "sha256-JDfRHczFnTP9sxA7polUE9qzJhSPIiAU58GBNDYkX4c="; + sha256 = "sha256-q6rnD8JCtB1zTkUfZt6f2Uyo91uFi3HYI7WFlZdzpBM="; }; passthru.tests = { inherit (nixosTests.prometheus-exporters) systemd; }; From 42274bc3f3499ac2d62a90db8e47f956f1ef1a5d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 5 Aug 2022 06:19:04 +0000 Subject: [PATCH 007/129] python310Packages.mockito: 1.3.3 -> 1.3.4 --- pkgs/development/python-modules/mockito/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mockito/default.nix b/pkgs/development/python-modules/mockito/default.nix index e9af134ba111..1c27f7bccb45 100644 --- a/pkgs/development/python-modules/mockito/default.nix +++ b/pkgs/development/python-modules/mockito/default.nix @@ -1,12 +1,12 @@ { lib, buildPythonPackage, fetchPypi, isPy3k, funcsigs, pytest, numpy }: buildPythonPackage rec { - version = "1.3.3"; + version = "1.3.4"; pname = "mockito"; src = fetchPypi { inherit pname version; - sha256 = "sha256-mCRTdihXcyMHNPJkmGWLHcBFrTvhNCH1CMcaXHaVe8E="; + sha256 = "sha256-RdJibODIxwY8xE8Gox9X1B0kHvLsm9pAMtULOedZXrE="; }; propagatedBuildInputs = lib.optionals (!isPy3k) [ funcsigs ]; From 6626ca0232f5ba7e295f0a75f7c8086204de87b9 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 5 Aug 2022 23:07:42 +0200 Subject: [PATCH 008/129] orcania: 2.2.2 -> 2.3.0 --- pkgs/development/libraries/orcania/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/orcania/default.nix b/pkgs/development/libraries/orcania/default.nix index 158bc9f405fc..abe45b63372f 100644 --- a/pkgs/development/libraries/orcania/default.nix +++ b/pkgs/development/libraries/orcania/default.nix @@ -1,13 +1,13 @@ { lib, stdenv, fetchFromGitHub, cmake, check, subunit }: stdenv.mkDerivation rec { pname = "orcania"; - version = "2.2.2"; + version = "2.3.0"; src = fetchFromGitHub { owner = "babelouest"; repo = pname; rev = "v${version}"; - sha256 = "sha256-lrc4VEqmCp/P/h0+5/ix6tx4pjfkLy9BLBZtKYLlyGI="; + sha256 = "sha256-QAq/6MGVj+iBHLElHuqokF1v3LU1TZ9hVVJE1s3y6f0="; }; nativeBuildInputs = [ cmake ]; From 4756347d4947e15c25f98efbdbcdd976bc4f7b13 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 5 Aug 2022 23:13:24 +0200 Subject: [PATCH 009/129] yder: 1.4.15 -> 1.4.17 --- pkgs/development/libraries/yder/default.nix | 4 ++-- .../development/libraries/yder/fix-pkgconfig.patch | 14 +++++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/yder/default.nix b/pkgs/development/libraries/yder/default.nix index b5667f9cfe6a..9ab0f5db747e 100644 --- a/pkgs/development/libraries/yder/default.nix +++ b/pkgs/development/libraries/yder/default.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation rec { pname = "yder"; - version = "1.4.15"; + version = "1.4.17"; src = fetchFromGitHub { owner = "babelouest"; repo = pname; rev = "v${version}"; - sha256 = "sha256-hPAL1UngodNbQCCdKulaF5faI0JOjmWdz3q8oyPH7C4="; + sha256 = "sha256-4o1sKxlWeAgZZm01sPV2yIR3xXZwzPJwqcGCkz6+Cfc="; }; patches = [ diff --git a/pkgs/development/libraries/yder/fix-pkgconfig.patch b/pkgs/development/libraries/yder/fix-pkgconfig.patch index 61a67c5897b8..f68ce2a0213e 100644 --- a/pkgs/development/libraries/yder/fix-pkgconfig.patch +++ b/pkgs/development/libraries/yder/fix-pkgconfig.patch @@ -1,9 +1,13 @@ ---- i/libyder.pc.in -+++ w/libyder.pc.in +--- a/libyder.pc.in ++++ b/libyder.pc.in @@ -1,7 +1,5 @@ -prefix=@CMAKE_INSTALL_PREFIX@ -exec_prefix=@CMAKE_INSTALL_PREFIX@ --libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ --includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ +-libdir=@PKGCONFIG_TARGET_LIBDIR@ +-includedir=@PKGCONFIG_TARGET_INCLUDES@ +libdir=@CMAKE_INSTALL_LIBDIR@ -+includedir=@CMAKE_INSTALL_INCLUDEDIR@ ++includedir=@CMAKE_INSTALL_LIBDIR@ + + Name: @PROJECT_NAME@ + Description: @PROJECT_DESCRIPTION@ + From 74cf8fa942dcb48833c7d64fc5b7bc9be6f0c96f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 6 Aug 2022 02:47:52 +0000 Subject: [PATCH 010/129] petsc: 3.17.3 -> 3.17.4 --- pkgs/development/libraries/science/math/petsc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/science/math/petsc/default.nix b/pkgs/development/libraries/science/math/petsc/default.nix index 6fc9b200f3be..e847d1decd24 100644 --- a/pkgs/development/libraries/science/math/petsc/default.nix +++ b/pkgs/development/libraries/science/math/petsc/default.nix @@ -18,11 +18,11 @@ assert petsc-withp4est -> p4est.mpiSupport; stdenv.mkDerivation rec { pname = "petsc"; - version = "3.17.3"; + version = "3.17.4"; src = fetchurl { url = "http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-${version}.tar.gz"; - sha256 = "sha256-XCSt5eSzLMBJNboNsdr+SNYzvrqqMKMDPx5YeI03h18="; + sha256 = "sha256-mcEnSGcio//ZWiaLTOsJdsvyF5JsaBqWMb1yRuq4yyo="; }; mpiSupport = !withp4est || p4est.mpiSupport; From 0442ab82e0be6a1b577a58125d731d65de2f5d68 Mon Sep 17 00:00:00 2001 From: kilianar Date: Sun, 7 Aug 2022 17:53:06 +0200 Subject: [PATCH 011/129] igv: 2.8.13 -> 2.13.2 - https://software.broadinstitute.org/software/igv/2.9.x - https://software.broadinstitute.org/software/igv/2.10.x - https://software.broadinstitute.org/software/igv/2.11.x - https://software.broadinstitute.org/software/igv/2.12.x - https://software.broadinstitute.org/software/igv/2.13.x --- pkgs/applications/science/biology/igv/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/science/biology/igv/default.nix b/pkgs/applications/science/biology/igv/default.nix index ff05ef4b8df6..29b61db76f22 100644 --- a/pkgs/applications/science/biology/igv/default.nix +++ b/pkgs/applications/science/biology/igv/default.nix @@ -2,10 +2,10 @@ stdenv.mkDerivation rec { pname = "igv"; - version = "2.8.13"; + version = "2.13.2"; src = fetchzip { - url = "https://data.broadinstitute.org/igv/projects/downloads/2.8/IGV_${version}.zip"; - sha256 = "0sab478jq96iw3fv0560hrrj8qbh40r8m4ncypdb7991j9haxl09"; + url = "https://data.broadinstitute.org/igv/projects/downloads/${lib.versions.majorMinor version}/IGV_${version}.zip"; + sha256 = "sha256-S0EoZAqjElrM/bp1p69jLuclXeUzSIuH8VsgCO6F04U="; }; installPhase = '' From a36e146b7e0c5725a2b512a1008ce2552cf4ecfb Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Tue, 26 Jul 2022 01:22:29 +0200 Subject: [PATCH 012/129] vimUtils.vimrcContent: throw an error when using pathogen We want fewer and even no vim package manager in nixpkgs --- pkgs/applications/editors/vim/plugins/vim-utils.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/vim/plugins/vim-utils.nix b/pkgs/applications/editors/vim/plugins/vim-utils.nix index 60d4856cae6f..967782485fb0 100644 --- a/pkgs/applications/editors/vim/plugins/vim-utils.nix +++ b/pkgs/applications/editors/vim/plugins/vim-utils.nix @@ -455,7 +455,7 @@ rec { if vam != null && vam ? knownPlugins then vam.knownPlugins else if pathogen != null && pathogen ? knownPlugins then pathogen.knownPlugins else vimPlugins; - pathogenPlugins = findDependenciesRecursively (map (pluginToDrv knownPlugins) pathogen.pluginNames); + pathogenPlugins = throw "pathogen is now unsupported, replace `pathogen = {}` with `packages.home = { start = []; }`"; vamPlugins = findDependenciesRecursively (map (pluginToDrv knownPlugins) (lib.concatMap vamDictToNames vam.pluginDictionaries)); nonNativePlugins = (lib.optionals (pathogen != null) pathogenPlugins) ++ (lib.optionals (vam != null) vamPlugins) From 6717d144ec5c78375db496112e9baa464d66a996 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Wed, 27 Jul 2022 00:21:59 +0200 Subject: [PATCH 013/129] vimRcContent: now throws when using pathogen --- pkgs/applications/editors/neovim/tests.nix | 6 ------ .../editors/vim/plugins/vim-utils.nix | 21 ++----------------- 2 files changed, 2 insertions(+), 25 deletions(-) diff --git a/pkgs/applications/editors/neovim/tests.nix b/pkgs/applications/editors/neovim/tests.nix index 3163041dabfe..d8bd511955e1 100644 --- a/pkgs/applications/editors/neovim/tests.nix +++ b/pkgs/applications/editors/neovim/tests.nix @@ -154,12 +154,6 @@ rec { configure.packages.foo.start = with vimPlugins; [ deoplete-nvim ]; }; - # only neovim makes use of `requiredPlugins`, test this here - test_nvim_with_vim_nix_using_pathogen = neovim.override { - extraName = "-pathogen"; - configure.pathogen.pluginNames = [ "vim-nix" ]; - }; - nvimWithLuaPackages = wrapNeovim2 "-with-lua-packages" (makeNeovimConfig { extraLuaPackages = ps: [ps.mpack]; customRC = '' diff --git a/pkgs/applications/editors/vim/plugins/vim-utils.nix b/pkgs/applications/editors/vim/plugins/vim-utils.nix index 967782485fb0..71d87afeea54 100644 --- a/pkgs/applications/editors/vim/plugins/vim-utils.nix +++ b/pkgs/applications/editors/vim/plugins/vim-utils.nix @@ -52,8 +52,6 @@ this to your .vimrc should make most plugins work: set rtp+=~/.nix-profile/share/vim-plugins/youcompleteme " or for p in ["youcompleteme"] | exec 'set rtp+=~/.nix-profile/share/vim-plugins/'.p | endfor -which is what the [VAM]/pathogen solutions above basically do. - Learn about about plugin Vim plugin mm managers at http://vim-wiki.mawercer.de/wiki/topic/vim%20plugin%20managment.html. @@ -253,19 +251,6 @@ let }: let - /* pathogen mostly can set &rtp at startup time. Deprecated. - */ - pathogenImpl = let - knownPlugins = pathogen.knownPlugins or vimPlugins; - - plugins = findDependenciesRecursively (map (pluginToDrv knownPlugins) pathogen.pluginNames); - - pathogenPackages.pathogen = { - start = plugins; - }; - in - nativeImpl pathogenPackages; - /* vim-plug is an extremely popular vim plugin manager. */ plugImpl = @@ -314,7 +299,7 @@ let ] ++ lib.optional (vam != null) (lib.warn "'vam' attribute is deprecated. Use 'packages' instead in your vim configuration" vamImpl) ++ lib.optional (packages != null && packages != []) (nativeImpl packages) - ++ lib.optional (pathogen != null) (lib.warn "'pathogen' attribute is deprecated. Use 'packages' instead in your vim configuration" pathogenImpl) + ++ lib.optional (pathogen != null) (throw "pathogen is now unsupported, replace `pathogen = {}` with `packages.home = { start = []; }`") ++ lib.optional (plug != null) plugImpl ++ [ customRC ]; @@ -455,10 +440,8 @@ rec { if vam != null && vam ? knownPlugins then vam.knownPlugins else if pathogen != null && pathogen ? knownPlugins then pathogen.knownPlugins else vimPlugins; - pathogenPlugins = throw "pathogen is now unsupported, replace `pathogen = {}` with `packages.home = { start = []; }`"; vamPlugins = findDependenciesRecursively (map (pluginToDrv knownPlugins) (lib.concatMap vamDictToNames vam.pluginDictionaries)); - nonNativePlugins = (lib.optionals (pathogen != null) pathogenPlugins) - ++ (lib.optionals (vam != null) vamPlugins) + nonNativePlugins = (lib.optionals (vam != null) vamPlugins) ++ (lib.optionals (plug != null) plug.plugins); nativePluginsConfigs = lib.attrsets.attrValues packages; nativePlugins = lib.concatMap ({start?[], opt?[], knownPlugins?vimPlugins}: start++opt) nativePluginsConfigs; From eb051d99b04bf7b1b980a6d18807a3730ae12c88 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Wed, 27 Jul 2022 00:26:54 +0200 Subject: [PATCH 014/129] vimRcContent: remove now unused linkLuaPlugin --- pkgs/applications/editors/vim/plugins/vim-utils.nix | 8 -------- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/vim-utils.nix b/pkgs/applications/editors/vim/plugins/vim-utils.nix index 71d87afeea54..4d2742b42418 100644 --- a/pkgs/applications/editors/vim/plugins/vim-utils.nix +++ b/pkgs/applications/editors/vim/plugins/vim-utils.nix @@ -3,7 +3,6 @@ , runCommand, makeWrapper , nix-prefetch-hg, nix-prefetch-git , fetchFromGitHub, runtimeShell -, hasLuaModule , python3 , callPackage, makeSetupHook }: @@ -169,13 +168,6 @@ let # Generates a packpath folder as expected by vim packDir = packages: let - # dir is "start" or "opt" - linkLuaPlugin = plugin: packageName: dir: '' - mkdir -p $out/pack/${packageName}/${dir}/${plugin.pname}/lua - ln -sf ${plugin}/share/lua/5.1/* $out/pack/${packageName}/${dir}/${plugin.pname}/lua - ln -sf ${plugin}/${plugin.pname}-${plugin.version}-rocks/${plugin.pname}/${plugin.version}/* $out/pack/${packageName}/${dir}/${plugin.pname}/ - ''; - linkVimlPlugin = plugin: packageName: dir: '' mkdir -p $out/pack/${packageName}/${dir} if test -e "$out/pack/${packageName}/${dir}/${lib.getName plugin}"; then diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bccc501ca7da..8c9b2f9b43da 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -35734,9 +35734,7 @@ with pkgs; viewnior = callPackage ../applications/graphics/viewnior { }; - vimUtils = callPackage ../applications/editors/vim/plugins/vim-utils.nix { - inherit (lua51Packages) hasLuaModule; - }; + vimUtils = callPackage ../applications/editors/vim/plugins/vim-utils.nix { }; vimPlugins = recurseIntoAttrs (callPackage ../applications/editors/vim/plugins { llvmPackages = llvmPackages_6; From 5d38ae801aebda98d1729ff0f16f943a816e99f6 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Wed, 27 Jul 2022 01:10:57 +0200 Subject: [PATCH 015/129] neovimUtils: merge host settings so that they use a single --cmd flag vim is limited to 10 --cmd flags so using fewer is better --- pkgs/applications/editors/neovim/utils.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/editors/neovim/utils.nix b/pkgs/applications/editors/neovim/utils.nix index 16b19f63d2d3..b72e758d26e1 100644 --- a/pkgs/applications/editors/neovim/utils.nix +++ b/pkgs/applications/editors/neovim/utils.nix @@ -102,12 +102,8 @@ let let binPath = lib.makeBinPath (lib.optionals withRuby [ rubyEnv ] ++ lib.optionals withNodeJs [ nodejs ]); - flags = lib.concatLists (lib.mapAttrsToList ( - prog: withProg: [ - "--cmd" (genProviderSettings prog withProg) - ] - ) - hostprog_check_table); + # vim accepts a limited number of commands so we join them all + flags = [ "--cmd" (lib.intersperse "|" (lib.mapAttrsToList genProviderSettings hostprog_check_table)) ]; in [ "--inherit-argv0" "--add-flags" (lib.escapeShellArgs flags) From 0fb2e47b7f4ca4cff34739a0d18524eee2514f32 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Mon, 1 Aug 2022 02:57:03 +0200 Subject: [PATCH 016/129] vimUtils: improve comments --- pkgs/applications/editors/neovim/utils.nix | 2 +- .../editors/vim/plugins/vim-utils.nix | 26 +++++-------------- 2 files changed, 8 insertions(+), 20 deletions(-) diff --git a/pkgs/applications/editors/neovim/utils.nix b/pkgs/applications/editors/neovim/utils.nix index b72e758d26e1..76c40a08fc91 100644 --- a/pkgs/applications/editors/neovim/utils.nix +++ b/pkgs/applications/editors/neovim/utils.nix @@ -38,7 +38,7 @@ let , plugins ? [] # forwarded to configure.customRC , customRC ? "" - # same values as in vimUtils.vimrcContent + # same values as in vimUtils.vimrcContent (deprecated) , configure ? { } # for forward compability, when adding new environments, haskell etc. diff --git a/pkgs/applications/editors/vim/plugins/vim-utils.nix b/pkgs/applications/editors/vim/plugins/vim-utils.nix index 4d2742b42418..288a9408d2f8 100644 --- a/pkgs/applications/editors/vim/plugins/vim-utils.nix +++ b/pkgs/applications/editors/vim/plugins/vim-utils.nix @@ -165,7 +165,11 @@ let rtpPath = "."; - # Generates a packpath folder as expected by vim + /* Generates a packpath folder as expected by vim + Example: + packDir (myVimPackage.{ start = [ vimPlugins.vim-fugitive ]; opt = [] }) + => "/nix/store/xxxxx-pack-dir" + */ packDir = packages: let linkVimlPlugin = plugin: packageName: dir: '' @@ -233,7 +237,7 @@ let vimrcContent = { packages ? null, vam ? null, - pathogen ? null, + pathogen ? null, # deprecated plug ? null, beforePlugins ? '' " configuration generated by NIX @@ -255,23 +259,7 @@ let call plug#end() ''; - /* - vim-addon-manager = VAM - - * maps names to plugin location - - * manipulates &rtp at startup time - or when Vim has been running for a while - - * can activate plugins laziy (eg when loading a specific filetype) - - * knows about vim plugin dependencies (addon-info.json files) - - * still is minimalistic (only loads one file), the "check out" code it also - has only gets loaded when a plugin is requested which is not found on disk - yet - - */ + # vim-addon-manager = VAM (deprecated) vamImpl = let knownPlugins = vam.knownPlugins or vimPlugins; From fbe95db7ff8a896fb3c9693d154c705832697749 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 9 Aug 2022 15:37:02 +0200 Subject: [PATCH 017/129] python310Packages.asdf-standard: 1.0.2 -> 1.0.3 --- pkgs/development/python-modules/asdf-standard/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/asdf-standard/default.nix b/pkgs/development/python-modules/asdf-standard/default.nix index bc691fb02095..170cefa42e86 100644 --- a/pkgs/development/python-modules/asdf-standard/default.nix +++ b/pkgs/development/python-modules/asdf-standard/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "asdf-standard"; - version = "1.0.2"; + version = "1.0.3"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "asdf_standard"; inherit version; - hash = "sha256-Ic/AXdghVZtn37xU0DsrzArYtstcydFNdZH3OrNFFwA="; + hash = "sha256-r9j/mnDnsX9rzGTrkqVEhn1dT+HwB2cZFC/fYrls/UQ="; }; nativeBuildInputs = [ From cda1f8ae46869c429971323717d622d5b17d9854 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Mon, 1 Aug 2022 02:58:32 +0200 Subject: [PATCH 018/129] neovim: pass packpath via the wrapper Adding "packages" to the neovim distribution triggers the wrapping of the derivation. This is because it tries to "set packpath/rtp" in the init.vim. If we set these arguments via --cmd instead we can avoid to create an init.vim, which can be useful if we want to wrap an init.lua later on (in home-manager for instance, we dont want to generate viml code). Also removes the support for "configure" in makeNeovimConfig and configure.plug / configure.vam packages in the compatibility layer 'legacyWrapper'. --- .../editors/neovim/neovim-override.vim | 6 -- pkgs/applications/editors/neovim/tests.nix | 10 ++- pkgs/applications/editors/neovim/utils.nix | 75 +++++++++++-------- .../editors/vim/plugins/vim-utils.nix | 2 +- 4 files changed, 50 insertions(+), 43 deletions(-) diff --git a/pkgs/applications/editors/neovim/neovim-override.vim b/pkgs/applications/editors/neovim/neovim-override.vim index 34a1a8f1f432..04ee66760185 100644 --- a/pkgs/applications/editors/neovim/neovim-override.vim +++ b/pkgs/applications/editors/neovim/neovim-override.vim @@ -1,7 +1 @@ -" configuration generated by NIX -set nocompatible - -set packpath^=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-vim-pack-dir -set runtimepath^=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-vim-pack-dir - :help ale diff --git a/pkgs/applications/editors/neovim/tests.nix b/pkgs/applications/editors/neovim/tests.nix index d8bd511955e1..3f38abee5005 100644 --- a/pkgs/applications/editors/neovim/tests.nix +++ b/pkgs/applications/editors/neovim/tests.nix @@ -86,9 +86,11 @@ rec { nvim_with_plug = neovim.override { extraName = "-with-plug"; - configure.plug.plugins = with pkgs.vimPlugins; [ - (base16-vim.overrideAttrs(old: { pname = old.pname + "-unique-for-tests-please-dont-use"; })) - ]; + configure.packages.plugins = with pkgs.vimPlugins; { + start = [ + (base16-vim.overrideAttrs(old: { pname = old.pname + "-unique-for-tests-please-dont-use"; })) + ]; + }; configure.customRC = '' color base16-tomorrow-night set background=dark @@ -123,7 +125,7 @@ rec { }); force-nowrap = runTest nvimDontWrap '' - ! grep "-u" ${nvimDontWrap}/bin/nvim + ! grep -F -- ' -u' ${nvimDontWrap}/bin/nvim ''; nvim_via_override-test = runTest nvim_via_override '' diff --git a/pkgs/applications/editors/neovim/utils.nix b/pkgs/applications/editors/neovim/utils.nix index 76c40a08fc91..16895e73518c 100644 --- a/pkgs/applications/editors/neovim/utils.nix +++ b/pkgs/applications/editors/neovim/utils.nix @@ -11,15 +11,16 @@ , wrapNeovimUnstable }: let - # returns everything needed for the caller to wrap its own neovim: - # - the generated content of the future init.vim - # - the arguments to wrap neovim with - # The caller is responsible for writing the init.vim and adding it to the wrapped - # arguments (["-u" writeText "init.vim" GENERATEDRC)]). - # This makes it possible to write the config anywhere: on a per-project basis - # .nvimrc or in $XDG_CONFIG_HOME/nvim/init.vim to avoid sideeffects. - # Indeed, note that wrapping with `-u init.vim` has sideeffects like .nvimrc wont be loaded - # anymore, $MYVIMRC wont be set etc + /* returns everything needed for the caller to wrap its own neovim: + - the generated content of the future init.vim + - the arguments to wrap neovim with + The caller is responsible for writing the init.vim and adding it to the wrapped + arguments (["-u" writeText "init.vim" GENERATEDRC)]). + This makes it possible to write the config anywhere: on a per-project basis + .nvimrc or in $XDG_CONFIG_HOME/nvim/init.vim to avoid sideeffects. + Indeed, note that wrapping with `-u init.vim` has sideeffects like .nvimrc wont be loaded + anymore, $MYVIMRC wont be set etc + */ makeNeovimConfig = { withPython2 ? false @@ -36,10 +37,8 @@ let # expects a list of plugin configuration # expects { plugin=far-vim; config = "let g:far#source='rg'"; optional = false; } , plugins ? [] - # forwarded to configure.customRC + # custom viml config appended after plugin-specific config , customRC ? "" - # same values as in vimUtils.vimrcContent (deprecated) - , configure ? { } # for forward compability, when adding new environments, haskell etc. , ... @@ -54,25 +53,20 @@ let }; # transform all plugins into an attrset - pluginsNormalized = map (x: if x ? plugin then { optional = false; } // x else { plugin = x; optional = false;}) plugins; + # { optional = bool; plugin = package; dest = filename; } + pluginsNormalized = map (x: if x ? plugin then { dest = "init.vim"; optional = false; } // x else { plugin = x; optional = false;}) plugins; - configurePatched = configure // { - customRC = pluginRc + customRC + (configure.customRC or ""); - }; - # A function to get the configuration string (if any) from an element of 'plugins' - pluginConfig = p: - if (p.config or "") != "" then '' - " ${p.plugin.pname or p.plugin.name} {{{ - ${p.config} - " }}} - '' else ""; + pluginRC = lib.concatMapStrings (p: p.config or "") pluginsNormalized; - pluginRc = lib.concatMapStrings pluginConfig pluginsNormalized; - - requiredPlugins = vimUtils.requiredPlugins configurePatched; + 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: @@ -102,8 +96,16 @@ let let binPath = lib.makeBinPath (lib.optionals withRuby [ rubyEnv ] ++ lib.optionals withNodeJs [ nodejs ]); + hostProviderViml = lib.mapAttrsToList genProviderSettings hostprog_check_table; + + # as expected by packdir + packDirArgs.myNeovimPackages = myVimPackage; + # vim accepts a limited number of commands so we join them all - flags = [ "--cmd" (lib.intersperse "|" (lib.mapAttrsToList genProviderSettings hostprog_check_table)) ]; + flags = [ + "--cmd" (lib.intersperse "|" hostProviderViml) + "--cmd" "set packpath^=${vimUtils.packDir packDirArgs}" + ]; in [ "--inherit-argv0" "--add-flags" (lib.escapeShellArgs flags) @@ -116,9 +118,9 @@ let "--prefix" "LUA_CPATH" ";" (neovim-unwrapped.lua.pkgs.lib.genLuaCPathAbsStr luaEnv) ]; - - manifestRc = vimUtils.vimrcContent (configurePatched // { customRC = ""; }) ; - neovimRcContent = vimUtils.vimrcContent configurePatched; + manifestRc = vimUtils.vimrcContent ({ customRC = ""; }) ; + # we call vimrcContent without 'packages' to avoid the init.vim generation + neovimRcContent = vimUtils.vimrcContent ({ beforePlugins = ""; customRC = pluginRC + customRC; packages = null; }); in assert withPython2 -> throw "Python2 support has been removed from neovim, please remove withPython2 and extraPython2Packages."; @@ -140,7 +142,7 @@ let "let g:loaded_${prog}_provider=0" ; - # to keep backwards compatibility + # to keep backwards compatibility for people using neovim.override legacyWrapper = neovim: { extraMakeWrapperArgs ? "" , withPython ? false @@ -163,12 +165,21 @@ let (_: lib.warn "passing a list as extraPythonPackages to the neovim wrapper is deprecated, pass a function as to python.withPackages instead" funOrList) else funOrList); + # we convert from the old configure.format to + plugins = if builtins.hasAttr "plug" configure then + throw "The neovim legacy wrapper doesn't support configure.plug anymore, please setup your plugins via 'configure.packages' instead" + else + lib.flatten (lib.mapAttrsToList genPlugin (configure.packages or {})); + genPlugin = packageName: {start ? [], opt?[]}: + start ++ opt; + res = makeNeovimConfig { inherit withPython3; extraPython3Packages = compatFun extraPython3Packages; inherit extraLuaPackages; inherit withNodeJs withRuby viAlias vimAlias; - inherit configure; + customRC = configure.customRC or ""; + inherit plugins; inherit extraName; }; in diff --git a/pkgs/applications/editors/vim/plugins/vim-utils.nix b/pkgs/applications/editors/vim/plugins/vim-utils.nix index 288a9408d2f8..2f2e7cc00cb5 100644 --- a/pkgs/applications/editors/vim/plugins/vim-utils.nix +++ b/pkgs/applications/editors/vim/plugins/vim-utils.nix @@ -236,7 +236,7 @@ let */ vimrcContent = { packages ? null, - vam ? null, + vam ? null, # deprecated pathogen ? null, # deprecated plug ? null, beforePlugins ? '' From 6bc1f400f4773244df5a00853d555ae2332571c6 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Sat, 6 Aug 2022 22:41:58 +0200 Subject: [PATCH 019/129] update requirePlugins --- .../editors/vim/plugins/vim-utils.nix | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/vim-utils.nix b/pkgs/applications/editors/vim/plugins/vim-utils.nix index 2f2e7cc00cb5..d11d638f4a02 100644 --- a/pkgs/applications/editors/vim/plugins/vim-utils.nix +++ b/pkgs/applications/editors/vim/plugins/vim-utils.nix @@ -409,25 +409,20 @@ rec { # used to figure out which python dependencies etc. neovim needs requiredPlugins = { packages ? {}, - givenKnownPlugins ? null, - vam ? null, - pathogen ? null, plug ? null, ... }: let - # This is probably overcomplicated, but I don't understand this well enough to know what's necessary. - knownPlugins = if givenKnownPlugins != null then givenKnownPlugins else - if vam != null && vam ? knownPlugins then vam.knownPlugins else - if pathogen != null && pathogen ? knownPlugins then pathogen.knownPlugins else - vimPlugins; - vamPlugins = findDependenciesRecursively (map (pluginToDrv knownPlugins) (lib.concatMap vamDictToNames vam.pluginDictionaries)); - nonNativePlugins = (lib.optionals (vam != null) vamPlugins) - ++ (lib.optionals (plug != null) plug.plugins); nativePluginsConfigs = lib.attrsets.attrValues packages; - nativePlugins = lib.concatMap ({start?[], opt?[], knownPlugins?vimPlugins}: start++opt) nativePluginsConfigs; + nonNativePlugins = (lib.optionals (plug != null) plug.plugins); + nativePlugins = lib.concatMap (requiredPluginsForPackage) nativePluginsConfigs; in nativePlugins ++ nonNativePlugins; + + # figures out which python dependencies etc. is needed for one vim package + requiredPluginsForPackage = { start ? [], opt ? []}: + start ++ opt; + toVimPlugin = drv: drv.overrideAttrs(oldAttrs: { # dont move the "doc" folder since vim expects it From b4d8662c4a479b7641d28fe866b018adf8d8f2e1 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Tue, 9 Aug 2022 11:54:54 +0200 Subject: [PATCH 020/129] neovimUtils.makeNeovimConfig: remove mention of python2 latest neovim stopped supporting python2. We have an ellipsis as input so this should not cause any further error --- pkgs/applications/editors/neovim/utils.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/pkgs/applications/editors/neovim/utils.nix b/pkgs/applications/editors/neovim/utils.nix index 16895e73518c..44c8392df480 100644 --- a/pkgs/applications/editors/neovim/utils.nix +++ b/pkgs/applications/editors/neovim/utils.nix @@ -22,11 +22,7 @@ let anymore, $MYVIMRC wont be set etc */ makeNeovimConfig = - { - withPython2 ? false - /* the function you would have passed to python.withPackages */ - , extraPython2Packages ? (_: [ ]) - , withPython3 ? true + { withPython3 ? true /* the function you would have passed to python3.withPackages */ , extraPython3Packages ? (_: [ ]) , withNodeJs ? false @@ -122,7 +118,6 @@ let # we call vimrcContent without 'packages' to avoid the init.vim generation neovimRcContent = vimUtils.vimrcContent ({ beforePlugins = ""; customRC = pluginRC + customRC; packages = null; }); in - assert withPython2 -> throw "Python2 support has been removed from neovim, please remove withPython2 and extraPython2Packages."; builtins.removeAttrs args ["plugins"] // { wrapperArgs = makeWrapperArgs; @@ -145,7 +140,6 @@ let # to keep backwards compatibility for people using neovim.override legacyWrapper = neovim: { extraMakeWrapperArgs ? "" - , withPython ? false /* the function you would have passed to python.withPackages */ , extraPythonPackages ? (_: []) /* the function you would have passed to python.withPackages */ @@ -183,8 +177,6 @@ let inherit extraName; }; in - assert withPython -> throw "Python2 support has been removed from neovim, please remove withPython and extraPythonPackages."; - wrapNeovimUnstable neovim (res // { wrapperArgs = lib.escapeShellArgs res.wrapperArgs + " " + extraMakeWrapperArgs; wrapRc = (configure != {}); From cc0ff183c6afe9951c8fdbf468ea26a9f6920f52 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Tue, 9 Aug 2022 14:17:19 +0200 Subject: [PATCH 021/129] neovimUtils: remove the compatibility layer introduced in 2018 removed compatFun, we need to make the code clearer --- pkgs/applications/editors/neovim/utils.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/applications/editors/neovim/utils.nix b/pkgs/applications/editors/neovim/utils.nix index 44c8392df480..c3e41966534e 100644 --- a/pkgs/applications/editors/neovim/utils.nix +++ b/pkgs/applications/editors/neovim/utils.nix @@ -154,10 +154,6 @@ let , extraName ? "" }: let - /* for compatibility with passing extraPythonPackages as a list; added 2018-07-11 */ - compatFun = funOrList: (if builtins.isList funOrList then - (_: lib.warn "passing a list as extraPythonPackages to the neovim wrapper is deprecated, pass a function as to python.withPackages instead" funOrList) - else funOrList); # we convert from the old configure.format to plugins = if builtins.hasAttr "plug" configure then @@ -169,7 +165,7 @@ let res = makeNeovimConfig { inherit withPython3; - extraPython3Packages = compatFun extraPython3Packages; + inherit extraPython3Packages; inherit extraLuaPackages; inherit withNodeJs withRuby viAlias vimAlias; customRC = configure.customRC or ""; From 1c25f36fd45358edd5f30d1fecfa380b2a5cc472 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Tue, 9 Aug 2022 10:20:44 -0700 Subject: [PATCH 022/129] just: 1.3.0 -> 1.4.0 https://github.com/casey/just/blob/master/CHANGELOG.md#140---2022-8-08 --- pkgs/development/tools/just/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/just/default.nix b/pkgs/development/tools/just/default.nix index ef3b1c01cd53..8853b2208c8c 100644 --- a/pkgs/development/tools/just/default.nix +++ b/pkgs/development/tools/just/default.nix @@ -10,16 +10,16 @@ rustPlatform.buildRustPackage rec { pname = "just"; - version = "1.3.0"; + version = "1.4.0"; src = fetchFromGitHub { owner = "casey"; repo = pname; rev = version; - sha256 = "sha256-XtX71Nd+xJmBG3MfLdEMK/JWLS8p8tOPN3RAQMMi4vU="; + sha256 = "sha256-LDLxPNLUyDmJgnoFMMt82pt7J2qf/cBQilcCLk7xNUI="; }; - cargoSha256 = "sha256-yMRoLgbX6JyJeO6hG5+iX8jAY5YElXF/FCnO06O3bo4="; + cargoSha256 = "sha256-Gg0KaFTTsBH55VyYnIA0ZHy5l55tp9xodv0zBgHdLic="; nativeBuildInputs = [ installShellFiles ]; buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; From 3bf4c6f470dace7de40f0a4f00ebcde66bebf939 Mon Sep 17 00:00:00 2001 From: kilianar Date: Tue, 9 Aug 2022 22:21:39 +0200 Subject: [PATCH 023/129] lean: 3.45.0 -> 3.46.0 https://github.com/leanprover-community/lean/releases/tag/v3.46.0 --- pkgs/applications/science/logic/lean/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/science/logic/lean/default.nix b/pkgs/applications/science/logic/lean/default.nix index 4b95529aa3ea..4cbe6ac14484 100644 --- a/pkgs/applications/science/logic/lean/default.nix +++ b/pkgs/applications/science/logic/lean/default.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation rec { pname = "lean"; - version = "3.45.0"; + version = "3.46.0"; src = fetchFromGitHub { owner = "leanprover-community"; @@ -11,8 +11,8 @@ stdenv.mkDerivation rec { # from. this is then used to check whether an olean file should be # rebuilt. don't use a tag as rev because this will get replaced into # src/githash.h.in in preConfigure. - rev = "22b09be35ef66aece11e6e8f5d114f42b064259b"; - sha256 = "1i1zpl9m80k64b7ac23gzab55kky4444lvki1isbmd92m3m4bk8x"; + rev = "741670c439f1ca266bc7fe61ef7212cc9afd9dd8"; + sha256 = "sha256-/4R9i9906e5WQnaKNqUqUyDDIbSW9DNKdGg4rlrvC6c="; }; nativeBuildInputs = [ cmake ]; From f1a62aed0e39a202f4fcfe309683fcb2d0d4c128 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Aug 2022 11:30:14 +0000 Subject: [PATCH 024/129] bitwig-studio: 4.3.2 -> 4.3.4 --- pkgs/applications/audio/bitwig-studio/bitwig-studio4.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/bitwig-studio/bitwig-studio4.nix b/pkgs/applications/audio/bitwig-studio/bitwig-studio4.nix index 1d822f4687e8..2ad0b6bf6aff 100644 --- a/pkgs/applications/audio/bitwig-studio/bitwig-studio4.nix +++ b/pkgs/applications/audio/bitwig-studio/bitwig-studio4.nix @@ -6,11 +6,11 @@ stdenv.mkDerivation rec { pname = "bitwig-studio"; - version = "4.3.2"; + version = "4.3.4"; src = fetchurl { url = "https://downloads.bitwig.com/stable/${version}/${pname}-${version}.deb"; - sha256 = "sha256-vR5C7imMA5oJ5F3Q/tmVNN/FLhFjegFjls9HR4CYoVk="; + sha256 = "sha256-2CCxpQPZB5F5jwJCux1OqGuxCuFZus5vlCrmStmI0F8="; }; nativeBuildInputs = [ dpkg makeWrapper wrapGAppsHook ]; From 070d64e9989eea572f03ab033b7d164b532eeb47 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Aug 2022 11:55:54 +0000 Subject: [PATCH 025/129] closurecompiler: 20220719 -> 20220803 --- pkgs/development/compilers/closure/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/closure/default.nix b/pkgs/development/compilers/closure/default.nix index 408a807df9d9..06fac6f6a3bd 100644 --- a/pkgs/development/compilers/closure/default.nix +++ b/pkgs/development/compilers/closure/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "closure-compiler"; - version = "20220719"; + version = "20220803"; src = fetchurl { url = "mirror://maven/com/google/javascript/closure-compiler/v${version}/closure-compiler-v${version}.jar"; - sha256 = "sha256-eEWNhMUjp+iBB9uzVB430kAfkojtKx2DTUGwpxMc+Us="; + sha256 = "sha256-1h+/i2csV/rCdMVOFsoNG/HrzGfUPPEEfAeRUKnPNSs="; }; dontUnpack = true; From 4dd8c421b999c9f61ef5762a6bcfe087c7f83f4d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Aug 2022 13:30:28 +0000 Subject: [PATCH 026/129] freeciv: 3.0.2 -> 3.0.3 --- pkgs/games/freeciv/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/games/freeciv/default.nix b/pkgs/games/freeciv/default.nix index e3057d59cd43..abe8aff15806 100644 --- a/pkgs/games/freeciv/default.nix +++ b/pkgs/games/freeciv/default.nix @@ -10,13 +10,13 @@ stdenv.mkDerivation rec { pname = "freeciv"; - version = "3.0.2"; + version = "3.0.3"; src = fetchFromGitHub { owner = "freeciv"; repo = "freeciv"; rev = "R${lib.replaceStrings [ "." ] [ "_" ] version}"; - sha256 = "sha256-1QGARXIfb97aLxQ5TZ6Fjznlniznnyuc2ugiW/Drf9g="; + sha256 = "sha256-WIp1R27UahbkLZZuF0nbX/XHVDc2OJukPKgoQ+qnjMc="; }; postPatch = '' From 88930ec2962110beb637c317389fc202a943333a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Aug 2022 13:56:36 +0000 Subject: [PATCH 027/129] esbuild: 0.14.53 -> 0.15.0 --- pkgs/development/tools/esbuild/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/esbuild/default.nix b/pkgs/development/tools/esbuild/default.nix index cbf91a17bc56..b95a58470fce 100644 --- a/pkgs/development/tools/esbuild/default.nix +++ b/pkgs/development/tools/esbuild/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "esbuild"; - version = "0.14.53"; + version = "0.15.0"; src = fetchFromGitHub { owner = "evanw"; repo = "esbuild"; rev = "v${version}"; - sha256 = "sha256-o92OVyaiOXtJOAT5WJiclOBt2f1GK3t9vD3cjw1nv+8="; + sha256 = "sha256-ZQRU3UlUkvTgbRMGg+BVNy+0BSUYGYUysgZ69YTeqiA="; }; vendorSha256 = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ="; From 7397532747882f8ae710ed723ea1dc253e80c517 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Aug 2022 16:07:25 +0000 Subject: [PATCH 028/129] ergo: 4.0.36 -> 4.0.38 --- pkgs/applications/blockchains/ergo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/ergo/default.nix b/pkgs/applications/blockchains/ergo/default.nix index 5c706c53bac3..4bd870fc5d46 100644 --- a/pkgs/applications/blockchains/ergo/default.nix +++ b/pkgs/applications/blockchains/ergo/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "ergo"; - version = "4.0.36"; + version = "4.0.38"; src = fetchurl { url = "https://github.com/ergoplatform/ergo/releases/download/v${version}/ergo-${version}.jar"; - sha256 = "sha256-Cnh6XRurdrQvT2PROJll8k2C6sieqWle8ba53XI+s8g="; + sha256 = "sha256-FdgF2xxqk9n1la6Lu4g6n+3O5pgIUKSYC3KzH0yM2Ok="; }; nativeBuildInputs = [ makeWrapper ]; From 257a53681b599430de2b8c36d2f87b0cdab1aa8a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Aug 2022 16:18:40 +0000 Subject: [PATCH 029/129] folly: 2022.08.01.00 -> 2022.08.08.00 --- pkgs/development/libraries/folly/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/folly/default.nix b/pkgs/development/libraries/folly/default.nix index 4f37408908e6..e11d00fb1967 100644 --- a/pkgs/development/libraries/folly/default.nix +++ b/pkgs/development/libraries/folly/default.nix @@ -22,13 +22,13 @@ stdenv.mkDerivation rec { pname = "folly"; - version = "2022.08.01.00"; + version = "2022.08.08.00"; src = fetchFromGitHub { owner = "facebook"; repo = "folly"; rev = "v${version}"; - sha256 = "sha256-34yzl/w3ZaxWIKikFwiUpCty5Cn8V5Fgj5oTZ4QV6ZI="; + sha256 = "sha256-shgqM7hUz0uHOtaXSSdnsQW0eUvCUAo3mtq0EISeQgU="; }; nativeBuildInputs = [ From d90b45de3f00211783bf574987ce0d4e071f1fc0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Aug 2022 17:33:29 +0000 Subject: [PATCH 030/129] go-graft: 0.2.6 -> 0.2.8 --- pkgs/applications/networking/go-graft/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/go-graft/default.nix b/pkgs/applications/networking/go-graft/default.nix index f919ff757fc9..7e9e2c393358 100644 --- a/pkgs/applications/networking/go-graft/default.nix +++ b/pkgs/applications/networking/go-graft/default.nix @@ -2,19 +2,19 @@ buildGoModule rec { pname = "go-graft"; - version = "0.2.6"; + version = "0.2.8"; src = fetchFromGitHub { owner = "mzz2017"; repo = "gg"; rev = "v${version}"; - sha256 = "sha256-nuRkQEqytMPxd2Wh5XeUwk4YzIxnnNEiVTxFY4GlD1E="; + sha256 = "sha256-bihQo75HwottWXIGGaTG4mN+wg0iWKun61dvCYlAmeQ="; }; CGO_ENABLED = 0; ldflags = [ "-X github.com/mzz2017/gg/cmd.Version=${version}" "-s" "-w" "-buildid=" ]; - vendorSha256 = "sha256-/ckudHo/ttNct+yrQYQEaC6hX+p+Q6M1I/cjJCgjYLk="; + vendorSha256 = "sha256-26tk6pv3yCVwczuymD7r54C7BKcaVlOseI8TXj8IyOM="; subPackages = [ "." ]; meta = with lib; { From 10c49604791ab3966e103f62963dbf36ba6aaded Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Aug 2022 17:34:40 +0000 Subject: [PATCH 031/129] gobgp: 3.4.0 -> 3.5.0 --- pkgs/tools/networking/gobgp/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/gobgp/default.nix b/pkgs/tools/networking/gobgp/default.nix index 83da29cd78f5..3e22f247147d 100644 --- a/pkgs/tools/networking/gobgp/default.nix +++ b/pkgs/tools/networking/gobgp/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "gobgp"; - version = "3.4.0"; + version = "3.5.0"; src = fetchFromGitHub { owner = "osrg"; repo = "gobgp"; rev = "v${version}"; - sha256 = "sha256-iV5iohDwJ6LCtX2qvv+Z7jYRukqM606UlAROLb/1Fak="; + sha256 = "sha256-iFtoxEjb+Wk8E2oj1SjSRNwxg20//0LgFtjMq9qJOEQ="; }; - vendorSha256 = "sha256-hw2cyKJaLBmPRdF4D+GVcVCkTpIK0HZasbMyYfLef1w="; + vendorSha256 = "sha256-FxfER3THsA7NRuQKEdWQxgUN0SiNI00hGUMVD+3BaG4="; postConfigure = '' export CGO_ENABLED=0 From 186f6748ba77aebdccf189a491a4942338adc820 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Aug 2022 17:34:58 +0000 Subject: [PATCH 032/129] gobgpd: 3.4.0 -> 3.5.0 --- pkgs/servers/misc/gobgpd/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/misc/gobgpd/default.nix b/pkgs/servers/misc/gobgpd/default.nix index 52ba33c42207..a46a25ee5a19 100644 --- a/pkgs/servers/misc/gobgpd/default.nix +++ b/pkgs/servers/misc/gobgpd/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "gobgpd"; - version = "3.4.0"; + version = "3.5.0"; src = fetchFromGitHub { owner = "osrg"; repo = "gobgp"; rev = "v${version}"; - sha256 = "sha256-iV5iohDwJ6LCtX2qvv+Z7jYRukqM606UlAROLb/1Fak="; + sha256 = "sha256-iFtoxEjb+Wk8E2oj1SjSRNwxg20//0LgFtjMq9qJOEQ="; }; - vendorSha256 = "sha256-hw2cyKJaLBmPRdF4D+GVcVCkTpIK0HZasbMyYfLef1w="; + vendorSha256 = "sha256-FxfER3THsA7NRuQKEdWQxgUN0SiNI00hGUMVD+3BaG4="; postConfigure = '' export CGO_ENABLED=0 From ec18e72c2d037a31e1da9f08959a9941b44890c0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Aug 2022 18:31:32 +0000 Subject: [PATCH 033/129] jd-diff-patch: 1.6.0 -> 1.6.1 --- pkgs/development/tools/jd-diff-patch/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/jd-diff-patch/default.nix b/pkgs/development/tools/jd-diff-patch/default.nix index 4c1ff0536596..ad7f7fad3cc6 100644 --- a/pkgs/development/tools/jd-diff-patch/default.nix +++ b/pkgs/development/tools/jd-diff-patch/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "jd-diff-patch"; - version = "1.6.0"; + version = "1.6.1"; src = fetchFromGitHub { owner = "josephburnett"; repo = "jd"; rev = "v${version}"; - sha256 = "sha256-VxCsr7u7Ds3BMtZtnVS0VoLKM46NYLqVZGmRDSyqmtg="; + sha256 = "sha256-Ti7eElLplnYGP7v1VuGpyeZ3ZIau6Ffx4ACMBDIBROw="; }; # not including web ui From d101ff47a59f8277bc9e5eecd6c74ea507c360fc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Aug 2022 18:56:09 +0000 Subject: [PATCH 034/129] kubedb-cli: 0.27.0 -> 0.28.0 --- pkgs/applications/networking/cluster/kubedb-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/kubedb-cli/default.nix b/pkgs/applications/networking/cluster/kubedb-cli/default.nix index 190198fb707a..fd2402fe1dc6 100644 --- a/pkgs/applications/networking/cluster/kubedb-cli/default.nix +++ b/pkgs/applications/networking/cluster/kubedb-cli/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "kubedb-cli"; - version = "0.27.0"; + version = "0.28.0"; src = fetchFromGitHub { owner = "kubedb"; repo = "cli"; rev = "v${version}"; - sha256 = "sha256-1mxSW1mL2GwVfyh6QfybCRL0GTO4kVyck1Uhjjfo7Wo="; + sha256 = "sha256-fSJ9IIuyOuKmpklw7uh1NKM3Pr5epJefYBJ3udeC5sE="; }; vendorSha256 = null; From 56b1c71379cd65183e4e59337e096a206db2f775 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Aug 2022 20:30:43 +0000 Subject: [PATCH 035/129] mullvad-vpn: 2022.2 -> 2022.3 --- pkgs/applications/networking/mullvad-vpn/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/mullvad-vpn/default.nix b/pkgs/applications/networking/mullvad-vpn/default.nix index d1091068c6b4..48189e7bfa56 100644 --- a/pkgs/applications/networking/mullvad-vpn/default.nix +++ b/pkgs/applications/networking/mullvad-vpn/default.nix @@ -43,11 +43,11 @@ in stdenv.mkDerivation rec { pname = "mullvad-vpn"; - version = "2022.2"; + version = "2022.3"; src = fetchurl { url = "https://github.com/mullvad/mullvadvpn-app/releases/download/${version}/MullvadVPN-${version}_amd64.deb"; - sha256 = "sha256-h/c4aPH6E2TzbXGROpLJgF9uHYcjvKiW5upIobpJM9o="; + sha256 = "sha256-AxBVH5dHp1IBgeAMEUm+6xgHNuDChNs1+kOinbsUJu0="; }; nativeBuildInputs = [ From 75852239ebb194eabb2e6773663ff45b8e832ca6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Aug 2022 20:33:32 +0000 Subject: [PATCH 036/129] mutagen-compose: 0.15.0-1 -> 0.15.1 --- pkgs/tools/misc/mutagen-compose/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/mutagen-compose/default.nix b/pkgs/tools/misc/mutagen-compose/default.nix index 3147acb70259..53afa9f4dbdf 100644 --- a/pkgs/tools/misc/mutagen-compose/default.nix +++ b/pkgs/tools/misc/mutagen-compose/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "mutagen-compose"; - version = "0.15.0-1"; + version = "0.15.1"; src = fetchFromGitHub { owner = "mutagen-io"; repo = pname; rev = "v${version}"; - sha256 = "sha256-Po3AsY6IMSY6Bu51ZhV50cmB79J3Xud4svdjssKKBOU="; + sha256 = "sha256-vdgAil/88fl5/UhsbbAWrxh/YUiGbyXj4pqZFv4YwHc="; }; - vendorSha256 = "sha256-lkb4+EA6UB/GysqiA8z+84Lpb93PiMb4/3LKxfltGNE="; + vendorSha256 = "sha256-qb0auYQJHnpGafonWoYq3tax6uLdOCIdz+oZ7I6bytk="; doCheck = false; From e02c33d9f112015506f7f9540de409bf3605d09c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Aug 2022 21:00:26 +0000 Subject: [PATCH 037/129] nixpacks: 0.2.11 -> 0.2.13 --- pkgs/applications/virtualization/nixpacks/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/virtualization/nixpacks/default.nix b/pkgs/applications/virtualization/nixpacks/default.nix index 68d74d0710ad..22a8b9637332 100644 --- a/pkgs/applications/virtualization/nixpacks/default.nix +++ b/pkgs/applications/virtualization/nixpacks/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "nixpacks"; - version = "0.2.11"; + version = "0.2.13"; src = fetchFromGitHub { owner = "railwayapp"; repo = pname; rev = "v${version}"; - sha256 = "sha256-DRYAVwNrNnMB5e1HQz3gmKcM9O7qWquGVsvWQHkCdhw="; + sha256 = "sha256-ZI29kcGteyJWUfCC/DR92YqzfuVYqDx7FtedehVp+vs="; }; - cargoSha256 = "sha256-+T8bnUeuzHcHEADZyxvjVuRlEoqMm8T2L9L5hqhNJKU="; + cargoSha256 = "sha256-Njvf5+i54TLbcWtWiNefEWudtGsSjw+DJh+FP6OuLek="; # skip test due FHS dependency doCheck = false; From ca3f49040b0dcea47f3b72f83ca46ec360ffc1fe Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 00:21:21 +0000 Subject: [PATCH 038/129] terracognita: 0.7.6 -> 0.8.1 --- pkgs/development/tools/misc/terracognita/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/misc/terracognita/default.nix b/pkgs/development/tools/misc/terracognita/default.nix index 0ca36d896dec..d101e017bfdf 100644 --- a/pkgs/development/tools/misc/terracognita/default.nix +++ b/pkgs/development/tools/misc/terracognita/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "terracognita"; - version = "0.7.6"; + version = "0.8.1"; src = fetchFromGitHub { owner = "cycloidio"; repo = pname; rev = "v${version}"; - sha256 = "sha256-9t3W/mHXXl8Sw/2iQ5D3U66LiO+/mQ56K+ihJCO4au4="; + sha256 = "sha256-pI/TxC+RCQjtkYBA+BwW1jlDURKh1uf45GTIqz/rih8="; }; - vendorSha256 = "sha256-JkgkBxeUUQBb+VQzhovH5MnVwdxplKMVCGs4CX/fZlY="; + vendorSha256 = "sha256-ihoWhiK3TO1lAvk1oU8HVVDBDvLFBw+MMaK2avWfCB4="; doCheck = false; From e24396c79bf47a5c7548278304ecbb20430057bd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 01:03:11 +0000 Subject: [PATCH 039/129] ttyd: 1.6.3 -> 1.7.0 --- pkgs/servers/ttyd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/ttyd/default.nix b/pkgs/servers/ttyd/default.nix index 9553862dc74f..60038a212562 100644 --- a/pkgs/servers/ttyd/default.nix +++ b/pkgs/servers/ttyd/default.nix @@ -7,12 +7,12 @@ with builtins; stdenv.mkDerivation rec { pname = "ttyd"; - version = "1.6.3"; + version = "1.7.0"; src = fetchFromGitHub { owner = "tsl0922"; repo = pname; rev = "refs/tags/${version}"; - sha256 = "ErWd99js2EldkRNWFdgZw/X3DIz266kM3lLlC34Deno="; + sha256 = "sha256-Q1A3UMlC3CYzqQxle7XT/o22eWHorMJ5hDXTIT/UMQM="; }; nativeBuildInputs = [ pkg-config cmake xxd ]; From 591b3c83134ec3411fe2a1fa14c635b93083c965 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 05:36:34 +0000 Subject: [PATCH 040/129] jquake: 1.7.0 -> 1.7.1 --- pkgs/applications/misc/jquake/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/jquake/default.nix b/pkgs/applications/misc/jquake/default.nix index ba10ce019a0a..192f8f06a047 100644 --- a/pkgs/applications/misc/jquake/default.nix +++ b/pkgs/applications/misc/jquake/default.nix @@ -4,11 +4,11 @@ stdenv.mkDerivation rec { pname = "jquake"; - version = "1.7.0"; + version = "1.7.1"; src = fetchurl { url = "https://fleneindre.github.io/downloads/JQuake_${version}_linux.zip"; - sha256 = "sha256-Y7yjjpptaScThiU8rHdV6cJ6FaTHOtKdsnO5y/HzoDA="; + sha256 = "sha256-sdTt1+1eAU/DJAszPQnmoaBZThJ9yC9GL1k+OpD+tp4="; }; nativeBuildInputs = [ unzip copyDesktopItems ]; From 7c5c6fab348fb3fbf235351582a21bd840c87401 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 08:30:48 +0000 Subject: [PATCH 041/129] argocd-autopilot: 0.4.3 -> 0.4.4 --- .../networking/cluster/argocd-autopilot/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/argocd-autopilot/default.nix b/pkgs/applications/networking/cluster/argocd-autopilot/default.nix index e5cc13eab2f2..e4380b787380 100644 --- a/pkgs/applications/networking/cluster/argocd-autopilot/default.nix +++ b/pkgs/applications/networking/cluster/argocd-autopilot/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "argocd-autopilot"; - version = "0.4.3"; + version = "0.4.4"; src = fetchFromGitHub { owner = "argoproj-labs"; repo = "argocd-autopilot"; rev = "v${version}"; - sha256 = "sha256-24PWSW0qXTUqAmIAb2a/cNs3y5lXnhvzp4y92OlIaxE="; + sha256 = "sha256-d7Jm4Ff7cXytbECt+/TzncCwDGDYxsV1xOC8GSPAgJY="; }; - vendorSha256 = "sha256-rJj9GFNX9OUMzkdr9D9dzucSZe10iW2LpqybhXD0m6s="; + vendorSha256 = "sha256-EpLU6rYzmtk/FCZiS8AJVGR4LUEkzNQE26CU9LzBwFM="; proxyVendor = true; From 8115591a4f7bb53d6569f26533e189372868c5ad Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Aug 2022 10:43:57 +0200 Subject: [PATCH 042/129] uncover: init at 0.0.6 --- pkgs/tools/security/uncover/default.nix | 31 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/tools/security/uncover/default.nix diff --git a/pkgs/tools/security/uncover/default.nix b/pkgs/tools/security/uncover/default.nix new file mode 100644 index 000000000000..f8102c6987d8 --- /dev/null +++ b/pkgs/tools/security/uncover/default.nix @@ -0,0 +1,31 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "uncover"; + version = "0.0.6"; + + src = fetchFromGitHub { + owner = "projectdiscovery"; + repo = pname; + rev = "v${version}"; + hash = "sha256-iWSaNfRZJ59C7DWsPett9zM6hi/kOtpxlkw2haMeuaY="; + }; + + vendorSha256 = "sha256-M50pQJCzEXSBXUsjwxlM8s1WgcPwZgBpArUExLP+bRY="; + + meta = with lib; { + description = "API wrapper to search for exposed hosts"; + longDescription = '' + uncover is a go wrapper using APIs of well known search engines to quickly + discover exposed hosts on the internet. It is built with automation in mind, + so you can query it and utilize the results with your current pipeline tools. + Currently, it supports shodan,shodan-internetdb, censys, and fofa search API. + ''; + homepage = "https://github.com/projectdiscovery/uncover"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bf205bd3bba4..f22ab43f6094 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21548,6 +21548,8 @@ with pkgs; buildGoModule = buildGo117Module; }; + uncover = callPackage ../tools/security/uncover { }; + unibilium = callPackage ../development/libraries/unibilium { }; unicap = callPackage ../development/libraries/unicap {}; From e214cec3463a761404e3816bc9661de4894bfeaa Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 09:09:40 +0000 Subject: [PATCH 043/129] cirrus-cli: 0.82.0 -> 0.83.0 --- .../tools/continuous-integration/cirrus-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/cirrus-cli/default.nix b/pkgs/development/tools/continuous-integration/cirrus-cli/default.nix index 15dbb59f11e5..de0e154b51f0 100644 --- a/pkgs/development/tools/continuous-integration/cirrus-cli/default.nix +++ b/pkgs/development/tools/continuous-integration/cirrus-cli/default.nix @@ -5,13 +5,13 @@ buildGoModule rec { pname = "cirrus-cli"; - version = "0.82.0"; + version = "0.83.0"; src = fetchFromGitHub { owner = "cirruslabs"; repo = pname; rev = "v${version}"; - sha256 = "sha256-ZOfgzS6cHtjfQPcmS/tDob7WTPtusyD8iUFFSqE2c94="; + sha256 = "sha256-Ud4kdnKesn98CYIsB6S5FjJ3yOT3axTcVlrGroMNDPE="; }; vendorSha256 = "sha256-XVGFJv9TYjuwVubTcFVI2b+M2ZDE1Jv4u/dxowcLL2s="; From 565803fbff4b370b37e3ceda2478b89c62125b7a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 09:09:43 +0000 Subject: [PATCH 044/129] civo: 1.0.31 -> 1.0.32 --- pkgs/applications/networking/cluster/civo/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/civo/default.nix b/pkgs/applications/networking/cluster/civo/default.nix index 4aa795636a55..2018b94d4bb1 100644 --- a/pkgs/applications/networking/cluster/civo/default.nix +++ b/pkgs/applications/networking/cluster/civo/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "civo"; - version = "1.0.31"; + version = "1.0.32"; src = fetchFromGitHub { owner = "civo"; repo = "cli"; rev = "v${version}"; - sha256 = "sha256-QyGsO8rvc+noAbG2IN4uvTaX1PGW5zHv3YRbYGm2Iq4="; + sha256 = "sha256-Q/eSYm+SupHdRf7O7dU+UU+1GOwtjcsT0iFxWiKAEuw="; }; - vendorSha256 = "sha256-2D+MJK8vf0AlLUHjR2elaHlIcvmrVovYsBfy0ax0aXg="; + vendorSha256 = "sha256-ZZwecjcJqKOj2ywy4el1SVMs+0a/F6tFP37MYDC6tyg="; CGO_ENABLED = 0; From 56a690d7fb6d0ea98e67ed4ee0113d4f7ca17f54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 11 Aug 2022 09:23:55 +0200 Subject: [PATCH 045/129] rustup: also patch binaries in libexec fixes https://github.com/NixOS/nixpkgs/issues/186052 --- .../rustup/0001-dynamically-patchelf-binaries.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/rust/rustup/0001-dynamically-patchelf-binaries.patch b/pkgs/development/tools/rust/rustup/0001-dynamically-patchelf-binaries.patch index 13649b387a3e..2b191031da60 100644 --- a/pkgs/development/tools/rust/rustup/0001-dynamically-patchelf-binaries.patch +++ b/pkgs/development/tools/rust/rustup/0001-dynamically-patchelf-binaries.patch @@ -1,8 +1,8 @@ diff --git a/src/dist/component/package.rs b/src/dist/component/package.rs -index 3beddf54..0f859b8d 100644 +index 73a533b5..408ab815 100644 --- a/src/dist/component/package.rs +++ b/src/dist/component/package.rs -@@ -113,6 +113,7 @@ impl Package for DirectoryPackage { +@@ -113,6 +113,7 @@ fn install<'a>( } else { builder.move_file(path.clone(), &src_path)? } @@ -10,13 +10,13 @@ index 3beddf54..0f859b8d 100644 } "dir" => { if self.copy { -@@ -135,6 +136,29 @@ impl Package for DirectoryPackage { +@@ -135,6 +136,29 @@ fn components(&self) -> Vec { } } +fn nix_patchelf_if_needed(dest_path: &Path, src_path: &Path) { + let (is_bin, is_lib) = if let Some(p) = src_path.parent() { -+ (p.ends_with("bin"), p.ends_with("lib")) ++ (p.ends_with("bin") || p.ends_with("libexec"), p.ends_with("lib")) + } else { + (false, false) + }; @@ -38,5 +38,5 @@ index 3beddf54..0f859b8d 100644 +} + #[derive(Debug)] - pub struct TarPackage<'a>(DirectoryPackage, temp::Dir<'a>); + pub(crate) struct TarPackage<'a>(DirectoryPackage, temp::Dir<'a>); From 87d13a9ef02254f65d568eaf98e1f876e22b35e4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 11:25:08 +0000 Subject: [PATCH 046/129] eggdrop: 1.9.1 -> 1.9.3 --- pkgs/tools/networking/eggdrop/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/eggdrop/default.nix b/pkgs/tools/networking/eggdrop/default.nix index a294267bef60..9c5c8efa5a72 100644 --- a/pkgs/tools/networking/eggdrop/default.nix +++ b/pkgs/tools/networking/eggdrop/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "eggdrop"; - version = "1.9.1"; + version = "1.9.3"; src = fetchFromGitHub { owner = "eggheads"; repo = "eggdrop"; rev = "v${version}"; - sha256 = "sha256-vh8nym7aYeTRUQ7FBZRy4ToG2ajwRDhzi4jNiJQOEyQ="; + sha256 = "sha256-BYPDIPn1nuVhnPjs2vZ6KC6pjBVYDWsRjB8c1Z6UUdE="; }; buildInputs = [ tcl ]; From d6ecb140040b0a142861aac66a58d508b4fe2a18 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 11:42:40 +0000 Subject: [PATCH 047/129] flannel: 0.19.0 -> 0.19.1 --- pkgs/tools/networking/flannel/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/flannel/default.nix b/pkgs/tools/networking/flannel/default.nix index a4480f4eac4e..9136b81a00a8 100644 --- a/pkgs/tools/networking/flannel/default.nix +++ b/pkgs/tools/networking/flannel/default.nix @@ -4,7 +4,7 @@ with lib; buildGoModule rec { pname = "flannel"; - version = "0.19.0"; + version = "0.19.1"; rev = "v${version}"; vendorSha256 = null; @@ -13,7 +13,7 @@ buildGoModule rec { inherit rev; owner = "flannel-io"; repo = "flannel"; - sha256 = "sha256-vWDOEeHJaXGo+p60ls3a5FGwjDBI49QdZ92ibxO1aEU="; + sha256 = "sha256-pWi4JKBfIb6c4fh0EAPf86B4axrDzOPM+ZWquFd6mTk="; }; ldflags = [ "-X github.com/flannel-io/flannel/version.Version=${rev}" ]; From f84b3c9f0ecc6d715df2d462b8ed693e7a487f9e Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Thu, 11 Aug 2022 13:58:39 +0200 Subject: [PATCH 048/129] bundler: 2.3.9 -> 2.3.20 --- pkgs/development/ruby-modules/bundler/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/ruby-modules/bundler/default.nix b/pkgs/development/ruby-modules/bundler/default.nix index 584a13623ba3..04f97c68c6a6 100644 --- a/pkgs/development/ruby-modules/bundler/default.nix +++ b/pkgs/development/ruby-modules/bundler/default.nix @@ -4,8 +4,8 @@ buildRubyGem rec { inherit ruby; name = "${gemName}-${version}"; gemName = "bundler"; - version = "2.3.9"; - source.sha256 = "sha256-VZiKuSDP3sSoBXUPcPmwHR/GbZs47NIF+ZlXtHSZWzg="; + version = "2.3.20"; + source.sha256 = "sha256-gJJ3vHzrJo6XpHS1iwLb77jd9ZB39GGLcOJQSrgaBHw="; dontPatchShebangs = true; postFixup = '' From 5aa47e11622bcebdf380395fb6c2c2333e1b304e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Aug 2022 14:14:04 +0200 Subject: [PATCH 049/129] python310Packages.pykostalpiko: init at 1.1.1-1 --- .../python-modules/pykostalpiko/default.nix | 42 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 44 insertions(+) create mode 100644 pkgs/development/python-modules/pykostalpiko/default.nix diff --git a/pkgs/development/python-modules/pykostalpiko/default.nix b/pkgs/development/python-modules/pykostalpiko/default.nix new file mode 100644 index 000000000000..1b36374b20b0 --- /dev/null +++ b/pkgs/development/python-modules/pykostalpiko/default.nix @@ -0,0 +1,42 @@ +{ lib +, aiohttp +, buildPythonPackage +, click +, fetchFromGitHub +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "pykostalpiko"; + version = "1.1.1-1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "Florian7843"; + repo = pname; + rev = "v${version}"; + hash = "sha256-0szkxR19iSWWpPAEo3wriMmI5TFI6YeYRTj86b4rKlU="; + }; + + propagatedBuildInputs = [ + aiohttp + click + ]; + + # Module has no tests + doCheck = false; + + pythonImportsCheck = [ + "pykostalpiko" + ]; + + meta = with lib; { + description = "Library and CLI-tool to fetch the data from a Kostal Piko inverter"; + homepage = "https://github.com/Florian7843/pykostalpiko"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3f94580e2664..e6cf4b195ecb 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7701,6 +7701,8 @@ in { pykoplenti = callPackage ../development/python-modules/pykoplenti { }; + pykostalpiko = callPackage ../development/python-modules/pykostalpiko { }; + pykulersky = callPackage ../development/python-modules/pykulersky { }; pykwalify = callPackage ../development/python-modules/pykwalify { }; From f8ec6c6c85f79342edab12fd59fc101426c6e3ad Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 11 Aug 2022 14:20:44 +0200 Subject: [PATCH 050/129] nixos-generators: 1.6.0 -> 1.7.0 --- pkgs/tools/nix/nixos-generators/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/nix/nixos-generators/default.nix b/pkgs/tools/nix/nixos-generators/default.nix index ffbb5e0882fc..fa4495647c6e 100644 --- a/pkgs/tools/nix/nixos-generators/default.nix +++ b/pkgs/tools/nix/nixos-generators/default.nix @@ -2,12 +2,12 @@ stdenv.mkDerivation rec { pname = "nixos-generators"; - version = "1.6.0"; + version = "1.7.0"; src = fetchFromGitHub { owner = "nix-community"; repo = "nixos-generators"; rev = version; - sha256 = "sha256-dpim9Mtd57Yj6qt7p7UKwjWm6NnOU3S7jaEyEscSyPE="; + sha256 = "sha256-WecDwDY/hEcDQYzFnccCNa+5Umht0lfjx/d1qGDy/rQ="; }; nativeBuildInputs = [ makeWrapper ]; installFlags = [ "PREFIX=$(out)" ]; From 6c6a6c163f8615aa7a05102e5545630d9be8ffb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 11 Aug 2022 13:46:01 +0000 Subject: [PATCH 051/129] libadwaita: 1.1.3 -> 1.1.4 https://gitlab.gnome.org/GNOME/libadwaita/-/blob/1.1.4/NEWS --- pkgs/development/libraries/libadwaita/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libadwaita/default.nix b/pkgs/development/libraries/libadwaita/default.nix index f36c88593155..a9185f0b4fec 100644 --- a/pkgs/development/libraries/libadwaita/default.nix +++ b/pkgs/development/libraries/libadwaita/default.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { pname = "libadwaita"; - version = "1.1.3"; + version = "1.1.4"; outputs = [ "out" "dev" "devdoc" ]; outputBin = "devdoc"; # demo app @@ -30,7 +30,7 @@ stdenv.mkDerivation rec { owner = "GNOME"; repo = "libadwaita"; rev = version; - hash = "sha256-Mjv4Z9YaIT9atD8ekepBAA1ZV30kWnMnV8+kOuGULnw="; + hash = "sha256-xxnLgPKPOND/ITvDC6SOD2GlkzlIX3BzBbt6p2AEjgY="; }; nativeBuildInputs = [ From 17f96089877ba2b6d3107ecc819f39ab42543cfb Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 15:56:02 +0000 Subject: [PATCH 052/129] netdata: 1.35.1 -> 1.36.0 --- pkgs/tools/system/netdata/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/system/netdata/default.nix b/pkgs/tools/system/netdata/default.nix index 0d5b7e23c121..751725eec6b5 100644 --- a/pkgs/tools/system/netdata/default.nix +++ b/pkgs/tools/system/netdata/default.nix @@ -19,14 +19,14 @@ with lib; let go-d-plugin = callPackage ./go.d.plugin.nix {}; in stdenv.mkDerivation rec { - version = "1.35.1"; + version = "1.36.0"; pname = "netdata"; src = fetchFromGitHub { owner = "netdata"; repo = "netdata"; rev = "v${version}"; - sha256 = "sha256-wYphy3+DlT0UpQ5su/LkMJRIcABiBR+fIL/0w9bUeS0="; + sha256 = "sha256-ir8NO150PgDEaWjTvXuSZMIK3qwZrGyPuGHxLIBfCfU="; fetchSubmodules = true; }; From 15858dfdba3cb45bef35b578da79f2b234b6bb01 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 16:21:43 +0000 Subject: [PATCH 053/129] otpauth: 0.4.2 -> 0.4.3 --- pkgs/tools/security/otpauth/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/otpauth/default.nix b/pkgs/tools/security/otpauth/default.nix index e4c42a83f045..1d93647ed493 100644 --- a/pkgs/tools/security/otpauth/default.nix +++ b/pkgs/tools/security/otpauth/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "otpauth"; - version = "0.4.2"; + version = "0.4.3"; src = fetchFromGitHub { owner = "dim13"; repo = "otpauth"; rev = "v${version}"; - sha256 = "sha256-qSu0kGRi1es9OciN1s9Eh1Z3JkxbcKO8W5cAC7c7n0k="; + sha256 = "sha256-x5/OVUxuNjK05D8n1l5F6qT/wmrBYnOSEoSL0c0fsqc="; }; - vendorSha256 = "sha256-TU5crhmQAhSfURdfPe/xaa3RgGyc+UFn2E+jJ0flNsg="; + vendorSha256 = "sha256-jnIq7Zc2MauJReJ9a8TeqXXsvHixsBB+znmXAxcpqUQ="; doCheck = true; meta = with lib; { From 8fb9c2cdd7c3b3145cd8fe1f299b9c6c74bf0416 Mon Sep 17 00:00:00 2001 From: Winter Date: Fri, 29 Jul 2022 11:56:45 -0400 Subject: [PATCH 054/129] bundlerEnv: allow copying additional paths alongside config files --- pkgs/development/ruby-modules/bundled-common/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/ruby-modules/bundled-common/default.nix b/pkgs/development/ruby-modules/bundled-common/default.nix index 7bad0b442da6..9d01e4531159 100644 --- a/pkgs/development/ruby-modules/bundled-common/default.nix +++ b/pkgs/development/ruby-modules/bundled-common/default.nix @@ -21,6 +21,7 @@ , groups ? null , ignoreCollisions ? false , buildInputs ? [] +, extraConfigPaths ? [] , ... }@args: @@ -83,6 +84,8 @@ let ${maybeCopyAll mainGemName} cp ${gemFiles.gemfile} $out/Gemfile || ls -l $out/Gemfile cp ${gemFiles.lockfile} $out/Gemfile.lock || ls -l $out/Gemfile.lock + + ${lib.concatMapStringsSep "\n" (path: "cp -r ${path} $out/") extraConfigPaths} ''; buildGem = name: attrs: ( From 58bb8ab012e4ca5edf90b8e00a262eb0bd7ffb94 Mon Sep 17 00:00:00 2001 From: Winter Date: Thu, 28 Jul 2022 17:52:20 -0400 Subject: [PATCH 055/129] gitlab: 15.1.4 -> 15.2.2 --- .../version-management/gitlab/data.json | 26 ++- .../version-management/gitlab/default.nix | 2 + .../version-management/gitlab/gitaly/Gemfile | 4 +- .../gitlab/gitaly/Gemfile.lock | 18 +- .../gitlab/gitaly/default.nix | 52 ++++-- .../gitlab/gitaly/gemset.nix | 18 +- .../gitlab/gitlab-shell/default.nix | 6 +- .../gitlab/gitlab-workhorse/default.nix | 4 +- .../version-management/gitlab/rubyEnv/Gemfile | 43 +++-- .../gitlab/rubyEnv/Gemfile.lock | 172 +++++++++++------- .../gitlab/rubyEnv/gemset.nix | 148 +++++++-------- .../version-management/gitlab/update.py | 29 ++- 12 files changed, 300 insertions(+), 222 deletions(-) diff --git a/pkgs/applications/version-management/gitlab/data.json b/pkgs/applications/version-management/gitlab/data.json index 8f61560bca54..e507401a564a 100644 --- a/pkgs/applications/version-management/gitlab/data.json +++ b/pkgs/applications/version-management/gitlab/data.json @@ -1,14 +1,22 @@ { - "version": "15.1.4", - "repo_hash": "sha256-Ca3rhUJV7OVr3Uv6YmQxHspgwCKp1CZ4phUL1reREy8=", - "yarn_hash": "19df16gk0vpvdi1idqaakaglf11cic93i5njw0x4m2cnsznhpvz4", + "version": "15.2.2", + "repo_hash": "sha256-Rb6u47Ehx1Kee3FFsoFa6ZqpU7c00ToEelvfjyG3aiI=", + "yarn_hash": "154akdngdagwfn8s90aw6sajw058i507shv5wzdn8l0vy3badgkv", "owner": "gitlab-org", "repo": "gitlab", - "rev": "v15.1.4-ee", + "rev": "v15.2.2-ee", "passthru": { - "GITALY_SERVER_VERSION": "15.1.4", - "GITLAB_PAGES_VERSION": "1.59.1", - "GITLAB_SHELL_VERSION": "14.7.4", - "GITLAB_WORKHORSE_VERSION": "15.1.4" - } + "GITALY_SERVER_VERSION": "15.2.2", + "GITLAB_PAGES_VERSION": "1.61.1", + "GITLAB_SHELL_VERSION": "14.9.0", + "GITLAB_WORKHORSE_VERSION": "15.2.2" + }, + "vendored_gems": [ + "devise-pbkdf2-encryptable", + "omniauth-gitlab", + "omniauth_crowd", + "mail-smtp_pool", + "ipynbdiff", + "error_tracking_open_api" + ] } diff --git a/pkgs/applications/version-management/gitlab/default.nix b/pkgs/applications/version-management/gitlab/default.nix index 73a02673471f..1df534dd4427 100644 --- a/pkgs/applications/version-management/gitlab/default.nix +++ b/pkgs/applications/version-management/gitlab/default.nix @@ -46,6 +46,8 @@ let # N.B. omniauth_oauth2_generic and apollo_upload_server both provide a # `console` executable. ignoreCollisions = true; + + extraConfigPaths = lib.forEach data.vendored_gems (gem: "${src}/vendor/gems/${gem}"); }; yarnOfflineCache = fetchYarnDeps { diff --git a/pkgs/applications/version-management/gitlab/gitaly/Gemfile b/pkgs/applications/version-management/gitlab/gitaly/Gemfile index 787e705f9457..cbb9321fd7ec 100644 --- a/pkgs/applications/version-management/gitlab/gitaly/Gemfile +++ b/pkgs/applications/version-management/gitlab/gitaly/Gemfile @@ -1,7 +1,7 @@ source 'https://rubygems.org' gem 'rugged', '~> 1.2' -gem 'github-linguist', '~> 7.12', require: 'linguist' +gem 'github-linguist', '~> 7.20.0', require: 'linguist' gem 'gitlab-markup', '~> 1.7.1' gem 'activesupport', '~> 6.1.4.7' gem 'rdoc', '~> 6.0' @@ -13,7 +13,7 @@ gem 'faraday', '~> 1.0' gem 'rbtrace', require: false # Labkit provides observability functionality -gem 'gitlab-labkit', '~> 0.21.1' +gem 'gitlab-labkit', '~> 0.23' # Detects the open source license the repository includes # This version needs to be in sync with GitLab CE/EE diff --git a/pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock b/pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock index 3616864ad7e6..65faf2b721fe 100644 --- a/pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock +++ b/pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock @@ -40,7 +40,7 @@ GEM dotenv (2.7.6) equalizer (0.0.11) erubi (1.10.0) - escape_utils (1.2.1) + escape_utils (1.2.2) factory_bot (5.0.2) activesupport (>= 4.2.0) faraday (1.0.1) @@ -48,11 +48,11 @@ GEM ffi (1.15.3) gemojione (3.3.0) json - github-linguist (7.12.1) + github-linguist (7.20.0) charlock_holmes (~> 0.7.7) escape_utils (~> 1.2.0) mini_mime (~> 1.0) - rugged (>= 0.25.1) + rugged (~> 1.0) github-markup (1.7.0) gitlab-gollum-lib (4.2.7.10.gitlab.2) gemojione (~> 3.2) @@ -65,11 +65,11 @@ GEM gitlab-gollum-rugged_adapter (0.4.4.4.gitlab.1) mime-types (>= 1.15) rugged (~> 1.0) - gitlab-labkit (0.21.2) + gitlab-labkit (0.23.0) actionpack (>= 5.0.0, < 7.0.0) activesupport (>= 5.0.0, < 7.0.0) - grpc (~> 1.30) - jaeger-client (~> 1.1) + grpc (>= 1.37) + jaeger-client (~> 1.1.0) opentracing (~> 0.4) pg_query (~> 2.1) redis (> 3.0.0, < 5.0.0) @@ -110,7 +110,7 @@ GEM mime-types (3.3.1) mime-types-data (~> 3.2015) mime-types-data (3.2020.1104) - mini_mime (1.0.2) + mini_mime (1.1.2) mini_portile2 (2.8.0) minitest (5.15.0) msgpack (1.3.3) @@ -228,10 +228,10 @@ DEPENDENCIES activesupport (~> 6.1.4.7) factory_bot faraday (~> 1.0) - github-linguist (~> 7.12) + github-linguist (~> 7.20.0) gitlab-gollum-lib (~> 4.2.7.10.gitlab.2) gitlab-gollum-rugged_adapter (~> 0.4.4.4.gitlab.1) - gitlab-labkit (~> 0.21.1) + gitlab-labkit (~> 0.23) gitlab-license_finder gitlab-markup (~> 1.7.1) google-protobuf (~> 3.19.0) diff --git a/pkgs/applications/version-management/gitlab/gitaly/default.nix b/pkgs/applications/version-management/gitlab/gitaly/default.nix index d3390fa419a7..55874b15e184 100644 --- a/pkgs/applications/version-management/gitlab/gitaly/default.nix +++ b/pkgs/applications/version-management/gitlab/gitaly/default.nix @@ -11,39 +11,55 @@ let gemdir = ./.; }; - version = "15.1.4"; + version = "15.2.2"; package_version = "v${lib.versions.major version}"; gitaly_package = "gitlab.com/gitlab-org/gitaly/${package_version}"; -in -buildGoModule { - pname = "gitaly"; - inherit version; + commonOpts = { + inherit version; - src = fetchFromGitLab { - owner = "gitlab-org"; - repo = "gitaly"; - rev = "v${version}"; - sha256 = "sha256-7bsbmC+a+Qk0MevAJvbQoRfvd3G7+q2zY6Gsb5yP44U="; + src = fetchFromGitLab { + owner = "gitlab-org"; + repo = "gitaly"; + rev = "v${version}"; + sha256 = "sha256-ZePtqpe5zwbslgisIQ+BFM9vtnWknB75gtgoOlkbuyo="; + }; + + vendorSha256 = "sha256-aKF7iupg3XNopi0asasSu5ug+2M9p2nwxk/0g5how6U="; + + ldflags = [ "-X ${gitaly_package}/internal/version.version=${version}" "-X ${gitaly_package}/internal/version.moduleVersion=${version}" ]; + + tags = [ "static,system_libgit2" ]; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ rubyEnv.wrappedRuby libgit2_1_3_0 openssl zlib pcre http-parser ]; + + doCheck = false; }; - vendorSha256 = "sha256-0JWJ2mpf79gJdnNRdlQLi0oDvnj6VmibkW2XcPnaCww="; + auxBins = buildGoModule ({ + pname = "gitaly-aux"; + + subPackages = [ "cmd/gitaly-hooks" "cmd/gitaly-ssh" "cmd/gitaly-git2go-v15" "cmd/gitaly-lfs-smudge" ]; + } // commonOpts); +in +buildGoModule ({ + pname = "gitaly"; passthru = { inherit rubyEnv; }; - ldflags = [ "-X ${gitaly_package}/internal/version.version=${version}" "-X ${gitaly_package}/internal/version.moduleVersion=${version}" ]; + subPackages = [ "cmd/gitaly" "cmd/gitaly-backup" ]; - tags = [ "static,system_libgit2" ]; - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ rubyEnv.wrappedRuby libgit2_1_3_0 openssl zlib pcre http-parser ]; - doCheck = false; + preConfigure = '' + mkdir -p _build/bin + cp -r ${auxBins}/bin/* _build/bin + ''; postInstall = '' mkdir -p $ruby cp -rv $src/ruby/{bin,lib,proto} $ruby - mv $out/bin/gitaly-git2go-${package_version} $out/bin/gitaly-git2go-${version} ''; outputs = [ "out" "ruby" ]; @@ -55,4 +71,4 @@ buildGoModule { maintainers = with maintainers; [ roblabla globin fpletz talyz yayayayaka ]; license = licenses.mit; }; -} +} // commonOpts) diff --git a/pkgs/applications/version-management/gitlab/gitaly/gemset.nix b/pkgs/applications/version-management/gitlab/gitaly/gemset.nix index 1697a9f90200..692a3614db51 100644 --- a/pkgs/applications/version-management/gitlab/gitaly/gemset.nix +++ b/pkgs/applications/version-management/gitlab/gitaly/gemset.nix @@ -174,12 +174,14 @@ version = "1.10.0"; }; escape_utils = { + groups = ["default"]; + platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0qminivnyzwmqjhrh3b92halwbk0zcl9xn828p5rnap1szl2yag5"; + sha256 = "182ha3nmsc6ny4384233pav58a5x2spjn838w9nciwb29lxah1x3"; type = "gem"; }; - version = "1.2.1"; + version = "1.2.2"; }; factory_bot = { dependencies = ["activesupport"]; @@ -228,10 +230,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "08lnb04qmlz4arls3nr3ia0k8r1kcyn010fr5qvc2qddidckqk88"; + sha256 = "10biwhh50fdssqs3ai651qgv079bn6h06g5cv00jc5s73iszfns9"; type = "gem"; }; - version = "7.12.1"; + version = "7.20.0"; }; github-markup = { source = { @@ -269,10 +271,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0xkzm6kri1dzjrmicm3wgbnxi9gk0byanr6ibfrflv7spd98fz19"; + sha256 = "0kiz2m3dw6ld2z6dsl8jh2ycw061wv8wiy34flymb5zqjiyyzw8l"; type = "gem"; }; - version = "0.21.2"; + version = "0.23.0"; }; gitlab-license_finder = { dependencies = ["rubyzip" "thor" "tomlrb" "with_env" "xml-simple"]; @@ -442,10 +444,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1axm0rxyx3ss93wbmfkm78a6x03l8y4qy60rhkkiq0aza0vwq3ha"; + sha256 = "0lbim375gw2dk6383qirz13hgdmxlan0vc5da2l072j3qw6fqjm5"; type = "gem"; }; - version = "1.0.2"; + version = "1.1.2"; }; mini_portile2 = { groups = ["default"]; diff --git a/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix b/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix index 37d66c3a7f65..de4ef3eeb174 100644 --- a/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix +++ b/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix @@ -2,19 +2,19 @@ buildGoModule rec { pname = "gitlab-shell"; - version = "14.7.4"; + version = "14.9.0"; src = fetchFromGitLab { owner = "gitlab-org"; repo = "gitlab-shell"; rev = "v${version}"; - sha256 = "sha256-kLIjlMwoK1AlhvP38OspXnIWbdOcaLl4r05PiUmqnWw="; + sha256 = "sha256-TO0ZO7Hd/9J+801zPrelnAnJa/X0W9yR0Wphjh3TpaE="; }; buildInputs = [ ruby ]; patches = [ ./remove-hardcoded-locations.patch ]; - vendorSha256 = "sha256-f2IkdkTZhve/cYKSH+N2Y5bXFSHuQ8t4hjfReyKTPUU="; + vendorSha256 = "sha256-urS0FED636APQe5uNvhDvWsnZtHCW60VtRE1B7IzGZQ="; postInstall = '' cp -r "$NIX_BUILD_TOP/source"/bin/* $out/bin diff --git a/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix b/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix index 639240c6493e..66a90a9785bf 100644 --- a/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix +++ b/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix @@ -5,7 +5,7 @@ in buildGoModule rec { pname = "gitlab-workhorse"; - version = "15.1.4"; + version = "15.2.2"; src = fetchFromGitLab { owner = data.owner; @@ -16,7 +16,7 @@ buildGoModule rec { sourceRoot = "source/workhorse"; - vendorSha256 = "sha256-cF2wVii/uBqlUQvrbDyPlv4tnfKA45deb/sE0c9U7Tk="; + vendorSha256 = "sha256-kZs0va/lVAxSYJ8W2bwLij6HjGg5ppE+eQY9lCsljCE="; buildInputs = [ git ]; ldflags = [ "-X main.Version=${version}" ]; doCheck = false; diff --git a/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile b/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile index 9f5c0e4cbfd8..eab90519e64b 100644 --- a/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile +++ b/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile @@ -30,6 +30,7 @@ gem 'declarative_policy', '~> 1.1.0' # Authentication libraries gem 'devise', '~> 4.7.2' +gem 'devise-pbkdf2-encryptable', '~> 0.0.0', path: 'devise-pbkdf2-encryptable' gem 'bcrypt', '~> 3.1', '>= 3.1.14' gem 'doorkeeper', '~> 5.5.0.rc2' gem 'doorkeeper-openid_connect', '~> 1.7.5' @@ -44,13 +45,13 @@ gem 'omniauth-dingtalk-oauth2', '~> 1.0' gem 'omniauth-alicloud', '~> 1.0.1' gem 'omniauth-facebook', '~> 4.0.0' gem 'omniauth-github', '~> 1.4' -gem 'omniauth-gitlab', '~> 1.0.2' +gem 'omniauth-gitlab', '~> 4.0.0', path: 'omniauth-gitlab' # See vendor/gems/omniauth-gitlab/README.md gem 'omniauth-google-oauth2', '~> 0.6.0' gem 'omniauth-oauth2-generic', '~> 0.2.2' gem 'omniauth-saml', '~> 1.10' gem 'omniauth-shibboleth', '~> 1.3.0' gem 'omniauth-twitter', '~> 1.4' -gem 'omniauth_crowd', '~> 2.4.0' +gem 'omniauth_crowd', '~> 2.4.0', path: 'omniauth_crowd' # See vendor/gems/omniauth_crowd/README.md gem 'omniauth-authentiq', '~> 0.3.3' gem 'gitlab-omniauth-openid-connect', '~> 0.9.0', require: 'omniauth_openid_connect' gem 'omniauth-salesforce', '~> 1.0.5' @@ -91,7 +92,7 @@ gem 'gpgme', '~> 2.0.19' # LDAP Auth # GitLab fork with several improvements to original library. For full list of changes # see https://github.com/intridea/omniauth-ldap/compare/master...gitlabhq:master -gem 'gitlab_omniauth-ldap', '~> 2.1.1', require: 'omniauth-ldap' +gem 'gitlab_omniauth-ldap', '~> 2.2.0', require: 'omniauth-ldap' gem 'net-ldap', '~> 0.16.3' # API @@ -103,7 +104,7 @@ gem 'rack-cors', '~> 1.1.0', require: 'rack/cors' gem 'graphql', '~> 1.13.12' gem 'graphiql-rails', '~> 1.8' gem 'apollo_upload_server', '~> 2.1.0' -gem 'graphql-docs', '~> 1.6.0', group: [:development, :test] +gem 'graphql-docs', '~> 2.1.0', group: [:development, :test] gem 'graphlient', '~> 0.5.0' # Used by BulkImport feature (group::import) gem 'hashie' @@ -145,9 +146,9 @@ gem 'seed-fu', '~> 2.3.7' gem 'elasticsearch-model', '~> 7.2' gem 'elasticsearch-rails', '~> 7.2', require: 'elasticsearch/rails/instrumentation' gem 'elasticsearch-api', '7.13.3' -gem 'aws-sdk-core', '~> 3' +gem 'aws-sdk-core', '~> 3.131.0' gem 'aws-sdk-cloudformation', '~> 1' -gem 'aws-sdk-s3', '~> 1' +gem 'aws-sdk-s3', '~> 1.114.0' gem 'faraday_middleware-aws-sigv4', '~>0.3.0' gem 'typhoeus', '~> 1.4.0' # Used with Elasticsearch to support http keep-alive connections @@ -181,7 +182,7 @@ gem 'diffy', '~> 3.3' gem 'diff_match_patch', '~> 0.1.0' # Application server -gem 'rack', '~> 2.2.3.0' +gem 'rack', '~> 2.2.4' # https://github.com/zombocom/rack-timeout/blob/master/README.md#rails-apps-manually gem 'rack-timeout', '~> 0.6.0', require: 'rack/timeout/base' @@ -255,7 +256,7 @@ gem 'slack-messenger', '~> 2.3.4' gem 'hangouts-chat', '~> 0.0.5', require: 'hangouts_chat' # Asana integration -gem 'asana', '~> 0.10.3' +gem 'asana', '~> 0.10.13' # FogBugz integration gem 'ruby-fogbugz', '~> 0.2.1' @@ -268,7 +269,7 @@ gem 'sanitize', '~> 6.0' gem 'babosa', '~> 1.0.4' # Sanitizes SVG input -gem 'loofah', '~> 2.2' +gem 'loofah', '~> 2.18.0' # Working with license gem 'licensee', '~> 9.14.1' @@ -323,7 +324,7 @@ gem 'thrift', '>= 0.14.0' # I18n gem 'ruby_parser', '~> 3.15', require: false -gem 'rails-i18n', '~> 6.0' +gem 'rails-i18n', '~> 7.0' gem 'gettext_i18n_rails', '~> 1.8.0' gem 'gettext_i18n_rails_js', '~> 1.3' gem 'gettext', '~> 3.3', require: false, group: :development @@ -339,12 +340,12 @@ gem 'snowplow-tracker', '~> 0.6.1' # Metrics gem 'method_source', '~> 1.0', require: false gem 'webrick', '~> 1.6.1', require: false -gem 'prometheus-client-mmap', '~> 0.15.0', require: 'prometheus/client' +gem 'prometheus-client-mmap', '~> 0.16', require: 'prometheus/client' -gem 'warning', '~> 1.2.0' +gem 'warning', '~> 1.3.0' group :development do - gem 'lefthook', '~> 0.8.0', require: false + gem 'lefthook', '~> 1.0.0', require: false gem 'rubocop' gem 'solargraph', '~> 0.44.3', require: false @@ -407,7 +408,7 @@ group :development, :test do end group :development, :test, :danger do - gem 'gitlab-dangerfiles', '~> 3.4.0', require: false + gem 'gitlab-dangerfiles', '~> 3.4.3', require: false end group :development, :test, :coverage do @@ -436,7 +437,7 @@ group :test do gem 'capybara-screenshot', '~> 1.0.22' gem 'selenium-webdriver', '~> 3.142' - gem 'shoulda-matchers', '~> 4.0.1', require: false + gem 'shoulda-matchers', '~> 5.1.0', require: false gem 'email_spec', '~> 2.2.0' gem 'webmock', '~> 3.9.1' gem 'rails-controller-testing' @@ -466,7 +467,7 @@ gem 'benchmark-memory', '~> 0.1', require: false gem 'activerecord-explain-analyze', '~> 0.1', require: false # OAuth -gem 'oauth2', '~> 1.4' +gem 'oauth2', '~> 2.0' # Health check gem 'health_check', '~> 3.0' @@ -524,7 +525,7 @@ gem 'erubi', '~> 1.9.0' # Monkey-patched in `config/initializers/mail_encoding_patch.rb` # See https://gitlab.com/gitlab-org/gitlab/issues/197386 gem 'mail', '= 2.7.1' - +gem 'mail-smtp_pool', '~> 0.1.0', path: 'mail-smtp_pool', require: false # File encryption gem 'lockbox', '~> 0.6.2' @@ -535,7 +536,7 @@ gem 'valid_email', '~> 0.1' # JSON gem 'json', '~> 2.5.1' gem 'json_schemer', '~> 0.2.18' -gem 'oj', '~> 3.10.6' +gem 'oj', '~> 3.13.19' gem 'multi_json', '~> 1.14.1' gem 'yajl-ruby', '~> 1.4.1', require: 'yajl' @@ -546,6 +547,10 @@ gem 'ipaddress', '~> 0.8.3' gem 'parslet', '~> 1.8' -gem 'ipynbdiff', '0.4.7' +gem 'ipynbdiff', path: 'ipynbdiff' gem 'ed25519', '~> 1.3.0' + +# Error Tracking OpenAPI client +# See https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/development/rake_tasks.md#update-openapi-client-for-error-tracking-feature +gem 'error_tracking_open_api', path: 'error_tracking_open_api' diff --git a/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock b/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock index 535e470372c6..7bdffef8140d 100644 --- a/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock +++ b/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock @@ -1,3 +1,44 @@ +PATH + remote: devise-pbkdf2-encryptable + specs: + devise-pbkdf2-encryptable (0.0.0) + devise (~> 4.0) + +PATH + remote: error_tracking_open_api + specs: + error_tracking_open_api (1.0.0) + typhoeus (~> 1.0, >= 1.0.1) + +PATH + remote: ipynbdiff + specs: + ipynbdiff (0.4.7) + diffy (~> 3.3) + oj (~> 3.13.16) + +PATH + remote: mail-smtp_pool + specs: + mail-smtp_pool (0.1.0) + connection_pool (~> 2.0) + mail (~> 2.7) + +PATH + remote: omniauth-gitlab + specs: + omniauth-gitlab (4.0.0) + omniauth (~> 1.0) + omniauth-oauth2 (~> 1.7.1) + +PATH + remote: omniauth_crowd + specs: + omniauth_crowd (2.4.0) + activesupport + nokogiri (>= 1.4.4) + omniauth (~> 1.0, < 3) + GEM remote: https://rubygems.org/ specs: @@ -76,11 +117,11 @@ GEM apollo_upload_server (2.1.0) actionpack (>= 4.2) graphql (>= 1.8) - asana (0.10.3) + asana (0.10.13) faraday (~> 1.0) faraday_middleware (~> 1.0) faraday_middleware-multi_json (~> 0.0) - oauth2 (~> 1.4) + oauth2 (>= 1.4, < 3) asciidoctor (2.0.15) asciidoctor-include-ext (0.4.0) asciidoctor (>= 1.5.6, < 3.0.0) @@ -98,24 +139,24 @@ GEM execjs (> 0) awesome_print (1.9.2) awrence (1.1.1) - aws-eventstream (1.1.0) - aws-partitions (1.345.0) + aws-eventstream (1.2.0) + aws-partitions (1.600.0) aws-sdk-cloudformation (1.41.0) aws-sdk-core (~> 3, >= 3.99.0) aws-sigv4 (~> 1.1) - aws-sdk-core (3.104.3) + aws-sdk-core (3.131.1) aws-eventstream (~> 1, >= 1.0.2) - aws-partitions (~> 1, >= 1.239.0) + aws-partitions (~> 1, >= 1.525.0) aws-sigv4 (~> 1.1) - jmespath (~> 1.0) - aws-sdk-kms (1.36.0) - aws-sdk-core (~> 3, >= 3.99.0) + jmespath (~> 1, >= 1.6.1) + aws-sdk-kms (1.57.0) + aws-sdk-core (~> 3, >= 3.127.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.75.0) - aws-sdk-core (~> 3, >= 3.104.1) + aws-sdk-s3 (1.114.0) + aws-sdk-core (~> 3, >= 3.127.0) aws-sdk-kms (~> 1) - aws-sigv4 (~> 1.1) - aws-sigv4 (1.2.1) + aws-sigv4 (~> 1.4) + aws-sigv4 (1.5.0) aws-eventstream (~> 1, >= 1.0.2) azure-storage-blob (2.0.3) azure-storage-common (~> 2.0) @@ -468,7 +509,7 @@ GEM terminal-table (~> 1.5, >= 1.5.1) gitlab-chronic (0.10.5) numerizer (~> 0.2) - gitlab-dangerfiles (3.4.0) + gitlab-dangerfiles (3.4.3) danger (>= 8.4.5) danger-gitlab (>= 8.0.0) rake @@ -516,9 +557,9 @@ GEM rubocop-rspec (~> 1.44) gitlab_chronic_duration (0.10.6.2) numerizer (~> 0.2) - gitlab_omniauth-ldap (2.1.1) + gitlab_omniauth-ldap (2.2.0) net-ldap (~> 0.16) - omniauth (~> 1.3) + omniauth (>= 1.3, < 3) pyu-ruby-sasl (>= 0.0.3.3, < 0.1) rubyntlm (~> 0.5) globalid (1.0.0) @@ -580,13 +621,13 @@ GEM graphql-client (0.17.0) activesupport (>= 3.0) graphql (~> 1.10) - graphql-docs (1.6.0) + graphql-docs (2.1.0) commonmarker (~> 0.16) escape_utils (~> 1.2) extended-markdown-filter (~> 0.4) gemoji (~> 3.0) - graphql (~> 1.6) - html-pipeline (~> 2.8) + graphql (~> 1.12) + html-pipeline (~> 2.9) sass (~> 3.4) grpc (1.42.0) google-protobuf (~> 3.18) @@ -660,9 +701,6 @@ GEM invisible_captcha (1.1.0) rails (>= 4.2) ipaddress (0.8.3) - ipynbdiff (0.4.7) - diffy (~> 3.3) - json (~> 2.5, >= 2.5.1) jaeger-client (1.1.0) opentracing (~> 0.3) thrift @@ -672,7 +710,7 @@ GEM atlassian-jwt multipart-post oauth (~> 0.5, >= 0.5.0) - jmespath (1.4.0) + jmespath (1.6.1) js_regex (3.7.0) character_set (~> 1.4) regexp_parser (~> 2.1) @@ -717,7 +755,7 @@ GEM rest-client (~> 2.0) launchy (2.5.0) addressable (~> 2.7) - lefthook (0.8.0) + lefthook (1.0.2) letter_opener (1.7.0) launchy (~> 2.2) letter_opener_web (2.0.0) @@ -742,7 +780,7 @@ GEM activesupport (>= 4) railties (>= 4) request_store (~> 1.0) - loofah (2.16.0) + loofah (2.18.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) lru_redux (1.1.0) @@ -808,12 +846,13 @@ GEM shellany (~> 0.0) numerizer (0.2.0) oauth (0.5.6) - oauth2 (1.4.7) - faraday (>= 0.8, < 2.0) + oauth2 (2.0.3) + faraday (>= 0.17.3, < 3.0) jwt (>= 1.0, < 3.0) - multi_json (~> 1.3) multi_xml (~> 0.5) rack (>= 1.2, < 3) + rash_alt (>= 0.4, < 1) + version_gem (~> 1.0) octokit (4.20.0) faraday (>= 0.9) sawyer (~> 0.8.0, >= 0.5.3) @@ -830,7 +869,7 @@ GEM plist (~> 3.1) train-core wmi-lite (~> 1.0) - oj (3.10.6) + oj (3.13.19) omniauth (1.9.1) hashie (>= 3.4.6) rack (>= 1.6.2, < 3) @@ -861,18 +900,15 @@ GEM omniauth-github (1.4.0) omniauth (~> 1.5) omniauth-oauth2 (>= 1.4.0, < 2.0) - omniauth-gitlab (1.0.3) - omniauth (~> 1.0) - omniauth-oauth2 (~> 1.0) omniauth-google-oauth2 (0.6.0) jwt (>= 2.0) omniauth (>= 1.1.1) omniauth-oauth2 (>= 1.5) - omniauth-oauth (1.1.0) + omniauth-oauth (1.2.0) oauth - omniauth (~> 1.0) - omniauth-oauth2 (1.7.2) - oauth2 (~> 1.4) + omniauth (>= 1.0, < 3) + omniauth-oauth2 (1.7.3) + oauth2 (>= 1.4, < 3) omniauth (>= 1.9, < 3) omniauth-oauth2-generic (0.2.2) omniauth-oauth2 (~> 1.0) @@ -887,10 +923,6 @@ GEM omniauth-twitter (1.4.0) omniauth-oauth (~> 1.1) rack - omniauth_crowd (2.4.0) - activesupport - nokogiri (>= 1.4.4) - omniauth (~> 1.0) open4 (1.3.4) openid_connect (1.3.0) activemodel @@ -959,7 +991,7 @@ GEM coderay parser unparser - prometheus-client-mmap (0.15.0) + prometheus-client-mmap (0.16.2) pry (0.13.1) coderay (~> 1.1) method_source (~> 1.0) @@ -981,7 +1013,7 @@ GEM pyu-ruby-sasl (0.0.3.3) raabro (1.1.6) racc (1.6.0) - rack (2.2.3.1) + rack (2.2.4) rack-accept (0.4.5) rack (>= 0.4) rack-attack (6.6.1) @@ -1023,9 +1055,9 @@ GEM nokogiri (>= 1.6) rails-html-sanitizer (1.4.2) loofah (~> 2.3) - rails-i18n (6.0.0) + rails-i18n (7.0.3) i18n (>= 0.7, < 2) - railties (>= 6.0.0, < 7) + railties (>= 6.0.0, < 8) railties (6.1.4.7) actionpack (= 6.1.4.7) activesupport (= 6.1.4.7) @@ -1035,6 +1067,8 @@ GEM rainbow (3.1.1) rake (13.0.6) randexp (0.1.7) + rash_alt (0.4.12) + hashie (>= 3.4) rb-fsevent (0.10.4) rb-inotify (0.10.1) ffi (~> 1.0) @@ -1167,7 +1201,7 @@ GEM ruby2_keywords (0.0.5) ruby_parser (3.15.0) sexp_processor (~> 4.9) - rubyntlm (0.6.2) + rubyntlm (0.6.3) rubypants (0.2.0) rubyzip (2.3.2) rugged (1.2.0) @@ -1218,8 +1252,8 @@ GEM settingslogic (2.0.9) sexp_processor (4.15.1) shellany (0.0.1) - shoulda-matchers (4.0.1) - activesupport (>= 4.2.0) + shoulda-matchers (5.1.0) + activesupport (>= 5.2.0) sidekiq (6.4.0) connection_pool (>= 2.2.2) rack (~> 2.0) @@ -1393,6 +1427,7 @@ GEM validates_hostname (1.0.11) activerecord (>= 3.0) activesupport (>= 3.0) + version_gem (1.0.0) version_sorter (2.2.4) view_component (2.50.0) activesupport (>= 5.0.0, < 8.0) @@ -1400,7 +1435,7 @@ GEM vmstat (2.3.0) warden (1.2.8) rack (>= 2.0.6) - warning (1.2.0) + warning (1.3.0) webauthn (2.3.0) android_key_attestation (~> 0.3.0) awrence (~> 1.1) @@ -1447,7 +1482,7 @@ DEPENDENCIES addressable (~> 2.8) akismet (~> 3.0) apollo_upload_server (~> 2.1.0) - asana (~> 0.10.3) + asana (~> 0.10.13) asciidoctor (~> 2.0.10) asciidoctor-include-ext (~> 0.4.0) asciidoctor-kroki (~> 0.5.0) @@ -1457,8 +1492,8 @@ DEPENDENCIES autoprefixer-rails (= 10.2.5.1) awesome_print aws-sdk-cloudformation (~> 1) - aws-sdk-core (~> 3) - aws-sdk-s3 (~> 1) + aws-sdk-core (~> 3.131.0) + aws-sdk-s3 (~> 1.114.0) babosa (~> 1.0.4) base32 (~> 0.3.0) batch-loader (~> 2.0.1) @@ -1489,6 +1524,7 @@ DEPENDENCIES derailed_benchmarks device_detector devise (~> 4.7.2) + devise-pbkdf2-encryptable (~> 0.0.0)! devise-two-factor (~> 4.0.2) diff_match_patch (~> 0.1.0) diffy (~> 3.3) @@ -1501,6 +1537,7 @@ DEPENDENCIES elasticsearch-rails (~> 7.2) email_reply_trimmer (~> 0.1) email_spec (~> 2.2.0) + error_tracking_open_api! erubi (~> 1.9.0) escape_utils (~> 1.1) factory_bot_rails (~> 6.2.0) @@ -1527,7 +1564,7 @@ DEPENDENCIES gitaly (~> 15.1.0.pre.rc1) github-markup (~> 1.7.0) gitlab-chronic (~> 0.10.5) - gitlab-dangerfiles (~> 3.4.0) + gitlab-dangerfiles (~> 3.4.3) gitlab-experiment (~> 0.7.1) gitlab-fog-azure-rm (~> 1.3.0) gitlab-labkit (~> 0.23.0) @@ -1540,7 +1577,7 @@ DEPENDENCIES gitlab-sidekiq-fetcher (= 0.8.0) gitlab-styles (~> 7.1.0) gitlab_chronic_duration (~> 0.10.6.2) - gitlab_omniauth-ldap (~> 2.1.1) + gitlab_omniauth-ldap (~> 2.2.0) gon (~> 6.4.0) google-api-client (~> 0.33) google-protobuf (~> 3.19.0) @@ -1552,7 +1589,7 @@ DEPENDENCIES graphiql-rails (~> 1.8) graphlient (~> 0.5.0) graphql (~> 1.13.12) - graphql-docs (~> 1.6.0) + graphql-docs (~> 2.1.0) grpc (~> 1.42.0) gssapi guard-rspec @@ -1568,7 +1605,7 @@ DEPENDENCIES icalendar invisible_captcha (~> 1.1.0) ipaddress (~> 0.8.3) - ipynbdiff (= 0.4.7) + ipynbdiff! jira-ruby (~> 2.1.4) js_regex (~> 3.7) json (~> 2.5.1) @@ -1579,14 +1616,15 @@ DEPENDENCIES knapsack (~> 1.21.1) kramdown (~> 2.3.1) kubeclient (~> 4.9.2) - lefthook (~> 0.8.0) + lefthook (~> 1.0.0) letter_opener_web (~> 2.0.0) licensee (~> 9.14.1) lockbox (~> 0.6.2) lograge (~> 0.5) - loofah (~> 2.2) + loofah (~> 2.18.0) lru_redux mail (= 2.7.1) + mail-smtp_pool (~> 0.1.0)! marginalia (~> 1.10.0) memory_profiler (~> 0.9) method_source (~> 1.0) @@ -1596,10 +1634,10 @@ DEPENDENCIES net-ldap (~> 0.16.3) net-ntp nokogiri (~> 1.13.6) - oauth2 (~> 1.4) + oauth2 (~> 2.0) octokit (~> 4.15) ohai (~> 16.10) - oj (~> 3.10.6) + oj (~> 3.13.19) omniauth (~> 1.8) omniauth-alicloud (~> 1.0.1) omniauth-atlassian-oauth2 (~> 0.2.0) @@ -1611,14 +1649,14 @@ DEPENDENCIES omniauth-dingtalk-oauth2 (~> 1.0) omniauth-facebook (~> 4.0.0) omniauth-github (~> 1.4) - omniauth-gitlab (~> 1.0.2) + omniauth-gitlab (~> 4.0.0)! omniauth-google-oauth2 (~> 0.6.0) omniauth-oauth2-generic (~> 0.2.2) omniauth-salesforce (~> 1.0.5) omniauth-saml (~> 1.10) omniauth-shibboleth (~> 1.3.0) omniauth-twitter (~> 1.4) - omniauth_crowd (~> 2.4.0) + omniauth_crowd (~> 2.4.0)! org-ruby (~> 0.9.12) pact (~> 1.12) parallel (~> 1.19) @@ -1628,13 +1666,13 @@ DEPENDENCIES pg_query (~> 2.1.0) png_quantizator (~> 0.2.1) premailer-rails (~> 1.10.3) - prometheus-client-mmap (~> 0.15.0) + prometheus-client-mmap (~> 0.16) pry-byebug pry-rails (~> 0.3.9) pry-shell (~> 0.5.0) puma (~> 5.6.2) puma_worker_killer (~> 0.3.1) - rack (~> 2.2.3.0) + rack (~> 2.2.4) rack-attack (~> 6.6.0) rack-cors (~> 1.1.0) rack-oauth2 (~> 1.19.0) @@ -1642,7 +1680,7 @@ DEPENDENCIES rack-timeout (~> 0.6.0) rails (~> 6.1.4.7) rails-controller-testing - rails-i18n (~> 6.0) + rails-i18n (~> 7.0) rainbow (~> 3.0) rbtrace (~> 0.4) rdoc (~> 6.3.2) @@ -1682,7 +1720,7 @@ DEPENDENCIES sentry-ruby (~> 5.1.1) sentry-sidekiq (~> 5.1.1) settingslogic (~> 2.0.9) - shoulda-matchers (~> 4.0.1) + shoulda-matchers (~> 5.1.0) sidekiq (~> 6.4) sidekiq-cron (~> 1.2) sigdump (~> 0.2.4) @@ -1722,7 +1760,7 @@ DEPENDENCIES version_sorter (~> 2.2.4) view_component (~> 2.50.0) vmstat (~> 2.3.0) - warning (~> 1.2.0) + warning (~> 1.3.0) webauthn (~> 2.3) webmock (~> 3.9.1) webrick (~> 1.6.1) @@ -1730,4 +1768,4 @@ DEPENDENCIES yajl-ruby (~> 1.4.1) BUNDLED WITH - 2.3.9 + 2.3.15 diff --git a/pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix b/pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix index 5f11d6098785..7adf6fb2b8e7 100644 --- a/pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix +++ b/pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix @@ -211,10 +211,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "14cs2k802hlvlmn0nwnx4k3g44944x0a8dsj3k14mjnbvcw1fkxh"; + sha256 = "1b6pqazhi9922y79763m0alvdmvm90i806qgb1a8l4fnimzx7l1n"; type = "gem"; }; - version = "0.10.3"; + version = "0.10.13"; }; asciidoctor = { groups = ["default"]; @@ -337,20 +337,20 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0r0pn66yqrdkrfdin7qdim0yj2x75miyg4wp6mijckhzhrjb7cv5"; + sha256 = "1pyis1nvnbjxk12a43xvgj2gv0mvp4cnkc1gzw0v1018r61399gz"; type = "gem"; }; - version = "1.1.0"; + version = "1.2.0"; }; aws-partitions = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "12q3swh4f44iqlq2md9lphg8csi0hd35jhgmkkkji9n0mgay4ggh"; + sha256 = "0cx73zazv4jsh51b08jgf7pzn62wmfqlwwg2z8w4rcqbvn326n93"; type = "gem"; }; - version = "1.345.0"; + version = "1.600.0"; }; aws-sdk-cloudformation = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -369,10 +369,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1xfv8nfz8n700z29di51mcyyrnmbpq7flff4hx9mm92avnly1ysy"; + sha256 = "0yiz3aaik62rxhxipwznb2bv8ywha13vdxg9nk6anq9bd0nn0728"; type = "gem"; }; - version = "3.104.3"; + version = "3.131.1"; }; aws-sdk-kms = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -380,10 +380,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0rpwpj4f4q9wdrbgiqngzwfdaaqyz0iif8sv16z6z0mm6y3cb06q"; + sha256 = "1m8vwm4cakfv3i4f723a6id07myx18fpdbq8ypa2j7r5njwxpmzz"; type = "gem"; }; - version = "1.36.0"; + version = "1.57.0"; }; aws-sdk-s3 = { dependencies = ["aws-sdk-core" "aws-sdk-kms" "aws-sigv4"]; @@ -391,10 +391,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "068xx6wp86wkmikdzg4wqxmg570hc3ydp8211j02g13djjr3k28n"; + sha256 = "1r6dxz3llgxbbm66jq5mkzk0i6qsxwv0d9s0ipwb23vv3bgp23yf"; type = "gem"; }; - version = "1.75.0"; + version = "1.114.0"; }; aws-sigv4 = { dependencies = ["aws-eventstream"]; @@ -402,10 +402,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0aknh3q37rq3ixxa84x2p26g8a15zmiig2rm1pmailsb9vqhfh3j"; + sha256 = "0xp7diwq7nv4vvxrl9x3lis2l4x6bissrfzbfyy6rv5bmj5w109z"; type = "gem"; }; - version = "1.2.1"; + version = "1.5.0"; }; azure-storage-blob = { dependencies = ["azure-storage-common" "nokogiri"]; @@ -2040,10 +2040,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "13c7k36xq042fbf7d9jwgfc30zq9dfziwvqfi88h2199v9dkylix"; + sha256 = "06jfkak5z7jj1g8vy8ljnxradk111phg41f8p6ays4ckfrimkvm4"; type = "gem"; }; - version = "3.4.0"; + version = "3.4.3"; }; gitlab-experiment = { dependencies = ["activesupport" "request_store"]; @@ -2179,10 +2179,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1f8cjbzlhckarmm59l380jjy33a3hlljg69b3zkh8rhy1xd3xr90"; + sha256 = "1343sax19jidp7nr4s8bxpkyqwy6zb9lfslg99jys8xinfn20kdv"; type = "gem"; }; - version = "2.1.1"; + version = "2.2.0"; }; globalid = { dependencies = ["activesupport"]; @@ -2364,10 +2364,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "12wzsikbn54b2hcv100hz7isq5gdjm5w5b8xya64ra5sw6sabq8d"; + sha256 = "0xmmifirvm4hay8qy6hjsdwms56sk973cq1b9c85b97xz0129f3y"; type = "gem"; }; - version = "1.6.0"; + version = "2.1.0"; }; grpc = { dependencies = ["google-protobuf" "googleapis-common-protos-types"]; @@ -2698,17 +2698,6 @@ }; version = "0.8.3"; }; - ipynbdiff = { - dependencies = ["diffy" "json"]; - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "0bm7k1lga4jmbi7fx373npbi0smm7jkhhpvnh7jrjawnjmfii1bz"; - type = "gem"; - }; - version = "0.4.7"; - }; jaeger-client = { dependencies = ["opentracing" "thrift"]; groups = ["default"]; @@ -2746,10 +2735,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1d4wac0dcd1jf6kc57891glih9w57552zgqswgy74d1xhgnk0ngf"; + sha256 = "1mnvb80cdg7fzdcs3xscv21p28w4igk5sj5m7m81xp8v2ks87jj0"; type = "gem"; }; - version = "1.4.0"; + version = "1.6.1"; }; js_regex = { dependencies = ["character_set" "regexp_parser" "regexp_property_values"]; @@ -2929,10 +2918,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "05ykgpj6cka9vprvrk37ixyhj2pdw7a9m6bq645yai6ihghahlf0"; + sha256 = "0zmg1kl5fh38gs4nj6mbj1rg61jg1iwplciq7n0qml5jckm75fpd"; type = "gem"; }; - version = "0.8.0"; + version = "1.0.2"; }; letter_opener = { dependencies = ["launchy"]; @@ -3025,10 +3014,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "15s6z5bvhdhnqv4wg8zcz3mhbc7i4dbqskv5jvhprz33ak7682km"; + sha256 = "18ymp6l3bv7abz07k6qbbi9c9vsiahq30d2smh4qzsvag8j5m5v1"; type = "gem"; }; - version = "2.16.0"; + version = "2.18.0"; }; lru_redux = { groups = ["default"]; @@ -3468,15 +3457,15 @@ version = "0.5.6"; }; oauth2 = { - dependencies = ["faraday" "jwt" "multi_json" "multi_xml" "rack"]; + dependencies = ["faraday" "jwt" "multi_xml" "rack" "rash_alt" "version_gem"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1q6q2kgpxmygk8kmxqn54zkw8cs57a34zzz5cxpsh1bj3ag06rk3"; + sha256 = "06y4wnsc1flbgv8vhh650x7f2k0k8238zcrmncil4swkb9kdhhxk"; type = "gem"; }; - version = "1.4.7"; + version = "2.0.3"; }; octokit = { dependencies = ["faraday" "sawyer"]; @@ -3505,10 +3494,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1zik71a9dj2c0cnbqxjfzgrg6r2l3f7584813z6asl50nfdbf7jw"; + sha256 = "1b10apyzm1qyph42438z9nx2ln5v9sg0686ws9gdrv5wh482fnmf"; type = "gem"; }; - version = "3.10.6"; + version = "3.13.19"; }; omniauth = { dependencies = ["hashie" "rack"]; @@ -3631,17 +3620,6 @@ }; version = "1.4.0"; }; - omniauth-gitlab = { - dependencies = ["omniauth" "omniauth-oauth2"]; - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "19ydk2zd2mz8zi80z3l03pajpm9357sg3lrankrcb3pirkkdb9fp"; - type = "gem"; - }; - version = "1.0.3"; - }; omniauth-google-oauth2 = { dependencies = ["jwt" "omniauth" "omniauth-oauth2"]; groups = ["default"]; @@ -3659,10 +3637,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1n5vk4by7hkyc09d9blrw2argry5awpw4gbw1l4n2s9b3j4qz037"; + sha256 = "0yw2vzx633p9wpdkd4jxsih6mw604mj7f6myyfikmj4d95c8d9z7"; type = "gem"; }; - version = "1.1.0"; + version = "1.2.0"; }; omniauth-oauth2 = { dependencies = ["oauth2" "omniauth"]; @@ -3670,10 +3648,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1ry65f309rnzhgdjvqybkd5i4qp9rpk1gbp4dz02h4l6bkk6ya10"; + sha256 = "0ia73zcbmhf02krlkq2rxmksx93jp777ax5x58fzkq3jzacqyniz"; type = "gem"; }; - version = "1.7.2"; + version = "1.7.3"; }; omniauth-oauth2-generic = { dependencies = ["omniauth-oauth2"]; @@ -3730,17 +3708,6 @@ }; version = "1.4.0"; }; - omniauth_crowd = { - dependencies = ["activesupport" "nokogiri" "omniauth"]; - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "1wiq1vnwjddzw2qzkpr3nqzx6glmcz5pfylw10pc7vkzdcmkpy37"; - type = "gem"; - }; - version = "2.4.0"; - }; open4 = { groups = ["default" "development"]; platforms = []; @@ -4009,10 +3976,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0vn736898qyyw29kjyjifx2bg18r6gfaw3q8xzjgmr0jk4jz29c3"; + sha256 = "0r8iaviqw0bjp83364k04n5kyzvr0hawf3h5xlgjsg30vmpykrrn"; type = "gem"; }; - version = "0.15.0"; + version = "0.16.2"; }; pry = { dependencies = ["coderay" "method_source"]; @@ -4129,10 +4096,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1b1qsg0yfargdhmpapp2d3mlxj82wyygs9nj74w0r03diyi8swlc"; + sha256 = "0axc6w0rs4yj0pksfll1hjgw1k6a5q0xi2lckh91knfb72v348pa"; type = "gem"; }; - version = "2.2.3.1"; + version = "2.2.4"; }; rack-accept = { dependencies = ["rack"]; @@ -4260,10 +4227,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "05mcgv748vppnm3fnml37wjy3dw61wj8vfw14ldaj1yx1bmkhb07"; + sha256 = "1lrbrx88ic42adcj36wip3dk1svmqld1f7qksngi4b9kqnc8w5g3"; type = "gem"; }; - version = "6.0.0"; + version = "7.0.3"; }; railties = { dependencies = ["actionpack" "activesupport" "method_source" "rake" "thor"]; @@ -4306,6 +4273,17 @@ }; version = "0.1.7"; }; + rash_alt = { + dependencies = ["hashie"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "01qn9qrbi79mr4nyf1fqv3fjbh9ipx6r42vwfxmwrkpxp3ansjhx"; + type = "gem"; + }; + version = "0.4.12"; + }; rb-fsevent = { groups = ["default" "development" "test"]; platforms = []; @@ -4896,10 +4874,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1p6bxsklkbcqni4bcq6jajc2n57g0w5rzn4r49c3lb04wz5xg0dy"; + sha256 = "0b8hczk8hysv53ncsqzx4q6kma5gy5lqc7s5yx8h64x3vdb18cjv"; type = "gem"; }; - version = "0.6.2"; + version = "0.6.3"; }; rubypants = { groups = ["default"]; @@ -5161,10 +5139,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1s6a2i39lsqq8rrkk2pddqcb10bsihxy3v5gpnc2gk8xakj1brdq"; + sha256 = "01svmyma958sbqfz0v29lbqbr0ibvgcng352nhx6bsc9k5c207d0"; type = "gem"; }; - version = "4.0.1"; + version = "5.1.0"; }; sidekiq = { dependencies = ["connection_pool" "rack" "redis"]; @@ -5986,6 +5964,16 @@ }; version = "1.0.11"; }; + version_gem = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0bwgbw56z2mhh2j044lgahrsiddibxx0r62r0cxvp0k4sjj9774j"; + type = "gem"; + }; + version = "1.0.0"; + }; version_sorter = { groups = ["default"]; platforms = []; @@ -6033,10 +6021,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1qhniramhgrcqhb905rkc82k29kgd6535jqf0aii5w3v6m2kn8qd"; + sha256 = "17h6x3fh0y46gpkzpknbh94qxcp0pqlvacc90r35rgahirfmls93"; type = "gem"; }; - version = "1.2.0"; + version = "1.3.0"; }; webauthn = { dependencies = ["android_key_attestation" "awrence" "bindata" "cbor" "cose" "openssl" "safety_net_attestation" "securecompare" "tpm-key_attestation"]; diff --git a/pkgs/applications/version-management/gitlab/update.py b/pkgs/applications/version-management/gitlab/update.py index bee10e49f4b4..0dd8109a5dfd 100755 --- a/pkgs/applications/version-management/gitlab/update.py +++ b/pkgs/applications/version-management/gitlab/update.py @@ -15,6 +15,9 @@ from typing import Iterable import requests +# Always keep this in sync with the GitLaab version you're updating to. +# If you see any errors about vendored dependencies during an update, check the Gemfile. +VENDORED_GEMS = ['devise-pbkdf2-encryptable', 'omniauth-gitlab', 'omniauth_crowd', 'mail-smtp_pool', 'ipynbdiff', 'error_tracking_open_api'] logger = logging.getLogger(__name__) @@ -85,7 +88,8 @@ class GitLabRepo: owner=self.owner, repo=self.repo, rev=rev, - passthru=passthru) + passthru=passthru, + vendored_gems=VENDORED_GEMS) def _get_data_json(): @@ -139,15 +143,30 @@ def update_rubyenv(): data = _get_data_json() rev = data['rev'] - with open(rubyenv_dir / 'Gemfile.lock', 'w') as f: - f.write(repo.get_file('Gemfile.lock', rev)) + gemfile = repo.get_file('Gemfile', rev) + gemfile_lock = repo.get_file('Gemfile.lock', rev) + with open(rubyenv_dir / 'Gemfile', 'w') as f: - original = repo.get_file('Gemfile', rev) - f.write(re.sub(r".*mail-smtp_pool.*", "", original)) + f.write(re.sub(f'.*({"|".join(VENDORED_GEMS)}).*', "", gemfile)) + + with open(rubyenv_dir / 'Gemfile.lock', 'w') as f: + f.write(gemfile_lock) subprocess.check_output(['bundle', 'lock'], cwd=rubyenv_dir) subprocess.check_output(['bundix'], cwd=rubyenv_dir) + with open(rubyenv_dir / 'Gemfile', 'w') as f: + for gem in VENDORED_GEMS: + gemfile = gemfile.replace(f'path: \'vendor/gems/{gem}\'', f'path: \'{gem}\'') + + f.write(gemfile) + + with open(rubyenv_dir / 'Gemfile.lock', 'w') as f: + for gem in VENDORED_GEMS: + gemfile_lock = gemfile_lock.replace(f'remote: vendor/gems/{gem}', f'remote: {gem}') + + f.write(gemfile_lock) + @cli.command('update-gitaly') def update_gitaly(): From 391bf479f206c1544be701f8674577ef0fe05c28 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 17:39:07 +0000 Subject: [PATCH 056/129] react-native-debugger: 0.12.1 -> 0.13.0 --- pkgs/development/tools/react-native-debugger/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/react-native-debugger/default.nix b/pkgs/development/tools/react-native-debugger/default.nix index 3bd89c2daab7..967c5541991c 100644 --- a/pkgs/development/tools/react-native-debugger/default.nix +++ b/pkgs/development/tools/react-native-debugger/default.nix @@ -38,10 +38,10 @@ let ]; in stdenv.mkDerivation rec { pname = "react-native-debugger"; - version = "0.12.1"; + version = "0.13.0"; src = fetchurl { url = "https://github.com/jhen0409/react-native-debugger/releases/download/v${version}/rn-debugger-linux-x64.zip"; - sha256 = "sha256-DzDZmZn45gpZb/fkSssb0PtR7EVyBk44IjC57beg0RM="; + sha256 = "sha256-/uVXMVrVS7n4/mqz6IlKkk63hy67fn9KRjZ1wP5MHB0="; }; nativeBuildInputs = [ unzip ]; From f8d207135a6a1a954f277caf5bbbf4366fe64029 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Aug 2022 20:34:50 +0200 Subject: [PATCH 057/129] python310Packages.justnimbus: init at 0.6.0 --- .../python-modules/justnimbus/default.nix | 45 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 47 insertions(+) create mode 100644 pkgs/development/python-modules/justnimbus/default.nix diff --git a/pkgs/development/python-modules/justnimbus/default.nix b/pkgs/development/python-modules/justnimbus/default.nix new file mode 100644 index 000000000000..cc302cc5865b --- /dev/null +++ b/pkgs/development/python-modules/justnimbus/default.nix @@ -0,0 +1,45 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, poetry-core +, pythonOlder +, requests +}: + +buildPythonPackage rec { + pname = "justnimbus"; + version = "0.6.0"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "kvanzuijlen"; + repo = pname; + rev = version; + hash = "sha256-uQ5Nc5sxqHeAuavyfX4Q6Umsd54aileJjFwOOU6X7Yg="; + }; + + nativeBuildInputs = [ + poetry-core + ]; + + propagatedBuildInputs = [ + requests + ]; + + # Module has no tests + doCheck = false; + + pythonImportsCheck = [ + "justnimbus" + ]; + + meta = with lib; { + description = "Library for the JustNimbus API"; + homepage = "https://github.com/kvanzuijlen/justnimbus"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; + }; +} + diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6f90e3ca8388..c05f011b8d99 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4735,6 +4735,8 @@ in { justbytes = callPackage ../development/python-modules/justbytes { }; + justnimbus = callPackage ../development/python-modules/justnimbus { }; + jwcrypto = callPackage ../development/python-modules/jwcrypto { }; jxmlease = callPackage ../development/python-modules/jxmlease { }; From 43ab32c80ef9828617ac71ad71786b9db304177a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Aug 2022 20:41:14 +0200 Subject: [PATCH 058/129] python310Packages.fastcore: 1.5.15 -> 1.5.17 --- pkgs/development/python-modules/fastcore/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fastcore/default.nix b/pkgs/development/python-modules/fastcore/default.nix index ead7e92f09c6..8f0b244723ba 100644 --- a/pkgs/development/python-modules/fastcore/default.nix +++ b/pkgs/development/python-modules/fastcore/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "fastcore"; - version = "1.5.15"; + version = "1.5.17"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "fastai"; repo = pname; rev = "refs/tags/${version}"; - sha256 = "sha256-HseJoQBgwi00u/0FDAN6i+tL0DWxvDN2XvQl6WDyNoA="; + sha256 = "sha256-glDjqcNLnk2p4zqfICiTLtENMYQ5S6UshwkP797NljY="; }; propagatedBuildInputs = [ From f2bd2f2ff160869e70f4c2e0aeab9ef6f2293459 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Aug 2022 20:47:16 +0200 Subject: [PATCH 059/129] python310Packages.weconnect: 0.46.0 -> 0.47.0 --- pkgs/development/python-modules/weconnect/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/weconnect/default.nix b/pkgs/development/python-modules/weconnect/default.nix index d83ca0ac4028..734f6ed37a45 100644 --- a/pkgs/development/python-modules/weconnect/default.nix +++ b/pkgs/development/python-modules/weconnect/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "weconnect"; - version = "0.46.0"; + version = "0.47.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "tillsteinbach"; repo = "WeConnect-python"; rev = "refs/tags/v${version}"; - hash = "sha256-FnTHL3CUBxuHWr90MSQD4nwUFJQwP2nblQP1bo/olrc="; + hash = "sha256-wQBl8oxU+Dfsgs+udxcb01hquny+AFKnu4J7AULYOdc="; }; propagatedBuildInputs = [ From b21fb9e1066a5ef69a86b8c9c3e812978549853c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Aug 2022 20:47:23 +0200 Subject: [PATCH 060/129] python310Packages.weconnect-mqtt: 0.39.0 -> 0.39.0 --- pkgs/development/python-modules/weconnect-mqtt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/weconnect-mqtt/default.nix b/pkgs/development/python-modules/weconnect-mqtt/default.nix index 4a060f9aa725..4cdea86decfb 100644 --- a/pkgs/development/python-modules/weconnect-mqtt/default.nix +++ b/pkgs/development/python-modules/weconnect-mqtt/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "weconnect-mqtt"; - version = "0.38.3"; + version = "0.39.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "tillsteinbach"; repo = "WeConnect-mqtt"; rev = "refs/tags/v${version}"; - hash = "sha256-9Vdm9C+2HNoUucY66dZkmDIhylgXMQ2ul/644JQtu5o="; + hash = "sha256-4qZWlICqYv8sewDfGbKSBGVVCtF/1BvYPc07gONZz8c="; }; propagatedBuildInputs = [ From fb270678672686f69728f20948a84984eb75ecd0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Aug 2022 20:55:00 +0200 Subject: [PATCH 061/129] python310Packages.pyskyqremote: 0.3.14 -> 0.3.15 --- pkgs/development/python-modules/pyskyqremote/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyskyqremote/default.nix b/pkgs/development/python-modules/pyskyqremote/default.nix index 63e8ccf517d0..abfb8838207e 100644 --- a/pkgs/development/python-modules/pyskyqremote/default.nix +++ b/pkgs/development/python-modules/pyskyqremote/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "pyskyqremote"; - version = "0.3.14"; + version = "0.3.15"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "RogerSelwyn"; repo = "skyq_remote"; rev = "refs/tags/${version}"; - sha256 = "sha256-ps83Jo1H5hkCZ6kmuSSEC+UAdul84JJ7syMJq95Z2wQ="; + sha256 = "sha256-K21ASxMcFsT0qevjXDPmVIQjdW56UT8QMOuyT7e2yDc="; }; propagatedBuildInputs = [ From f19fb9514afc80bb5b523e42f3276434a77e67fa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Aug 2022 21:14:32 +0200 Subject: [PATCH 062/129] python310Packages.pyquil: 3.2.1 -> 3.3.0 --- pkgs/development/python-modules/pyquil/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyquil/default.nix b/pkgs/development/python-modules/pyquil/default.nix index 30e94d471157..64f2d9c45f92 100644 --- a/pkgs/development/python-modules/pyquil/default.nix +++ b/pkgs/development/python-modules/pyquil/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { pname = "pyquil"; - version = "3.2.1"; + version = "3.3.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -31,7 +31,7 @@ buildPythonPackage rec { owner = "rigetti"; repo = pname; rev = "v${version}"; - sha256 = "sha256-fxHFUy/3r01WOhZ4r9OMF7UD8YETIPYlB3heOgfugMM="; + sha256 = "sha256-lifenGICnllPe/W9xmyp1Jkh7dRfph6u2+2uNvlARMw="; }; nativeBuildInputs = [ From cb49bfbfef37e36812bd52318ebf8c9fa6999967 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 19:25:43 +0000 Subject: [PATCH 063/129] traefik: 2.8.1 -> 2.8.2 --- pkgs/servers/traefik/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/traefik/default.nix b/pkgs/servers/traefik/default.nix index 425f8bcb8e9d..522e6eb98bed 100644 --- a/pkgs/servers/traefik/default.nix +++ b/pkgs/servers/traefik/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "traefik"; - version = "2.8.1"; + version = "2.8.2"; # Archive with static assets for webui src = fetchzip { url = "https://github.com/traefik/traefik/releases/download/v${version}/traefik-v${version}.src.tar.gz"; - sha256 = "sha256-+5A94I9WKFs2/etoQpwImt6yneX8pt44F9NfFF/X0Hk="; + sha256 = "sha256-ycGbzkFwoLWJZTNhHNdMl41reDThKnnB6S5MqgM7u6Q="; stripRoot = false; }; - vendorSha256 = "sha256-QHddmS1edjHckl3tpI9BDL4jjdvsMCw9aA9K/g3fSug="; + vendorSha256 = "sha256-xq3zGGKmWI/QlI49/JhHszTPazu7jcXv2XZBTIvtHxw="; subPackages = [ "cmd/traefik" ]; From 144d7eb0ef698ae2a8c73bea544bac2dc5e6454f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Aug 2022 21:40:19 +0200 Subject: [PATCH 064/129] python310Packages.debuglater: init at 1.4.1 --- .../python-modules/debuglater/default.nix | 52 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 54 insertions(+) create mode 100644 pkgs/development/python-modules/debuglater/default.nix diff --git a/pkgs/development/python-modules/debuglater/default.nix b/pkgs/development/python-modules/debuglater/default.nix new file mode 100644 index 000000000000..6adbde7f5134 --- /dev/null +++ b/pkgs/development/python-modules/debuglater/default.nix @@ -0,0 +1,52 @@ +{ lib +, buildPythonPackage +, colorama +, dill +, fetchFromGitHub +, numpy +, pandas +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "debuglater"; + version = "1.4.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "ploomber"; + repo = pname; + rev = version; + hash = "sha256-n/Q6yt3q/+6QCGWNmaFrUK/phba6IVu42DMcvVj4vb0="; + }; + + propagatedBuildInputs = [ + colorama + ]; + + passthru.optional-dependencies = { + all = [ + dill + ]; + }; + + checkInputs = [ + numpy + pandas + pytestCheckHook + ] ++ passthru.optional-dependencies.all; + + pythonImportsCheck = [ + "debuglater" + ]; + + meta = with lib; { + description = "Module for post-mortem debugging of Python programs"; + homepage = "https://github.com/ploomber/debuglater"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6f90e3ca8388..6b62667af39e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2234,6 +2234,8 @@ in { debugpy = callPackage ../development/python-modules/debugpy { }; + debuglater = callPackage ../development/python-modules/debuglater { }; + decli = callPackage ../development/python-modules/decli { }; decorator = callPackage ../development/python-modules/decorator { }; From a6641909e4538c492d14d54789ed40ead58fae4c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Aug 2022 21:53:34 +0200 Subject: [PATCH 065/129] python310Packages.aioblescan: init at 0.2.13 --- .../python-modules/aioblescan/default.nix | 36 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ pkgs/top-level/python-packages.nix | 2 ++ 3 files changed, 40 insertions(+) create mode 100644 pkgs/development/python-modules/aioblescan/default.nix diff --git a/pkgs/development/python-modules/aioblescan/default.nix b/pkgs/development/python-modules/aioblescan/default.nix new file mode 100644 index 000000000000..462a4088f660 --- /dev/null +++ b/pkgs/development/python-modules/aioblescan/default.nix @@ -0,0 +1,36 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "aioblescan"; + version = "0.2.13"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "frawau"; + repo = pname; + rev = version; + hash = "sha256-n1FiBsuVpVJrIq6+kuMNugpEaUOFQ/Gk/QU7Hry4YrU="; + }; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "aioblescan" + ]; + + meta = with lib; { + description = "Library to listen for BLE advertized packets"; + homepage = "https://github.com/frawau/aioblescan"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9109de155553..47108bdae986 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1140,6 +1140,8 @@ with pkgs; aide = callPackage ../tools/security/aide { }; + aioblescan = with python3Packages; toPythonApplication aioblescan; + aiodnsbrute = python3Packages.callPackage ../tools/security/aiodnsbrute { }; aircrack-ng = callPackage ../tools/networking/aircrack-ng { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6f90e3ca8388..0c08d4692d03 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -269,6 +269,8 @@ in { aioazuredevops = callPackage ../development/python-modules/aioazuredevops { }; + aioblescan = callPackage ../development/python-modules/aioblescan { }; + aiocache = callPackage ../development/python-modules/aiocache { }; aiocoap = callPackage ../development/python-modules/aiocoap { }; From bcf715a147d9f4ee7f478610a64b27f545d48ba5 Mon Sep 17 00:00:00 2001 From: Ruud van Asseldonk Date: Thu, 11 Aug 2022 23:01:47 +0200 Subject: [PATCH 066/129] acme-client: 1.3.0 -> 1.3.1 This release is compatible with LibreSSL 3.5, but no longer with 3.4. --- pkgs/tools/networking/acme-client/default.nix | 4 ++-- pkgs/top-level/all-packages.nix | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/acme-client/default.nix b/pkgs/tools/networking/acme-client/default.nix index 427bcd622332..ba47d930cfac 100644 --- a/pkgs/tools/networking/acme-client/default.nix +++ b/pkgs/tools/networking/acme-client/default.nix @@ -8,11 +8,11 @@ stdenv.mkDerivation rec { pname = "acme-client"; - version = "1.3.0"; + version = "1.3.1"; src = fetchurl { url = "https://data.wolfsden.cz/sources/acme-client-${version}.tar.gz"; - hash = "sha256-rIeWZSOT+nPzLf2mDtOkN/wmCGffG4H6PCQb2Vxbxxk="; + hash = "sha256-lMCDis4CZQF6YwZGzdWD92/S1yT2cEAXXlTAipYYxro="; }; nativeBuildInputs = [ diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 45f27c13f7f6..fbc74091acbe 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1079,7 +1079,6 @@ with pkgs; acme-client = callPackage ../tools/networking/acme-client { stdenv = gccStdenv; - libressl = libressl_3_4; }; adrgen = callPackage ../tools/misc/adrgen { }; From c32b08f41f58ddfbb6aa435e23d77d5dcc93859d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 22:32:35 +0000 Subject: [PATCH 067/129] postgresql11Packages.pg_partman: 4.6.2 -> 4.7.0 --- pkgs/servers/sql/postgresql/ext/pg_partman.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/sql/postgresql/ext/pg_partman.nix b/pkgs/servers/sql/postgresql/ext/pg_partman.nix index 4403e7601a23..561c16c96459 100644 --- a/pkgs/servers/sql/postgresql/ext/pg_partman.nix +++ b/pkgs/servers/sql/postgresql/ext/pg_partman.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation rec { pname = "pg_partman"; - version = "4.6.2"; + version = "4.7.0"; buildInputs = [ postgresql ]; @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { owner = "pgpartman"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-UQvgYynW1VzEIG6AwLRivmi8HpGc3Dx7J2+BYNpUGUM="; + sha256 = "sha256-Hbg3lf9XEIt5r4sYW+1r1tu6GyBgRXQxrPRWNuZPsvM="; }; installPhase = '' From a58142e12cc7167e7f23f4f8bc12d8c74facfc2a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 22:47:51 +0000 Subject: [PATCH 068/129] python310Packages.azure-mgmt-servicebus: 8.0.0 -> 8.1.0 --- .../python-modules/azure-mgmt-servicebus/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-servicebus/default.nix b/pkgs/development/python-modules/azure-mgmt-servicebus/default.nix index 4134873b04ae..07c9ceb98279 100644 --- a/pkgs/development/python-modules/azure-mgmt-servicebus/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-servicebus/default.nix @@ -11,12 +11,12 @@ buildPythonPackage rec { pname = "azure-mgmt-servicebus"; - version = "8.0.0"; + version = "8.1.0"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "sha256-Ea0vFBPaeXjaxk565N4HFkK8DUzcGIHoaXL3E7b0EAI="; + sha256 = "sha256-R8Narn7eC7j59tDjsgbk9lF0PcOgOwSnzoMp3Qu0rmg="; }; propagatedBuildInputs = [ From db7de997dbda2fa3321c7df032e26bdc7c137e2a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 23:14:13 +0000 Subject: [PATCH 069/129] python310Packages.azure-mgmt-storage: 20.0.0 -> 20.1.0 --- .../development/python-modules/azure-mgmt-storage/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-storage/default.nix b/pkgs/development/python-modules/azure-mgmt-storage/default.nix index 8bc69d0c9b72..5f9063018d66 100644 --- a/pkgs/development/python-modules/azure-mgmt-storage/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-storage/default.nix @@ -7,7 +7,7 @@ }: buildPythonPackage rec { - version = "20.0.0"; + version = "20.1.0"; pname = "azure-mgmt-storage"; format = "setuptools"; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; extension = "zip"; - hash = "sha256-buR2tWIv9vWVTt7m6w2N1CezIXAihVrfHshjPKBM3uI="; + hash = "sha256-IU8/3oyR4n1T8uZUoo0VADrT9vFchDioIF8MiKSNlFE="; }; propagatedBuildInputs = [ From a9b941e5a010b331ffdaca7dca268054a5d96981 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 23:24:37 +0000 Subject: [PATCH 070/129] python310Packages.google-cloud-container: 2.11.0 -> 2.11.1 --- .../python-modules/google-cloud-container/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-container/default.nix b/pkgs/development/python-modules/google-cloud-container/default.nix index b7089078ff81..1b03d5285972 100644 --- a/pkgs/development/python-modules/google-cloud-container/default.nix +++ b/pkgs/development/python-modules/google-cloud-container/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "google-cloud-container"; - version = "2.11.0"; + version = "2.11.1"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-cmgyWHK3JLXYEJPLAN5M4edWJlv71tfbhu0KNs5H1k4="; + hash = "sha256-KVLM4ytQh8260JYd3oviCattfZa73e5p5dNXQMgRKQQ="; }; propagatedBuildInputs = [ From 22661f082f8566ecf38e63e7bb593e17bcdf08da Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 23:25:52 +0000 Subject: [PATCH 071/129] python310Packages.google-cloud-asset: 3.10.0 -> 3.11.0 --- .../development/python-modules/google-cloud-asset/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-asset/default.nix b/pkgs/development/python-modules/google-cloud-asset/default.nix index ed1a591e75b9..b62326fac138 100644 --- a/pkgs/development/python-modules/google-cloud-asset/default.nix +++ b/pkgs/development/python-modules/google-cloud-asset/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "google-cloud-asset"; - version = "3.10.0"; + version = "3.11.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-4ph6a5nncMiOEy1hfLt/QuQuT6rFwduLnCyc46KZrLA="; + hash = "sha256-d/eDAp8QuXr2Zh/zk9ONeKd+SdmqXlugdpx9t1hkMIM="; }; propagatedBuildInputs = [ From 91243c871e9ffc9071b878b69990a2fc7302f045 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 23:29:05 +0000 Subject: [PATCH 072/129] python310Packages.google-cloud-secret-manager: 2.12.1 -> 2.12.2 --- .../python-modules/google-cloud-secret-manager/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-secret-manager/default.nix b/pkgs/development/python-modules/google-cloud-secret-manager/default.nix index 04384361194c..f52cd4572155 100644 --- a/pkgs/development/python-modules/google-cloud-secret-manager/default.nix +++ b/pkgs/development/python-modules/google-cloud-secret-manager/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "google-cloud-secret-manager"; - version = "2.12.1"; + version = "2.12.2"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-LFEGqNi2KsAdoX2PEyQ8h0t0D3yDBtFMnanjhMwu+Lk="; + hash = "sha256-FSJFryLFttU/HWIFl4buRYOQoSd5cGmUS+FlHO8YzNE="; }; propagatedBuildInputs = [ From e08a50ccdac6dd1c77541f65b0d878722c451386 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 01:29:57 +0200 Subject: [PATCH 073/129] python310Packages.types-setuptools: 63.4.0 -> 63.4.1 --- pkgs/development/python-modules/types-setuptools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-setuptools/default.nix b/pkgs/development/python-modules/types-setuptools/default.nix index a22bb03ad73c..85001a87f704 100644 --- a/pkgs/development/python-modules/types-setuptools/default.nix +++ b/pkgs/development/python-modules/types-setuptools/default.nix @@ -5,12 +5,12 @@ buildPythonPackage rec { pname = "types-setuptools"; - version = "63.4.0"; + version = "63.4.1"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-+VQEQDQGbNPYzszIfi1c6+epbJ+HmW9hw8apLNVsyKQ="; + sha256 = "sha256-aq2A3Ra7XuXHgmDXtVNt27lUcO2Mw9qxkCeAKn+Nw2I="; }; # Module doesn't have tests From b6edb4f49cc5e2e43d5676c4ed3efda9fd585f6b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 23:32:54 +0000 Subject: [PATCH 074/129] python310Packages.google-cloud-tasks: 2.10.0 -> 2.10.1 --- .../development/python-modules/google-cloud-tasks/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-tasks/default.nix b/pkgs/development/python-modules/google-cloud-tasks/default.nix index 44ef6afed987..8eb83c618ec9 100644 --- a/pkgs/development/python-modules/google-cloud-tasks/default.nix +++ b/pkgs/development/python-modules/google-cloud-tasks/default.nix @@ -12,11 +12,11 @@ buildPythonPackage rec { pname = "google-cloud-tasks"; - version = "2.10.0"; + version = "2.10.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-bN5nW/vqDXiSy/gGC/OVxhRQRJl0VLWL/G5BqViueY0="; + sha256 = "sha256-Us6K8gf8zzdbek9CDgitkhb40IA9MkqFNblLw/KmfSc="; }; propagatedBuildInputs = [ google-api-core grpc-google-iam-v1 libcst proto-plus ]; From d65060b9ad477c586447c5c21381c439f8c09055 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 23:35:55 +0000 Subject: [PATCH 075/129] python310Packages.google-cloud-monitoring: 2.10.1 -> 2.11.0 --- .../python-modules/google-cloud-monitoring/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-monitoring/default.nix b/pkgs/development/python-modules/google-cloud-monitoring/default.nix index fd418f85a3c1..c79aea6f2401 100644 --- a/pkgs/development/python-modules/google-cloud-monitoring/default.nix +++ b/pkgs/development/python-modules/google-cloud-monitoring/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "google-cloud-monitoring"; - version = "2.10.1"; + version = "2.11.0"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-VQRCqlP0iCxYt50uzrVFSkvHrsYb3R8SmrdhZHxLFKw="; + hash = "sha256-eLd8lHhyGjJBTaNzP8amzWa3LyaAixzj+6EpRU2J0bg="; }; propagatedBuildInputs = [ From 22151e355236218072fcac346cdb9dcbdb2547ad Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 23:37:08 +0000 Subject: [PATCH 076/129] python310Packages.google-cloud-vision: 3.0.0 -> 3.1.0 --- .../python-modules/google-cloud-vision/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-vision/default.nix b/pkgs/development/python-modules/google-cloud-vision/default.nix index dac5109f6651..7db55481a655 100644 --- a/pkgs/development/python-modules/google-cloud-vision/default.nix +++ b/pkgs/development/python-modules/google-cloud-vision/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "google-cloud-vision"; - version = "3.0.0"; + version = "3.1.0"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-YQiqLVa9CVW82eXuzPWvcWFKzXcvX8v7cxazH2hrqAs="; + hash = "sha256-y1nqjaVX7Sm2PGjRxhxnqTiFJAudsgg3x2qsebyMW+8="; }; propagatedBuildInputs = [ From 100815e4a6cc3fb6ddad5250aee4d6700cf2b668 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 23:43:06 +0000 Subject: [PATCH 077/129] python310Packages.google-cloud-bigtable: 2.11.0 -> 2.11.1 --- .../python-modules/google-cloud-bigtable/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-bigtable/default.nix b/pkgs/development/python-modules/google-cloud-bigtable/default.nix index f3ad7c4bfaa3..35e05bff0eff 100644 --- a/pkgs/development/python-modules/google-cloud-bigtable/default.nix +++ b/pkgs/development/python-modules/google-cloud-bigtable/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "google-cloud-bigtable"; - version = "2.11.0"; + version = "2.11.1"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-WI/mUT5UxVkA5h4gndEkTWtxgOXK5LHqmweiRVzb+5A="; + hash = "sha256-3IEedcFLM46M+luI3wx/Q0V4rhyGmkZyIy1oU0rHzII="; }; propagatedBuildInputs = [ From 8ed129bef9d824b0f184aa6ac82c1c025056a8b0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 23:44:17 +0000 Subject: [PATCH 078/129] python310Packages.etils: 0.6.0 -> 0.7.1 --- pkgs/development/python-modules/etils/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/etils/default.nix b/pkgs/development/python-modules/etils/default.nix index 25f956480681..a428edc9e887 100644 --- a/pkgs/development/python-modules/etils/default.nix +++ b/pkgs/development/python-modules/etils/default.nix @@ -28,14 +28,14 @@ buildPythonPackage rec { pname = "etils"; - version = "0.6.0"; + version = "0.7.1"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-ZnckEFGDXQ2xHElHvK2Tj1e1HqECKQYk+JLx5OUbcOU="; + hash = "sha256-IHwJfdQYDV5asce37ni3v5Rx4SU03qziOx05LevSkvM="; }; nativeBuildInputs = [ From 7761ae9ec0568f3c87837b0b80737cbdfcc20871 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 23:49:01 +0000 Subject: [PATCH 079/129] python310Packages.defcon: 0.10.1 -> 0.10.2 --- pkgs/development/python-modules/defcon/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/defcon/default.nix b/pkgs/development/python-modules/defcon/default.nix index 12cbdf0a210d..8629a5bb1f84 100644 --- a/pkgs/development/python-modules/defcon/default.nix +++ b/pkgs/development/python-modules/defcon/default.nix @@ -5,13 +5,13 @@ buildPythonPackage rec { pname = "defcon"; - version = "0.10.1"; + version = "0.10.2"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-+nlk9xG3mOCS4xHzp54J/V+he7HNMg1aMgFeTFTrMHA="; + sha256 = "sha256-ruOW5taeRa5lyCZHgTktTCkRaTSyc3rXbYIwtAwYKkQ="; extension = "zip"; }; From eba8f86a8c6c0d01f2b5bae120715c9a41b2cd75 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 23:56:29 +0000 Subject: [PATCH 080/129] python310Packages.google-cloud-pubsub: 2.13.4 -> 2.13.5 --- .../python-modules/google-cloud-pubsub/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-pubsub/default.nix b/pkgs/development/python-modules/google-cloud-pubsub/default.nix index 8ecae2963b55..2141c3e9e66c 100644 --- a/pkgs/development/python-modules/google-cloud-pubsub/default.nix +++ b/pkgs/development/python-modules/google-cloud-pubsub/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "google-cloud-pubsub"; - version = "2.13.4"; + version = "2.13.5"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-ZhcBynfvHc0nveZP9z0y2IJf44vTzy8xB3XV5iJOLu0="; + hash = "sha256-bpokSPdTEE2dVytUsxhyb46fn+0lRvCeS/+3Cefn2+I="; }; propagatedBuildInputs = [ From f78bb87b1f6f13dbea79da95d71d6458325096e6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 00:02:10 +0000 Subject: [PATCH 081/129] python310Packages.hahomematic: 2022.8.4 -> 2022.8.5 --- pkgs/development/python-modules/hahomematic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/hahomematic/default.nix b/pkgs/development/python-modules/hahomematic/default.nix index aba0bc17306d..7d7967184c16 100644 --- a/pkgs/development/python-modules/hahomematic/default.nix +++ b/pkgs/development/python-modules/hahomematic/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "hahomematic"; - version = "2022.8.4"; + version = "2022.8.5"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "danielperna84"; repo = pname; rev = "refs/tags/${version}"; - sha256 = "sha256-660AGPKOcTwiEA3Zs81pg88DzsDwAEuF8tYMg3KXAZw="; + sha256 = "sha256-KgAjmppx+qH/4sCVnSDfHIaC5Gc6ToojyPfDUhhiQxc="; }; propagatedBuildInputs = [ From 0ec1065039199ae2fb30d590a5eff92f419aa7ad Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 00:04:11 +0000 Subject: [PATCH 082/129] python310Packages.dparse: 0.5.1 -> 0.5.2 --- pkgs/development/python-modules/dparse/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dparse/default.nix b/pkgs/development/python-modules/dparse/default.nix index 59fed703e227..179d02b150c9 100644 --- a/pkgs/development/python-modules/dparse/default.nix +++ b/pkgs/development/python-modules/dparse/default.nix @@ -10,12 +10,12 @@ buildPythonPackage rec { pname = "dparse"; - version = "0.5.1"; + version = "0.5.2"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "a1b5f169102e1c894f9a7d5ccf6f9402a836a5d24be80a986c7ce9eaed78f367"; + sha256 = "sha256-w0iZSh9ByF9mTY9aR0QmR7xOIsWvWxsm7ymv8Ppd3c0="; }; propagatedBuildInputs = [ From 3439898888da83027db56dbe3414f3c850f5d981 Mon Sep 17 00:00:00 2001 From: David Florness Date: Thu, 11 Aug 2022 20:04:20 -0400 Subject: [PATCH 083/129] telepresence: fix homepage link The current homepage gives a 404: [~]$ curl -v https://www.getambassador.io/docs/telepresence/2.1/quick-start/ 2>&1 | grep -A15 '< HTTP/2' < HTTP/2 404 < age: 102 < cache-control: public, max-age=0, must-revalidate < content-type: text/html; charset=utf-8 < date: Fri, 12 Aug 2022 00:04:41 GMT < etag: 1500322315-ssl < referrer-policy: same-origin < server: Netlify < strict-transport-security: max-age=31536000 < x-content-type-options: nosniff < x-frame-options: DENY < x-nf-request-id: 01GA7NZ6Y5BPQJ4B215ZEMRZ5T < x-xss-protection: 1; mode=block < content-length: 633903 < { [5 bytes data] --- pkgs/tools/networking/telepresence2/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/networking/telepresence2/default.nix b/pkgs/tools/networking/telepresence2/default.nix index 283bf6bd5b22..83449c383063 100644 --- a/pkgs/tools/networking/telepresence2/default.nix +++ b/pkgs/tools/networking/telepresence2/default.nix @@ -31,7 +31,7 @@ buildGoModule rec { meta = with lib; { description = "Local development against a remote Kubernetes or OpenShift cluster"; - homepage = "https://www.getambassador.io/docs/telepresence/2.1/quick-start/"; + homepage = "https://telepresence.io"; license = licenses.asl20; maintainers = with maintainers; [ mausch ]; mainProgram = "telepresence"; From 77acc4f67da44378f42346db5dfd9288d6a74180 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 00:14:36 +0000 Subject: [PATCH 084/129] python310Packages.pydal: 20220725.1 -> 20220807.1 --- pkgs/development/python-modules/pydal/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pydal/default.nix b/pkgs/development/python-modules/pydal/default.nix index 314e91746897..1134422e6e60 100644 --- a/pkgs/development/python-modules/pydal/default.nix +++ b/pkgs/development/python-modules/pydal/default.nix @@ -6,12 +6,12 @@ buildPythonPackage rec { pname = "pydal"; - version = "20220725.1"; + version = "20220807.1"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-/kbAvK6OWUyv0LUcTIAAvSHmhWDBwJszx65qqgytqSE="; + sha256 = "sha256-pIdDovZmKzqOB/4FKnivHQ5/YKuyj1Kq+30ZkHn33Wc="; }; postPatch = '' From 00f0d306d42e18aa082dbc5a93921c084dd6171d Mon Sep 17 00:00:00 2001 From: Stig Palmquist Date: Fri, 12 Aug 2022 02:42:05 +0200 Subject: [PATCH 085/129] perlPackages.Encode: 3.08 -> 3.19 --- pkgs/top-level/perl-packages.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 8397186a8527..b9d87c85896f 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -7733,10 +7733,10 @@ let Encode = buildPerlPackage { pname = "Encode"; - version = "3.08"; + version = "3.19"; src = fetchurl { - url = "mirror://cpan/authors/id/D/DA/DANKOGAI/Encode-3.08.tar.gz"; - sha256 = "0nvvs5a7sz2x38isr5na31fa6ja85cpvmbn07qx0l50ss00ks1pd"; + url = "mirror://cpan/authors/id/D/DA/DANKOGAI/Encode-3.19.tar.gz"; + sha256 = "sha256-kWP4SO72nk1MyIODl/CGH9nqft4AERfb2WlPjZUFLvU="; }; meta = { description = "Character encodings in Perl"; From 676ff15d5a3e11b3634cf60e9ab22fa03db4b856 Mon Sep 17 00:00:00 2001 From: Stig Palmquist Date: Fri, 12 Aug 2022 02:44:30 +0200 Subject: [PATCH 086/129] perlPackages.CryptX: 0.069 -> 0.076 --- pkgs/top-level/perl-packages.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index b9d87c85896f..7986d93aae15 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -5046,10 +5046,10 @@ let CryptX = buildPerlPackage { pname = "CryptX"; - version = "0.069"; + version = "0.076"; src = fetchurl { - url = "mirror://cpan/authors/id/M/MI/MIK/CryptX-0.069.tar.gz"; - sha256 = "b5503a35046a973174234a823dba63403b080957c4a370d60d66aa7c7587d850"; + url = "mirror://cpan/authors/id/M/MI/MIK/CryptX-0.076.tar.gz"; + sha256 = "sha256-u4SsASQ4x87NtRpab/+08f7jsOrgAi6WzrwuFnUiYhw="; }; meta = { description = "Crypto toolkit"; From 7ba223112389b2dc64a7975b3efbb35a76c07303 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 00:57:00 +0000 Subject: [PATCH 087/129] python310Packages.sunpy: 4.0.3 -> 4.0.4 --- pkgs/development/python-modules/sunpy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sunpy/default.nix b/pkgs/development/python-modules/sunpy/default.nix index cacfad61bbb8..aad3afda8adf 100644 --- a/pkgs/development/python-modules/sunpy/default.nix +++ b/pkgs/development/python-modules/sunpy/default.nix @@ -31,14 +31,14 @@ buildPythonPackage rec { pname = "sunpy"; - version = "4.0.3"; + version = "4.0.4"; format = "setuptools"; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-Ett9CBubdyKJh9MkwUhQ1kQH6/zBb6Ma0CdEH5Eqcw8="; + hash = "sha256-O4VjxcuJVgUjjz3VWyczCjJxvJvAL94MBnGsRn54Ld4="; }; nativeBuildInputs = [ From 139bc51a5c1b36244f8d5841e062db0c7a2decfe Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 01:05:04 +0000 Subject: [PATCH 088/129] python39Packages.types-redis: 4.3.13 -> 4.3.14 --- pkgs/development/python-modules/types-redis/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-redis/default.nix b/pkgs/development/python-modules/types-redis/default.nix index 12de448d8545..3ba879569452 100644 --- a/pkgs/development/python-modules/types-redis/default.nix +++ b/pkgs/development/python-modules/types-redis/default.nix @@ -5,12 +5,12 @@ buildPythonPackage rec { pname = "types-redis"; - version = "4.3.13"; + version = "4.3.14"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-uDNKlqL0MVIb+nIgWzQxKazcWmRv/PswTYChzQ3v9Ug="; + sha256 = "sha256-qllV/18QuHqQIcAx6wAqVEpBoKYoAITsB1ioqBKjdcQ="; }; # Module doesn't have tests From 7a48520c7bf50e59af492c39eda01d4939bd058b Mon Sep 17 00:00:00 2001 From: Stig Palmquist Date: Fri, 12 Aug 2022 03:06:17 +0200 Subject: [PATCH 089/129] perlPackages.ScopeUpper: 0.32 -> 0.33 --- pkgs/top-level/perl-packages.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 7986d93aae15..d41847538c25 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -19810,10 +19810,10 @@ let ScopeUpper = buildPerlPackage { pname = "Scope-Upper"; - version = "0.32"; + version = "0.33"; src = fetchurl { - url = "mirror://cpan/authors/id/V/VP/VPIT/Scope-Upper-0.32.tar.gz"; - sha256 = "ccaff3251c092f2af8b5ad840b76655c4bc4ccf504ff7bde233811822a40abcf"; + url = "mirror://cpan/authors/id/V/VP/VPIT/Scope-Upper-0.33.tar.gz"; + sha256 = "sha256-XzO+Aa1o/L7G74HusDs1EaL18HUq1RPZk6TBOl+xpkg="; }; meta = { description = "Act on upper scopes"; From b6c148e9b00605251726fa277883522f19acdb0f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 01:22:06 +0000 Subject: [PATCH 090/129] python310Packages.trimesh: 3.13.0 -> 3.13.4 --- pkgs/development/python-modules/trimesh/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/trimesh/default.nix b/pkgs/development/python-modules/trimesh/default.nix index 3c817dd7080d..96ca562dcd84 100644 --- a/pkgs/development/python-modules/trimesh/default.nix +++ b/pkgs/development/python-modules/trimesh/default.nix @@ -6,11 +6,11 @@ buildPythonPackage rec { pname = "trimesh"; - version = "3.13.0"; + version = "3.13.4"; src = fetchPypi { inherit pname version; - sha256 = "sha256-hmfjsyOyFJXw/B08g/ZkdN746vK5ZgmNQqo81gDUQA0="; + sha256 = "sha256-NTHh5kWu3Nri+Yoi9yvkHlWRD3slYraktKfcah7CEY8="; }; propagatedBuildInputs = [ numpy ]; From fe082eacee0dbf110b142f104b63a38ff630b545 Mon Sep 17 00:00:00 2001 From: Stig Palmquist Date: Fri, 12 Aug 2022 02:19:26 +0200 Subject: [PATCH 091/129] perlPackages.CpanelJSONXS: 4.25 -> 4.31 --- pkgs/top-level/perl-packages.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index d41847538c25..a875030bb76e 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -4178,10 +4178,10 @@ let CpanelJSONXS = buildPerlPackage { pname = "Cpanel-JSON-XS"; - version = "4.25"; + version = "4.31"; src = fetchurl { - url = "mirror://cpan/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-4.25.tar.gz"; - sha256 = "061940vyj9y3rzwq47z2a3f5i5rfpa90ccz7fgz228zr7njkvfpr"; + url = "mirror://cpan/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-4.31.tar.gz"; + sha256 = "sha256-AqZ6zuPeJKcow5ZIaADiojVZGlQ9B5REmtOI/j1c/yk="; }; meta = { description = "CPanel fork of JSON::XS, fast and correct serializing"; From cab3b5169adc13ffd02aaa31020e8c40971f7ef3 Mon Sep 17 00:00:00 2001 From: Stig Palmquist Date: Fri, 12 Aug 2022 03:08:22 +0200 Subject: [PATCH 092/129] perlPackages.SerealDecoder: 4.018 -> 4.025 --- pkgs/top-level/perl-packages.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index a875030bb76e..33e9b24ad295 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -19854,10 +19854,10 @@ let SerealDecoder = buildPerlPackage { pname = "Sereal-Decoder"; - version = "4.018"; + version = "4.025"; src = fetchurl { - url = "mirror://cpan/authors/id/Y/YV/YVES/Sereal-Decoder-4.018.tar.gz"; - sha256 = "0wfdixpm3p94mnng474l0nh9mjiy8q8hbrbh2af4vwn2hmazr91f"; + url = "mirror://cpan/authors/id/Y/YV/YVES/Sereal-Decoder-4.025.tar.gz"; + sha256 = "sha256-jg47mprxp3i33iFQb6MHl/sbUg3NAC8/KebctSRG3qU="; }; buildInputs = [ TestDeep TestDifferences TestLongString TestWarn ]; preBuild = "ls"; From 21e025e18d36c7f3b46d53e2e76db84b57711679 Mon Sep 17 00:00:00 2001 From: Stig Palmquist Date: Fri, 12 Aug 2022 03:33:27 +0200 Subject: [PATCH 093/129] perlPackages.SerealEncoder: 4.018 -> 4.025 --- pkgs/top-level/perl-packages.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 33e9b24ad295..a65037f83b88 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -19871,10 +19871,10 @@ let SerealEncoder = buildPerlPackage { pname = "Sereal-Encoder"; - version = "4.018"; + version = "4.025"; src = fetchurl { - url = "mirror://cpan/authors/id/Y/YV/YVES/Sereal-Encoder-4.018.tar.gz"; - sha256 = "0z9dbkr8ggjqb5g1sikxhy1a359bg08gs3vfg9icqm6xx4gjsv6p"; + url = "mirror://cpan/authors/id/Y/YV/YVES/Sereal-Encoder-4.025.tar.gz"; + sha256 = "sha256-D9UbpggwJmUNCFJnWCYRc8GKuCNMVSb6x+25GtnGAm4="; }; buildInputs = [ SerealDecoder TestDeep TestDifferences TestLongString TestWarn ]; meta = { From e777ee8b0f1e85da66fd79284bf3001b88571d29 Mon Sep 17 00:00:00 2001 From: Stig Palmquist Date: Fri, 12 Aug 2022 03:35:49 +0200 Subject: [PATCH 094/129] perlPackages.Sereal: 4.018 -> 4.025 --- pkgs/top-level/perl-packages.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index a65037f83b88..0c0d1b804e81 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -19887,10 +19887,10 @@ let Sereal = buildPerlPackage { pname = "Sereal"; - version = "4.018"; + version = "4.025"; src = fetchurl { - url = "mirror://cpan/authors/id/Y/YV/YVES/Sereal-4.018.tar.gz"; - sha256 = "0pqygrl88jp2w73jd9cw4k22fhvh5vcwqbiwl9wpxm67ql95cwwa"; + url = "mirror://cpan/authors/id/Y/YV/YVES/Sereal-4.025.tar.gz"; + sha256 = "sha256-C+X+VStQtnhjk+Q+qczldzpItf80o6zyopWqdgmgYrk="; }; buildInputs = [ TestDeep TestLongString TestWarn ]; propagatedBuildInputs = [ SerealDecoder SerealEncoder ]; From 28baad77337490612d3b258fdda30632ae26fcff Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 02:01:54 +0000 Subject: [PATCH 095/129] rsyslog: 8.2206.0 -> 8.2208.0 --- pkgs/tools/system/rsyslog/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/system/rsyslog/default.nix b/pkgs/tools/system/rsyslog/default.nix index 37c3fb07dfb6..2493d96a253a 100644 --- a/pkgs/tools/system/rsyslog/default.nix +++ b/pkgs/tools/system/rsyslog/default.nix @@ -11,11 +11,11 @@ with lib; stdenv.mkDerivation rec { pname = "rsyslog"; - version = "8.2206.0"; + version = "8.2208.0"; src = fetchurl { url = "https://www.rsyslog.com/files/download/rsyslog/${pname}-${version}.tar.gz"; - sha256 = "sha256-oTdyGLJsB2eno/Z9Fm1TOK98JLRV017JmXThjmhFuic="; + sha256 = "sha256-FN5o57jlqwxdc0+C4tyf/yLNf0cQrWkHJ+sQp7mz314="; }; #patches = [ ./fix-gnutls-detection.patch ]; From 822a9fd0e8d742d326ca32a752c61bea426d5952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Fri, 12 Aug 2022 12:19:12 +1000 Subject: [PATCH 096/129] udns: fix darwin build --- pkgs/development/libraries/udns/default.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/udns/default.nix b/pkgs/development/libraries/udns/default.nix index fc0b4a42b55d..da0554d49e60 100644 --- a/pkgs/development/libraries/udns/default.nix +++ b/pkgs/development/libraries/udns/default.nix @@ -16,7 +16,20 @@ stdenv.mkDerivation rec { sha256 = "0447fv1hmb44nnchdn6p5pd9b44x8p5jn0ahw6crwbqsg7f0hl8i"; }; + # udns uses a very custom build and hardcodes a .so name in a few places. + # Instead of fighting with it to apply the standard dylib script, change + # the right place in the Makefile itself. + postPatch = + if stdenv.isDarwin + then + '' + substituteInPlace Makefile.in \ + --replace --soname, -install_name,$out/lib/ + '' + else ""; + installPhase = '' + runHook preInstall mkdir -p $out/bin mkdir -p $out/include mkdir -p $out/lib @@ -30,6 +43,7 @@ stdenv.mkDerivation rec { ln -rs $out/lib/libudns.so.0 $out/lib/libudns.so cp dnsget.1 rblcheck.1 $out/share/man/man1 cp udns.3 $out/share/man/man3 + runHook postInstall ''; # keep man3 @@ -40,7 +54,7 @@ stdenv.mkDerivation rec { description = "Async-capable DNS stub resolver library"; license = licenses.lgpl21Plus; maintainers = [ maintainers.womfoo ]; - platforms = platforms.linux; + platforms = platforms.unix; }; } From 12cecbc5fdaa8cdd9057407e823efbbf97692cad Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 03:41:02 +0000 Subject: [PATCH 097/129] victoriametrics: 1.79.1 -> 1.80.0 --- pkgs/servers/nosql/victoriametrics/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/nosql/victoriametrics/default.nix b/pkgs/servers/nosql/victoriametrics/default.nix index e6cce463d830..b68fb2cf524a 100644 --- a/pkgs/servers/nosql/victoriametrics/default.nix +++ b/pkgs/servers/nosql/victoriametrics/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "VictoriaMetrics"; - version = "1.79.1"; + version = "1.80.0"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - sha256 = "sha256-rBR2gZ6wAt8P70MScPbktlLtXWWvqs08u786zSiFjJ0="; + sha256 = "sha256-SIwl8Mgbkk/z3xZ6wCmce7D2T2A2+dcuQ607BOsfrkQ="; }; vendorSha256 = null; From 35b284aba5639357249fda0e2373e4dfbc205f6b Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 12 Aug 2022 04:20:00 +0000 Subject: [PATCH 098/129] postgresqlPackages.pgvector: 0.2.6 -> 0.2.7 --- pkgs/servers/sql/postgresql/ext/pgvector.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/servers/sql/postgresql/ext/pgvector.nix b/pkgs/servers/sql/postgresql/ext/pgvector.nix index 1b71dd01c8e8..ddc51e8d2b73 100644 --- a/pkgs/servers/sql/postgresql/ext/pgvector.nix +++ b/pkgs/servers/sql/postgresql/ext/pgvector.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "pgvector"; - version = "0.2.6"; + version = "0.2.7"; src = fetchFromGitHub { - owner = "ankane"; - repo = pname; + owner = "pgvector"; + repo = "pgvector"; rev = "v${version}"; - sha256 = "sha256-NmUI4pXwf6PHuLbkFy/hoA67j++A2Ju7zG/4og9U+qk="; + sha256 = "sha256-kIgdr3+KC11Qxk1uBTmcN4dDaLIhfo/Fs898boESsBc="; }; buildInputs = [ postgresql ]; @@ -21,8 +21,8 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Open-source vector similarity search for PostgreSQL"; - homepage = "https://github.com/ankane/pgvector"; - changelog = "https://github.com/ankane/pgvector/raw/v${version}/CHANGELOG.md"; + homepage = "https://github.com/pgvector/pgvector"; + changelog = "https://github.com/pgvector/pgvector/raw/v${version}/CHANGELOG.md"; license = licenses.postgresql; platforms = postgresql.meta.platforms; maintainers = [ maintainers.marsam ]; From eb519a28637e82ebbf8c7e70008984d707d38da1 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 12 Aug 2022 04:20:00 +0000 Subject: [PATCH 099/129] pgformatter: 5.2 -> 5.3 https://github.com/darold/pgFormatter/releases/tag/v5.3 --- pkgs/development/tools/pgformatter/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/pgformatter/default.nix b/pkgs/development/tools/pgformatter/default.nix index 16ef0a99390e..2fbde805905b 100644 --- a/pkgs/development/tools/pgformatter/default.nix +++ b/pkgs/development/tools/pgformatter/default.nix @@ -2,13 +2,13 @@ perlPackages.buildPerlPackage rec { pname = "pgformatter"; - version = "5.2"; + version = "5.3"; src = fetchFromGitHub { owner = "darold"; repo = "pgFormatter"; rev = "v${version}"; - sha256 = "sha256-NNdg3H+tB5ovKWGneOs496c0b2dv/zFYF4CZhuH07Fs="; + sha256 = "sha256-W6xIUQhCUuPo2oIArqlM8RX2hlrPts12rTQQo+/74iM="; }; outputs = [ "out" ]; From 3b0595c39bd002a673992f94ae48246bef60860c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 04:55:16 +0000 Subject: [PATCH 100/129] argocd: 2.4.8 -> 2.4.9 --- pkgs/applications/networking/cluster/argocd/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/argocd/default.nix b/pkgs/applications/networking/cluster/argocd/default.nix index 87c459226831..44f244cacb55 100644 --- a/pkgs/applications/networking/cluster/argocd/default.nix +++ b/pkgs/applications/networking/cluster/argocd/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "argocd"; - version = "2.4.8"; + version = "2.4.9"; src = fetchFromGitHub { owner = "argoproj"; repo = "argo-cd"; rev = "v${version}"; - sha256 = "sha256-7eL6PQPB9xI5vmYuIaLHQLx6Dj/bRuv+Qw0MzJXUk4g="; + sha256 = "sha256-/g+icvpo62iV9GmpYxwHP7bsJF770bfnsVknVHEnEzM="; }; - vendorSha256 = "sha256-dM7ahmBaXrLjOF8XAPdIkoyhfSTbgturrf1F8xSUvjk="; + vendorSha256 = "sha256-M1ZYooS22bntHXAMK4QpMAwuMvN4/tHtVu3WZW9V8TA="; # Set target as ./cmd per cli-local # https://github.com/argoproj/argo-cd/blob/master/Makefile#L227 From df92ee91528a1d27ec4c5ad95eb5f679423525c5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 05:09:57 +0000 Subject: [PATCH 101/129] bitwarden: 2022.6.2 -> 2022.8.1 --- pkgs/tools/security/bitwarden/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/bitwarden/default.nix b/pkgs/tools/security/bitwarden/default.nix index e440ef4eedb8..842eb758c300 100644 --- a/pkgs/tools/security/bitwarden/default.nix +++ b/pkgs/tools/security/bitwarden/default.nix @@ -14,11 +14,11 @@ stdenv.mkDerivation rec { pname = "bitwarden"; - version = "2022.6.2"; + version = "2022.8.1"; src = fetchurl { url = "https://github.com/bitwarden/clients/releases/download/desktop-v${version}/Bitwarden-${version}-amd64.deb"; - sha256 = "sha256-FaYxnCUsKBMbPhiNKcB4eZFDN0fC1nfG6Si4UK6ekh0="; + sha256 = "sha256-MmhHs1Gp6H1CkLO/yCBhsF0KMiYXz37D6QP26fS+/u0="; }; desktopItem = makeDesktopItem { From 2db29e2df54bf8cc28ce8b39bf31fb6c9d7c8bfd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 05:30:06 +0000 Subject: [PATCH 102/129] cinny: 2.1.1 -> 2.1.2 --- .../networking/instant-messengers/cinny/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/cinny/default.nix b/pkgs/applications/networking/instant-messengers/cinny/default.nix index f9a2f42c5517..6d212b406f54 100644 --- a/pkgs/applications/networking/instant-messengers/cinny/default.nix +++ b/pkgs/applications/networking/instant-messengers/cinny/default.nix @@ -4,11 +4,11 @@ let configOverrides = writeText "cinny-config-overrides.json" (builtins.toJSON conf); in stdenv.mkDerivation rec { pname = "cinny"; - version = "2.1.1"; + version = "2.1.2"; src = fetchurl { url = "https://github.com/ajbura/cinny/releases/download/v${version}/cinny-v${version}.tar.gz"; - sha256 = "0qzg790yd23ja3a782ga085vgd5vvh7rgmdy8kpvc3wf8plvw5nm"; + sha256 = "sha256-UbL9HP90zfsoj/ClUoBF27n5zkvvN4UU4pxQu8QsoUA="; }; installPhase = '' From 5ec4191da71bae2679544fb7b32492ab5311a37c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 07:00:40 +0000 Subject: [PATCH 103/129] flyway: 9.1.2 -> 9.1.3 --- pkgs/development/tools/flyway/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/flyway/default.nix b/pkgs/development/tools/flyway/default.nix index fb4081336b9d..eb6ac3254b02 100644 --- a/pkgs/development/tools/flyway/default.nix +++ b/pkgs/development/tools/flyway/default.nix @@ -1,10 +1,10 @@ { lib, stdenv, fetchurl, jre_headless, makeWrapper }: stdenv.mkDerivation rec{ pname = "flyway"; - version = "9.1.2"; + version = "9.1.3"; src = fetchurl { url = "mirror://maven/org/flywaydb/flyway-commandline/${version}/flyway-commandline-${version}.tar.gz"; - sha256 = "sha256-NqjUkEVjRz5xzom6lDb5eW5ARDFMCtJM/Bbhsx4y0io="; + sha256 = "sha256-RmA9aP0YxYv2iDIp7W0k4x3CzvHMuPb398OM55q3Odo="; }; nativeBuildInputs = [ makeWrapper ]; dontBuild = true; From de662ab315676d3b9c26081ae34f5075f13fcf1c Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 5 Aug 2022 10:42:33 +0000 Subject: [PATCH 104/129] crosvm: reindent This style is more common across Nixpkgs. --- .../virtualization/crosvm/default.nix | 84 +++++++++---------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/pkgs/applications/virtualization/crosvm/default.nix b/pkgs/applications/virtualization/crosvm/default.nix index 6b9143c776e3..c09d1463b171 100644 --- a/pkgs/applications/virtualization/crosvm/default.nix +++ b/pkgs/applications/virtualization/crosvm/default.nix @@ -15,59 +15,59 @@ let in - rustPlatform.buildRustPackage rec { - pname = "crosvm"; - inherit (upstreamInfo) version; +rustPlatform.buildRustPackage rec { + pname = "crosvm"; + inherit (upstreamInfo) version; - src = fetchgit (builtins.removeAttrs upstreamInfo.src [ "date" "path" ]); + src = fetchgit (builtins.removeAttrs upstreamInfo.src [ "date" "path" ]); - separateDebugInfo = true; + separateDebugInfo = true; - patches = [ - ./default-seccomp-policy-dir.diff - ]; + patches = [ + ./default-seccomp-policy-dir.diff + ]; - cargoLock.lockFile = ./Cargo.lock; + cargoLock.lockFile = ./Cargo.lock; - nativeBuildInputs = [ minijail-tools pkg-config wayland-scanner ]; + nativeBuildInputs = [ minijail-tools pkg-config wayland-scanner ]; - buildInputs = [ - libcap libdrm libepoxy minijail virglrenderer wayland wayland-protocols - ]; + buildInputs = [ + libcap libdrm libepoxy minijail virglrenderer wayland wayland-protocols + ]; - postPatch = '' - cp ${./Cargo.lock} Cargo.lock - sed -i "s|/usr/share/policy/crosvm/|$PWD/seccomp/${arch}/|g" \ - seccomp/${arch}/*.policy - ''; + postPatch = '' + cp ${./Cargo.lock} Cargo.lock + sed -i "s|/usr/share/policy/crosvm/|$PWD/seccomp/${arch}/|g" \ + seccomp/${arch}/*.policy + ''; - preBuild = '' - export DEFAULT_SECCOMP_POLICY_DIR=$out/share/policy + preBuild = '' + export DEFAULT_SECCOMP_POLICY_DIR=$out/share/policy - for policy in seccomp/${arch}/*.policy; do - compile_seccomp_policy \ - --default-action trap $policy ''${policy%.policy}.bpf - done - ''; + for policy in seccomp/${arch}/*.policy; do + compile_seccomp_policy \ + --default-action trap $policy ''${policy%.policy}.bpf + done + ''; - buildFeatures = [ "default" "virgl_renderer" "virgl_renderer_next" ]; + buildFeatures = [ "default" "virgl_renderer" "virgl_renderer_next" ]; - postInstall = '' - mkdir -p $out/share/policy/ - cp -v seccomp/${arch}/*.bpf $out/share/policy/ - ''; + postInstall = '' + mkdir -p $out/share/policy/ + cp -v seccomp/${arch}/*.bpf $out/share/policy/ + ''; - CROSVM_CARGO_TEST_KERNEL_BINARY = - lib.optionalString (stdenv.buildPlatform == stdenv.hostPlatform) - "${linux}/${stdenv.hostPlatform.linux-kernel.target}"; + CROSVM_CARGO_TEST_KERNEL_BINARY = + lib.optionalString (stdenv.buildPlatform == stdenv.hostPlatform) + "${linux}/${stdenv.hostPlatform.linux-kernel.target}"; - passthru.updateScript = ./update.py; + passthru.updateScript = ./update.py; - meta = with lib; { - description = "A secure virtual machine monitor for KVM"; - homepage = "https://chromium.googlesource.com/crosvm/crosvm/"; - maintainers = with maintainers; [ qyliss ]; - license = licenses.bsd3; - platforms = [ "aarch64-linux" "x86_64-linux" ]; - }; - } + meta = with lib; { + description = "A secure virtual machine monitor for KVM"; + homepage = "https://chromium.googlesource.com/crosvm/crosvm/"; + maintainers = with maintainers; [ qyliss ]; + license = licenses.bsd3; + platforms = [ "aarch64-linux" "x86_64-linux" ]; + }; +} From a4e921432faa9b375b83e3b719945c451da12424 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 5 Aug 2022 10:49:37 +0000 Subject: [PATCH 105/129] crosvm: use cpu arch name to find seccomp files This matches for both supported platforms, and the package is already marked incompatible with other processes, so we can simplify here. --- .../virtualization/crosvm/default.nix | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/virtualization/crosvm/default.nix b/pkgs/applications/virtualization/crosvm/default.nix index c09d1463b171..b387daf3b370 100644 --- a/pkgs/applications/virtualization/crosvm/default.nix +++ b/pkgs/applications/virtualization/crosvm/default.nix @@ -5,14 +5,7 @@ }: let - upstreamInfo = with builtins; fromJSON (readFile ./upstream-info.json); - - arch = with stdenv.hostPlatform; - if isAarch64 then "aarch64" - else if isx86_64 then "x86_64" - else throw "no seccomp policy files available for host platform"; - in rustPlatform.buildRustPackage rec { @@ -35,16 +28,18 @@ rustPlatform.buildRustPackage rec { libcap libdrm libepoxy minijail virglrenderer wayland wayland-protocols ]; + arch = stdenv.hostPlatform.parsed.cpu.name; + postPatch = '' cp ${./Cargo.lock} Cargo.lock - sed -i "s|/usr/share/policy/crosvm/|$PWD/seccomp/${arch}/|g" \ - seccomp/${arch}/*.policy + sed -i "s|/usr/share/policy/crosvm/|$PWD/seccomp/$arch/|g" \ + seccomp/$arch/*.policy ''; preBuild = '' export DEFAULT_SECCOMP_POLICY_DIR=$out/share/policy - for policy in seccomp/${arch}/*.policy; do + for policy in seccomp/$arch/*.policy; do compile_seccomp_policy \ --default-action trap $policy ''${policy%.policy}.bpf done @@ -54,7 +49,7 @@ rustPlatform.buildRustPackage rec { postInstall = '' mkdir -p $out/share/policy/ - cp -v seccomp/${arch}/*.bpf $out/share/policy/ + cp -v seccomp/$arch/*.bpf $out/share/policy/ ''; CROSVM_CARGO_TEST_KERNEL_BINARY = From 7f4172608ec8e0d535dd18ef53c3ae94d8281340 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 5 Aug 2022 10:55:29 +0000 Subject: [PATCH 106/129] crosvm: drop code for running integration tests These are no longer by default as they have been extracted into their own crate, so this code wasn't doing anything. If we did want to run the integration tests again, we'd have to download kernel and rootfs binaries from Google, and that's more trouble than it's worth. --- pkgs/applications/virtualization/crosvm/default.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/applications/virtualization/crosvm/default.nix b/pkgs/applications/virtualization/crosvm/default.nix index b387daf3b370..2611868a0630 100644 --- a/pkgs/applications/virtualization/crosvm/default.nix +++ b/pkgs/applications/virtualization/crosvm/default.nix @@ -1,7 +1,6 @@ { stdenv, lib, rustPlatform, fetchgit , minijail-tools, pkg-config, wayland-scanner , libcap, libdrm, libepoxy, minijail, virglrenderer, wayland, wayland-protocols -, linux }: let @@ -52,10 +51,6 @@ rustPlatform.buildRustPackage rec { cp -v seccomp/$arch/*.bpf $out/share/policy/ ''; - CROSVM_CARGO_TEST_KERNEL_BINARY = - lib.optionalString (stdenv.buildPlatform == stdenv.hostPlatform) - "${linux}/${stdenv.hostPlatform.linux-kernel.target}"; - passthru.updateScript = ./update.py; meta = with lib; { From 290039f8cd769fe0daf073e8e87b9a6a75420a4a Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 5 Aug 2022 11:42:30 +0000 Subject: [PATCH 107/129] crosvm: get rid of upstream-info.json This was important when building crosvm required assembling our own build tree from lots of different repositories, but now that they've moved to submodules, it's overly complicated and needlessly inconsistent with the rest of Nixpkgs. --- .../virtualization/crosvm/default.nix | 13 ++++---- .../virtualization/crosvm/update.py | 30 ++++++++----------- .../virtualization/crosvm/upstream-info.json | 14 --------- 3 files changed, 19 insertions(+), 38 deletions(-) delete mode 100644 pkgs/applications/virtualization/crosvm/upstream-info.json diff --git a/pkgs/applications/virtualization/crosvm/default.nix b/pkgs/applications/virtualization/crosvm/default.nix index 2611868a0630..2a5a8c0b97c2 100644 --- a/pkgs/applications/virtualization/crosvm/default.nix +++ b/pkgs/applications/virtualization/crosvm/default.nix @@ -3,15 +3,16 @@ , libcap, libdrm, libepoxy, minijail, virglrenderer, wayland, wayland-protocols }: -let - upstreamInfo = with builtins; fromJSON (readFile ./upstream-info.json); -in - rustPlatform.buildRustPackage rec { pname = "crosvm"; - inherit (upstreamInfo) version; + version = "103.3"; - src = fetchgit (builtins.removeAttrs upstreamInfo.src [ "date" "path" ]); + src = fetchgit { + url = "https://chromium.googlesource.com/crosvm/crosvm"; + rev = "e7db3a5cc78ca90ab06aadd5f08bb151090269b6"; + sha256 = "0hyz0mg5fn6hi97awfpxfykgv68m935r037sdf85v3vcwjy5n5ki"; + fetchSubmodules = true; + }; separateDebugInfo = true; diff --git a/pkgs/applications/virtualization/crosvm/update.py b/pkgs/applications/virtualization/crosvm/update.py index 825b7b0bb239..d912c49078c6 100755 --- a/pkgs/applications/virtualization/crosvm/update.py +++ b/pkgs/applications/virtualization/crosvm/update.py @@ -1,5 +1,5 @@ #! /usr/bin/env nix-shell -#! nix-shell -p nix-prefetch-git python3 +#! nix-shell -p common-updater-scripts python3 #! nix-shell -i python import csv @@ -36,33 +36,27 @@ chrome_major_version = chrome_version[0] chromeos_tip_build = platform_version[0] release_branch = f'release-R{chrome_major_version}-{chromeos_tip_build}.B-chromeos' +# Determine the git revision. +with urlopen(f'https://chromium.googlesource.com/chromiumos/platform/crosvm/+/refs/heads/{release_branch}?format=JSON') as resp: + resp.readline() # Remove )]}' header + rev = json.load(resp)['commit'] + # Determine the patch version by counting the commits that have been # added to the release branch since it forked off the chromeos branch. -with urlopen(f'https://chromium.googlesource.com/chromiumos/platform/crosvm/+log/refs/heads/chromeos..refs/heads/{release_branch}?format=JSON') as resp: +with urlopen(f'https://chromium.googlesource.com/chromiumos/platform/crosvm/+log/refs/heads/chromeos..{rev}?format=JSON') as resp: resp.readline() # Remove )]}' header branch_commits = json.load(resp)['log'] - data = {'version': f'{chrome_major_version}.{len(branch_commits)}'} + version = f'{chrome_major_version}.{len(branch_commits)}' -# Fill in the 'src' key with the output from nix-prefetch-git, which -# can be passed straight to fetchGit when imported by Nix. -argv = ['nix-prefetch-git', - '--fetch-submodules', - '--url', 'https://chromium.googlesource.com/crosvm/crosvm', - '--rev', f'refs/heads/{release_branch}'] -output = subprocess.check_output(argv) -data['src'] = json.loads(output.decode('utf-8')) +# Update the version, git revision, and hash in crosvm's default.nix. +subprocess.run(['update-source-version', 'crosvm', f'--rev={rev}', version]) -# Find the path to crosvm's default.nix, so the src data can be -# written into the same directory. +# Find the path to crosvm's default.nix, so Cargo.lock can be written +# into the same directory. argv = ['nix-instantiate', '--eval', '--json', '-A', 'crosvm.meta.position'] position = json.loads(subprocess.check_output(argv).decode('utf-8')) filename = re.match(r'[^:]*', position)[0] -# Write the output. -with open(dirname(filename) + '/upstream-info.json', 'w') as out: - json.dump(data, out, indent=2) - out.write('\n') - # Generate a Cargo.lock run = ['.', dirname(abspath(__file__)) + '/generate-cargo.sh', diff --git a/pkgs/applications/virtualization/crosvm/upstream-info.json b/pkgs/applications/virtualization/crosvm/upstream-info.json deleted file mode 100644 index 8472e854e599..000000000000 --- a/pkgs/applications/virtualization/crosvm/upstream-info.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": "103.3", - "src": { - "url": "https://chromium.googlesource.com/crosvm/crosvm", - "rev": "e7db3a5cc78ca90ab06aadd5f08bb151090269b6", - "date": "2022-06-01T00:13:12+00:00", - "path": "/nix/store/r08jyffmjdq38f8yy57v8wgfjiil6586-crosvm", - "sha256": "0hyz0mg5fn6hi97awfpxfykgv68m935r037sdf85v3vcwjy5n5ki", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false - } -} From f85bbdf2d752b6691e99e47138a1eeb1e289a700 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 5 Aug 2022 11:43:20 +0000 Subject: [PATCH 108/129] crosvm: don't repeat the path to Cargo.lock This makes it slightly more convenient to test a local crosvm, by not having to change the path to Cargo.lock twice. It's also just cleaner. --- pkgs/applications/virtualization/crosvm/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/virtualization/crosvm/default.nix b/pkgs/applications/virtualization/crosvm/default.nix index 2a5a8c0b97c2..2e74fda9e2c1 100644 --- a/pkgs/applications/virtualization/crosvm/default.nix +++ b/pkgs/applications/virtualization/crosvm/default.nix @@ -31,7 +31,7 @@ rustPlatform.buildRustPackage rec { arch = stdenv.hostPlatform.parsed.cpu.name; postPatch = '' - cp ${./Cargo.lock} Cargo.lock + cp ${cargoLock.lockFile} Cargo.lock sed -i "s|/usr/share/policy/crosvm/|$PWD/seccomp/$arch/|g" \ seccomp/$arch/*.policy ''; From 94cbcedfcb6079abf40e169013c86a2a72b651aa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 10:09:15 +0200 Subject: [PATCH 109/129] python310Packages.bleak-retry-connector: 1.5.0 -> 1.7.0 --- .../python-modules/bleak-retry-connector/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bleak-retry-connector/default.nix b/pkgs/development/python-modules/bleak-retry-connector/default.nix index 409b482caa3d..1900f4fc04ba 100644 --- a/pkgs/development/python-modules/bleak-retry-connector/default.nix +++ b/pkgs/development/python-modules/bleak-retry-connector/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "bleak-retry-connector"; - version = "1.5.0"; + version = "1.7.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = pname; rev = "v${version}"; - hash = "sha256-H7qhtUl9dLGX51lXLsjEAyLTcHifN8fwSQFOAGaH/RM="; + hash = "sha256-QbBspgJK8w3gzAd+C7LmfU7QMZLiPz50/l+QEQtY7Ug="; }; nativeBuildInputs = [ From 548b9f5a0b33d4c84e66eebdb3bc27bdc546e742 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 10:09:20 +0200 Subject: [PATCH 110/129] python310Packages.pyswitchbot: 0.18.4 -> 0.18.5 --- pkgs/development/python-modules/pyswitchbot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyswitchbot/default.nix b/pkgs/development/python-modules/pyswitchbot/default.nix index 903f09acb225..c867a7384a86 100644 --- a/pkgs/development/python-modules/pyswitchbot/default.nix +++ b/pkgs/development/python-modules/pyswitchbot/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "pyswitchbot"; - version = "0.18.4"; + version = "0.18.5"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "Danielhiversen"; repo = "pySwitchbot"; rev = "refs/tags/${version}"; - hash = "sha256-lj2ud+Bp4z154XfPPJ6ocA9mlmRtlHOZRaOeDLQfYyo="; + hash = "sha256-a8o9FZ/AXy1F8QCGQ24e5+tjZnqevCU2UJYKCOY5eWI="; }; propagatedBuildInputs = [ From b42f3cc0f3b64c53e865deb2a2ac24527c6860cd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 10:10:30 +0200 Subject: [PATCH 111/129] python310Packages.yalexs-ble: 1.2.0 -> 1.2.0 --- pkgs/development/python-modules/yalexs-ble/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/yalexs-ble/default.nix b/pkgs/development/python-modules/yalexs-ble/default.nix index 7ca03ea43dbb..86f4a0b3a74c 100644 --- a/pkgs/development/python-modules/yalexs-ble/default.nix +++ b/pkgs/development/python-modules/yalexs-ble/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "yalexs-ble"; - version = "1.1.3"; + version = "1.2.0"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "bdraco"; repo = pname; rev = "v${version}"; - hash = "sha256-+0r0Zg3Ge4Mndro5hdTPAjbCBJhUac3LUbQ1BgBr8yE="; + hash = "sha256-nMz58tpV3C51h7CdwOmOm5UCq7gLlAoaM/dKheUU0m8="; }; nativeBuildInputs = [ From 3345718a60dc6c958db30048878316a0527cb8ea Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 10:19:21 +0200 Subject: [PATCH 112/129] python310Packages.google-cloud-tasks: disable on older Python releases --- .../google-cloud-tasks/default.nix | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-tasks/default.nix b/pkgs/development/python-modules/google-cloud-tasks/default.nix index 8eb83c618ec9..42b4ddf07605 100644 --- a/pkgs/development/python-modules/google-cloud-tasks/default.nix +++ b/pkgs/development/python-modules/google-cloud-tasks/default.nix @@ -6,22 +6,35 @@ , libcst , mock , proto-plus -, pytestCheckHook , pytest-asyncio +, pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "google-cloud-tasks"; version = "2.10.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-Us6K8gf8zzdbek9CDgitkhb40IA9MkqFNblLw/KmfSc="; + hash = "sha256-Us6K8gf8zzdbek9CDgitkhb40IA9MkqFNblLw/KmfSc="; }; - propagatedBuildInputs = [ google-api-core grpc-google-iam-v1 libcst proto-plus ]; + propagatedBuildInputs = [ + google-api-core + grpc-google-iam-v1 + libcst + proto-plus + ]; - checkInputs = [ mock pytestCheckHook pytest-asyncio ]; + checkInputs = [ + mock + pytest-asyncio + pytestCheckHook + ]; disabledTests = [ # requires credentials From 3a108e4580530432722740ef1c166690c7cba432 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 10:20:17 +0200 Subject: [PATCH 113/129] python310Packages.google-cloud-monitoring: update disabled --- .../python-modules/google-cloud-monitoring/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/google-cloud-monitoring/default.nix b/pkgs/development/python-modules/google-cloud-monitoring/default.nix index c79aea6f2401..67a3f66c91ad 100644 --- a/pkgs/development/python-modules/google-cloud-monitoring/default.nix +++ b/pkgs/development/python-modules/google-cloud-monitoring/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { version = "2.11.0"; format = "setuptools"; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; From 65d41c0f3ca618e64aa2f523d7f3178d6f467e73 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 10:21:05 +0200 Subject: [PATCH 114/129] python310Packages.google-cloud-vision: update disabled --- pkgs/development/python-modules/google-cloud-vision/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/google-cloud-vision/default.nix b/pkgs/development/python-modules/google-cloud-vision/default.nix index 7db55481a655..52f3118063fb 100644 --- a/pkgs/development/python-modules/google-cloud-vision/default.nix +++ b/pkgs/development/python-modules/google-cloud-vision/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { version = "3.1.0"; format = "setuptools"; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; From 3c0495082a2daea518f728908e8d104b4adb59e8 Mon Sep 17 00:00:00 2001 From: Tobias Poschwatta Date: Fri, 12 Aug 2022 10:25:14 +0200 Subject: [PATCH 115/129] slurm: 22.05.2 -> 22.05.3 Bug fix release, see: https://github.com/SchedMD/slurm/blob/slurm-22-05-3-1/NEWS --- pkgs/servers/computing/slurm/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/computing/slurm/default.nix b/pkgs/servers/computing/slurm/default.nix index b30cde849e0c..ace84a58f082 100644 --- a/pkgs/servers/computing/slurm/default.nix +++ b/pkgs/servers/computing/slurm/default.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { pname = "slurm"; - version = "22.05.2.1"; + version = "22.05.3.1"; # N.B. We use github release tags instead of https://www.schedmd.com/downloads.php # because the latter does not keep older releases. @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { repo = "slurm"; # The release tags use - instead of . rev = "${pname}-${builtins.replaceStrings ["."] ["-"] version}"; - sha256 = "1zfv5n7cqqn3c78h2svjazbdkdchyrk54prn2bq5diw80wgcmyrc"; + sha256 = "113l23zf98r2rz4smyb0lk68p5jj2gx2y2j11vvf5wq4apzyz8jf"; }; outputs = [ "out" "dev" ]; From e3884e3c677a4235285cede0cf04ab4ec75b53a5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 10:31:18 +0200 Subject: [PATCH 116/129] python310Packages.defcon: update disabled - add pythonImportsCheck - switch to pytestCheckHook --- .../python-modules/defcon/default.nix | 34 +++++++++++++------ 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/defcon/default.nix b/pkgs/development/python-modules/defcon/default.nix index 8629a5bb1f84..1cfa630337f5 100644 --- a/pkgs/development/python-modules/defcon/default.nix +++ b/pkgs/development/python-modules/defcon/default.nix @@ -1,17 +1,26 @@ -{ lib, buildPythonPackage, fetchPypi, pythonOlder -, fonttools, setuptools-scm -, pytest, pytest-runner, lxml, fs, unicodedata2, fontpens +{ lib +, buildPythonPackage +, fetchPypi +, fontpens +, fonttools +, fs +, lxml +, pytestCheckHook +, pythonOlder +, setuptools-scm +, unicodedata2 }: buildPythonPackage rec { pname = "defcon"; version = "0.10.2"; + format = "setuptools"; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-ruOW5taeRa5lyCZHgTktTCkRaTSyc3rXbYIwtAwYKkQ="; + hash = "sha256-ruOW5taeRa5lyCZHgTktTCkRaTSyc3rXbYIwtAwYKkQ="; extension = "zip"; }; @@ -24,18 +33,21 @@ buildPythonPackage rec { ]; checkInputs = [ - pytest - pytest-runner - lxml - fs - unicodedata2 fontpens + fs + lxml + pytestCheckHook + unicodedata2 + ]; + + pythonImportsCheck = [ + "defcon" ]; meta = with lib; { description = "A set of UFO based objects for use in font editing applications"; homepage = "https://github.com/robotools/defcon"; license = licenses.mit; - maintainers = [ maintainers.sternenseemann ]; + maintainers = with maintainers; [ sternenseemann ]; }; } From 3df339c50114bad9e8787e0c7fd4ddc559714040 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 10:33:20 +0200 Subject: [PATCH 117/129] python310Packages.google-cloud-pubsub: update disabled --- pkgs/development/python-modules/google-cloud-pubsub/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/google-cloud-pubsub/default.nix b/pkgs/development/python-modules/google-cloud-pubsub/default.nix index 2141c3e9e66c..ae095ad5894d 100644 --- a/pkgs/development/python-modules/google-cloud-pubsub/default.nix +++ b/pkgs/development/python-modules/google-cloud-pubsub/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { version = "2.13.5"; format = "setuptools"; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; From 5cfd83f19680bab7735de8f075c412938cf0dc64 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 10:39:14 +0200 Subject: [PATCH 118/129] python310Packages.azure-mgmt-storage: update disabled --- .../development/python-modules/azure-mgmt-storage/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-storage/default.nix b/pkgs/development/python-modules/azure-mgmt-storage/default.nix index 5f9063018d66..417264a70ffa 100644 --- a/pkgs/development/python-modules/azure-mgmt-storage/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-storage/default.nix @@ -7,11 +7,11 @@ }: buildPythonPackage rec { - version = "20.1.0"; pname = "azure-mgmt-storage"; + version = "20.1.0"; format = "setuptools"; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; From ecdab70205309463e58b5404c9d9662927a2d618 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 10:40:38 +0200 Subject: [PATCH 119/129] python310Packages.azure-mgmt-servicebus: update disabled --- .../python-modules/azure-mgmt-servicebus/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-servicebus/default.nix b/pkgs/development/python-modules/azure-mgmt-servicebus/default.nix index 07c9ceb98279..51843b9ab4a7 100644 --- a/pkgs/development/python-modules/azure-mgmt-servicebus/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-servicebus/default.nix @@ -5,18 +5,20 @@ , msrestazure , azure-common , azure-mgmt-core -, azure-mgmt-nspkg -, isPy3k +, pythonOlder }: buildPythonPackage rec { pname = "azure-mgmt-servicebus"; version = "8.1.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "sha256-R8Narn7eC7j59tDjsgbk9lF0PcOgOwSnzoMp3Qu0rmg="; + hash = "sha256-R8Narn7eC7j59tDjsgbk9lF0PcOgOwSnzoMp3Qu0rmg="; }; propagatedBuildInputs = [ @@ -24,11 +26,9 @@ buildPythonPackage rec { msrestazure azure-common azure-mgmt-core - ] ++ lib.optionals (!isPy3k) [ - azure-mgmt-nspkg ]; - # has no tests + # Module has no tests doCheck = false; meta = with lib; { From 8b6a599b7c4f9fc8984ea6cfe9704c23efc919fd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 05:03:24 +0000 Subject: [PATCH 120/129] basex: 9.7.3 -> 10.0 --- pkgs/tools/text/xml/basex/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/xml/basex/default.nix b/pkgs/tools/text/xml/basex/default.nix index 1313e8370ee8..714918c24d15 100644 --- a/pkgs/tools/text/xml/basex/default.nix +++ b/pkgs/tools/text/xml/basex/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "basex"; - version = "9.7.3"; + version = "10.0"; src = fetchurl { url = "http://files.basex.org/releases/${version}/BaseX${builtins.replaceStrings ["."] [""] version}.zip"; - hash = "sha256-ymuitTQoPdm5ZGu6h8UWYiKbUQHUz2r6B8WmJkHfYOM="; + hash = "sha256-3NWmgvMEWdj3h7b/kg4u3EdQupgldYc/SiPO2vzF140="; }; nativeBuildInputs = [ unzip copyDesktopItems ]; From 1410d8939830767e9edba0f824e4f3b1cb8d6ee4 Mon Sep 17 00:00:00 2001 From: Richard Marko Date: Wed, 10 Aug 2022 11:40:27 +0200 Subject: [PATCH 121/129] nixos/klipper: add OOMScoreAdjust -999 to make it unlikely that klipper gets killed by OOM killer. --- nixos/modules/services/misc/klipper.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/misc/klipper.nix b/nixos/modules/services/misc/klipper.nix index b34ca6f8c5d2..4c0b67a98caf 100644 --- a/nixos/modules/services/misc/klipper.nix +++ b/nixos/modules/services/misc/klipper.nix @@ -129,6 +129,7 @@ in RuntimeDirectory = "klipper"; SupplementaryGroups = [ "dialout" ]; WorkingDirectory = "${cfg.package}/lib"; + OOMScoreAdjust = "-999"; } // (if cfg.user != null then { Group = cfg.group; User = cfg.user; From 9ba8f7d8b3446e7534875ada648227c75f865503 Mon Sep 17 00:00:00 2001 From: Richard Marko Date: Thu, 11 Aug 2022 09:55:41 +0200 Subject: [PATCH 122/129] services/klipper: add CPUScheduling and IOScheduling tuning --- nixos/modules/services/misc/klipper.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/services/misc/klipper.nix b/nixos/modules/services/misc/klipper.nix index 4c0b67a98caf..34e9acc71929 100644 --- a/nixos/modules/services/misc/klipper.nix +++ b/nixos/modules/services/misc/klipper.nix @@ -130,6 +130,10 @@ in SupplementaryGroups = [ "dialout" ]; WorkingDirectory = "${cfg.package}/lib"; OOMScoreAdjust = "-999"; + CPUSchedulingPolicy = "rr"; + CPUSchedulingPriority = 99; + IOSchedulingClass = "realtime"; + IOSchedulingPriority = 0; } // (if cfg.user != null then { Group = cfg.group; User = cfg.user; From db572a52519fb2e6a402ac6f14b2502a87449e10 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 12:16:47 +0200 Subject: [PATCH 123/129] python310Packages.bleak-retry-connector: 1.7.0 -> 1.7.1 --- .../python-modules/bleak-retry-connector/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bleak-retry-connector/default.nix b/pkgs/development/python-modules/bleak-retry-connector/default.nix index 1900f4fc04ba..f5352c5d2f6d 100644 --- a/pkgs/development/python-modules/bleak-retry-connector/default.nix +++ b/pkgs/development/python-modules/bleak-retry-connector/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "bleak-retry-connector"; - version = "1.7.0"; + version = "1.7.1"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = pname; rev = "v${version}"; - hash = "sha256-QbBspgJK8w3gzAd+C7LmfU7QMZLiPz50/l+QEQtY7Ug="; + hash = "sha256-ql7j+m8g7ZgkgqJGUVE903n1b73kqWDExgSbnDpKQwc="; }; nativeBuildInputs = [ From 247f653862195e8617ccc0e4cae227c507f84acd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 12:17:35 +0200 Subject: [PATCH 124/129] python310Packages.pyswitchbot: 0.18.5 -> 0.18.6 --- pkgs/development/python-modules/pyswitchbot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyswitchbot/default.nix b/pkgs/development/python-modules/pyswitchbot/default.nix index c867a7384a86..ed37b4dde36e 100644 --- a/pkgs/development/python-modules/pyswitchbot/default.nix +++ b/pkgs/development/python-modules/pyswitchbot/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "pyswitchbot"; - version = "0.18.5"; + version = "0.18.6"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "Danielhiversen"; repo = "pySwitchbot"; rev = "refs/tags/${version}"; - hash = "sha256-a8o9FZ/AXy1F8QCGQ24e5+tjZnqevCU2UJYKCOY5eWI="; + hash = "sha256-4mVKs3Lycb9DVdFcG1gzM4FjJiQTcV7aT/OLpBacZjU="; }; propagatedBuildInputs = [ From 2c0fb1e813ba07969bcd303832ed967fd8c6a399 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 12:18:21 +0200 Subject: [PATCH 125/129] python310Packages.yalexs-ble: 1.2.0 -> 1.3.1 --- pkgs/development/python-modules/yalexs-ble/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/yalexs-ble/default.nix b/pkgs/development/python-modules/yalexs-ble/default.nix index 86f4a0b3a74c..992bebc66f0a 100644 --- a/pkgs/development/python-modules/yalexs-ble/default.nix +++ b/pkgs/development/python-modules/yalexs-ble/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "yalexs-ble"; - version = "1.2.0"; + version = "1.3.1"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "bdraco"; repo = pname; rev = "v${version}"; - hash = "sha256-nMz58tpV3C51h7CdwOmOm5UCq7gLlAoaM/dKheUU0m8="; + hash = "sha256-YBFO9DnvcFf1iXnsMW3COn2qWs9PrD3kjQDz08WU1xQ="; }; nativeBuildInputs = [ From d6c4de3e0ae90dac89ebedafbb5299d6d6a86ba8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 10:20:30 +0000 Subject: [PATCH 126/129] flyctl: 0.0.366 -> 0.0.370 --- pkgs/development/web/flyctl/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/web/flyctl/default.nix b/pkgs/development/web/flyctl/default.nix index b5ed8f683f26..92de17fe00a8 100644 --- a/pkgs/development/web/flyctl/default.nix +++ b/pkgs/development/web/flyctl/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "flyctl"; - version = "0.0.366"; + version = "0.0.370"; src = fetchFromGitHub { owner = "superfly"; repo = "flyctl"; rev = "v${version}"; - sha256 = "sha256-JtWm96a6CNOhbS0Vtw/0RJ9l/bdn0mSrEa7wLjh+O6Q="; + sha256 = "sha256-Med1B6E6e1oLkpaL8aNtT/qoHZtkCOwSRVkVQRPNRpI="; }; - vendorSha256 = "sha256-Osih5S5Z2jfh47Wae+vod/j0gN2FXDX7deo0/yt/wwk="; + vendorSha256 = "sha256-CloCB7El/fSlBXVzBstm1wgMEobBNKPIQJCilS/PhX8="; subPackages = [ "." ]; From b0f8d89333630f9652a1bb8669f2e4bb605cd01b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 03:57:14 +0000 Subject: [PATCH 127/129] libwpe-fdo: 1.12.0 -> 1.12.1 --- pkgs/development/libraries/libwpe/fdo.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libwpe/fdo.nix b/pkgs/development/libraries/libwpe/fdo.nix index df6a57d2d7f7..736b408323dd 100644 --- a/pkgs/development/libraries/libwpe/fdo.nix +++ b/pkgs/development/libraries/libwpe/fdo.nix @@ -16,11 +16,11 @@ stdenv.mkDerivation rec { pname = "wpebackend-fdo"; - version = "1.12.0"; + version = "1.12.1"; src = fetchurl { url = "https://wpewebkit.org/releases/${pname}-${version}.tar.xz"; - sha256 = "sha256-YjnJwVUjQQeY1mMV3mtJFxKrMACboYDz4N0HbZsAdKw="; + sha256 = "sha256-RaqDPETsKS8x+pQ7AbjMdeVOtiOte6amb8LxGP5p5ik="; }; depsBuildBuild = [ From bb4f3a501f9c1c7323087bc5545881c9247110f9 Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Fri, 12 Aug 2022 12:46:23 +0200 Subject: [PATCH 128/129] headscale: 0.16.0 -> 0.16.1 --- pkgs/servers/headscale/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/headscale/default.nix b/pkgs/servers/headscale/default.nix index 1c1d17fa78ba..41245cb68141 100644 --- a/pkgs/servers/headscale/default.nix +++ b/pkgs/servers/headscale/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "headscale"; - version = "0.16.0"; + version = "0.16.1"; src = fetchFromGitHub { owner = "juanfont"; repo = "headscale"; rev = "v${version}"; - sha256 = "sha256-IP54zRbSUKxHr41OADKRfQIHEYBjrGs0fMyCxL0Yn6o="; + sha256 = "sha256-uQpvIWK80+s/aFJQZGdSSrWsCwjvbpK9jLdmcFMAeLw="; }; - vendorSha256 = "sha256-b9C6F+7N0ecW0HiTx+rztZnxb+n6U6YTSOJvp3GqnWQ="; + vendorSha256 = "sha256-RzmnAh81BN4tbzAGzJbb6CMuws8kuPJDw7aPkRRnSS8="; ldflags = [ "-s" "-w" "-X github.com/juanfont/headscale/cmd/headscale/cli.Version=v${version}" ]; From ebf7f864891802213f32cde2a613bd8a5c30a89c Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Mon, 1 Aug 2022 05:58:34 +0000 Subject: [PATCH 129/129] nixos/tests/prometheus-exporters/systemd: Update for 0.5.0 release --- nixos/tests/prometheus-exporters.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/tests/prometheus-exporters.nix b/nixos/tests/prometheus-exporters.nix index 0a1ec824986a..549c3e0c09f3 100644 --- a/nixos/tests/prometheus-exporters.nix +++ b/nixos/tests/prometheus-exporters.nix @@ -1181,21 +1181,21 @@ let enable = true; extraFlags = [ - "--collector.enable-restart-count" + "--systemd.collector.enable-restart-count" ]; }; metricProvider = { }; exporterTest = '' wait_for_unit("prometheus-systemd-exporter.service") wait_for_open_port(9558) - succeed( + wait_until_succeeds( "curl -sSf localhost:9558/metrics | grep '{}'".format( 'systemd_unit_state{name="basic.target",state="active",type="target"} 1' ) ) succeed( "curl -sSf localhost:9558/metrics | grep '{}'".format( - 'systemd_service_restart_total{state="prometheus-systemd-exporter.service"} 0' + 'systemd_service_restart_total{name="prometheus-systemd-exporter.service"} 0' ) ) '';