From 6ed59cb1f4c09287c369c76585e0ad8d0d6aa54c Mon Sep 17 00:00:00 2001 From: Chuang Zhu Date: Fri, 30 Sep 2022 07:14:19 +0800 Subject: [PATCH 01/36] watchmate: init at 0.3.0 --- pkgs/applications/misc/watchmate/default.nix | 54 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 56 insertions(+) create mode 100644 pkgs/applications/misc/watchmate/default.nix diff --git a/pkgs/applications/misc/watchmate/default.nix b/pkgs/applications/misc/watchmate/default.nix new file mode 100644 index 000000000000..6cd7be52d5ec --- /dev/null +++ b/pkgs/applications/misc/watchmate/default.nix @@ -0,0 +1,54 @@ +{ lib +, rustPlatform +, fetchFromGitLab +, pkg-config +, gtk4 +, libadwaita +, bluez +, dbus +, openssl +, wrapGAppsHook4 +, glib +}: + +rustPlatform.buildRustPackage rec { + pname = "watchmate"; + version = "0.3.0"; + + src = fetchFromGitLab { + owner = "azymohliad"; + repo = "watchmate"; + rev = "v${version}"; + sha256 = "sha256-HyH+9KMbdiJSmjo2NsAvz8rN3JhYKz1nNqfuZufKjQA="; + }; + + cargoSha256 = "sha256-HvuxKPIVwVrcsTKgPwNosF/ar8QL9Jlldq7SBe2nh6o="; + + nativeBuildInputs = [ + pkg-config + wrapGAppsHook4 + glib + ]; + buildInputs = [ + gtk4 + libadwaita + bluez + dbus + openssl + ]; + + postInstall = '' + install -Dm444 assets/io.gitlab.azymohliad.WatchMate.desktop -t $out/share/applications/ + install -Dm444 assets/io.gitlab.azymohliad.WatchMate.metainfo.xml -t $out/share/metainfo/ + install -Dm444 assets/icons/io.gitlab.azymohliad.WatchMate.svg -t $out/share/icons/hicolor/scalable/apps/ + install -Dm444 assets/icons/io.gitlab.azymohliad.WatchMate-symbolic.svg -t $out/share/icons/hicolor/scalable/apps/ + ''; + + meta = with lib; { + description = "PineTime smart watch companion app for Linux phone and desktop"; + homepage = "https://gitlab.com/azymohliad/watchmate"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ chuangzhu ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7cf371ecbd39..2f2005882890 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32091,6 +32091,8 @@ with pkgs; imlib2 = imlib2-nox; }; + watchmate = callPackage ../applications/misc/watchmate { }; + watson = callPackage ../applications/office/watson { }; wapiti = callPackage ../tools/security/wapiti { }; From 78cae51b62dba89d8c2c49939b732cc2dbaaf84d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 7 Oct 2022 07:52:34 +0000 Subject: [PATCH 02/36] dmenu: 5.1 -> 5.2 --- pkgs/applications/misc/dmenu/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/dmenu/default.nix b/pkgs/applications/misc/dmenu/default.nix index 7c76b22dc99c..71fba4e51524 100644 --- a/pkgs/applications/misc/dmenu/default.nix +++ b/pkgs/applications/misc/dmenu/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "dmenu"; - version = "5.1"; + version = "5.2"; src = fetchurl { url = "https://dl.suckless.org/tools/dmenu-${version}.tar.gz"; - sha256 = "sha256-H01wnrujfrcybroOZl4PE75Pok7jXJWw15ww8Uo0j9U="; + sha256 = "sha256-1NTKd7WRQPJyJy21N+BbuRpZFPVoAmUtxX5hp3PUN5I="; }; buildInputs = [ libX11 libXinerama zlib libXft ]; From aa3e25f1a6a6a98645b1a5467462b62a2e65d2a6 Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Fri, 14 Oct 2022 11:26:51 +0200 Subject: [PATCH 03/36] libsForQt5.bismuth: 3.1.3 -> 3.1.4 --- pkgs/desktops/plasma-5/3rdparty/addons/bismuth/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/plasma-5/3rdparty/addons/bismuth/default.nix b/pkgs/desktops/plasma-5/3rdparty/addons/bismuth/default.nix index e12a8be568b0..ee43f98fda20 100644 --- a/pkgs/desktops/plasma-5/3rdparty/addons/bismuth/default.nix +++ b/pkgs/desktops/plasma-5/3rdparty/addons/bismuth/default.nix @@ -12,13 +12,13 @@ mkDerivation rec { pname = "bismuth"; - version = "3.1.3"; + version = "3.1.4"; src = fetchFromGitHub { owner = "Bismuth-Forge"; repo = pname; rev = "v${version}"; - sha256 = "sha256-IWwFsYqoqW3924+pf8L+acIt31aU/mhqakXbT9Q4Bqw="; + sha256 = "sha256-c13OFEw6E/I8j/mqeLnuc9Chi6pc3+AgwAMPpCzh974="; }; cmakeFlags = [ From 536e8c558eb7c5ce7d7b3a8bf1500f40a4cfcb5f Mon Sep 17 00:00:00 2001 From: Chuang Zhu Date: Wed, 19 Oct 2022 23:40:50 +0800 Subject: [PATCH 04/36] ncnn: fix build Fixes #192617. The breakage is introduced by a glslang update. Now `${glslang}/lib/cmake/OSDependentTargets.cmake` points to `${glslang}/share/glslang/glslang-targets.cmake`. The latter requires the `SPIRV-Tools-opt` target. So the two lines in patch should be moved before `OSDependentTargets.cmake`. This also fixes a breakage introduced by cmake described in #144170. --- .../libraries/ncnn/cmakelists.patch | 29 ++++++++++++++----- pkgs/development/libraries/ncnn/default.nix | 1 - 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/pkgs/development/libraries/ncnn/cmakelists.patch b/pkgs/development/libraries/ncnn/cmakelists.patch index 23499a1b9922..30f39a7a3f50 100644 --- a/pkgs/development/libraries/ncnn/cmakelists.patch +++ b/pkgs/development/libraries/ncnn/cmakelists.patch @@ -1,13 +1,26 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index 98611276..989350bb 100644 +index c453d23e..66b4aa24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -260,6 +260,8 @@ if(NCNN_VULKAN) - include("${GLSLANG_TARGET_DIR}/HLSLTargets.cmake") - endif() - include("${GLSLANG_TARGET_DIR}/glslangTargets.cmake") +@@ -478,6 +478,8 @@ if(NCNN_VULKAN) + + find_package(Threads) + + include("${GLSLANG_TARGET_DIR}/SPIRV-Tools/SPIRV-ToolsTarget.cmake") + include("${GLSLANG_TARGET_DIR}/SPIRV-Tools-opt/SPIRV-Tools-optTargets.cmake") - include("${GLSLANG_TARGET_DIR}/SPIRVTargets.cmake") - - if (NOT TARGET glslang OR NOT TARGET SPIRV) + include("${GLSLANG_TARGET_DIR}/OSDependentTargets.cmake") + include("${GLSLANG_TARGET_DIR}/OGLCompilerTargets.cmake") + if(EXISTS "${GLSLANG_TARGET_DIR}/HLSLTargets.cmake") +diff --git a/src/ncnn.pc.in b/src/ncnn.pc.in +index b580fcee..be2becd0 100644 +--- a/src/ncnn.pc.in ++++ b/src/ncnn.pc.in +@@ -1,6 +1,6 @@ + prefix=${pcfiledir}/../.. +-librarydir=${prefix}/@CMAKE_INSTALL_LIBDIR@ +-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ ++librarydir=@CMAKE_INSTALL_FULL_LIBDIR@ ++includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ + + Name: @CMAKE_PROJECT_NAME@ + Description: high-performance neural network inference framework optimized for the mobile platform diff --git a/pkgs/development/libraries/ncnn/default.nix b/pkgs/development/libraries/ncnn/default.nix index d8ed1c8a1943..0b07fab8668c 100644 --- a/pkgs/development/libraries/ncnn/default.nix +++ b/pkgs/development/libraries/ncnn/default.nix @@ -45,6 +45,5 @@ stdenv.mkDerivation rec { homepage = "https://github.com/Tencent/ncnn"; license = licenses.bsd3; maintainers = with maintainers; [ tilcreator ]; - broken = true; # at 2022-11-23 }; } From 252f131e67e0c296f3cb5a2ee172e720fe1f4143 Mon Sep 17 00:00:00 2001 From: Chuang Zhu Date: Thu, 20 Oct 2022 00:25:32 +0800 Subject: [PATCH 05/36] realesrgan-ncnn-vulkan: fix build --- .../realesrgan-ncnn-vulkan/cmakelists.patch | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/graphics/realesrgan-ncnn-vulkan/cmakelists.patch b/pkgs/tools/graphics/realesrgan-ncnn-vulkan/cmakelists.patch index 5ee94a917262..17490b7ce777 100644 --- a/pkgs/tools/graphics/realesrgan-ncnn-vulkan/cmakelists.patch +++ b/pkgs/tools/graphics/realesrgan-ncnn-vulkan/cmakelists.patch @@ -1,13 +1,13 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index a234caa..cd9d2c5 100644 +index a234caa..d94388a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -114,6 +114,8 @@ if(USE_SYSTEM_NCNN) - include("${GLSLANG_TARGET_DIR}/HLSLTargets.cmake") - endif() - include("${GLSLANG_TARGET_DIR}/glslangTargets.cmake") +@@ -107,6 +107,8 @@ if(USE_SYSTEM_NCNN) + + find_package(Threads) + + include("${GLSLANG_TARGET_DIR}/SPIRV-Tools/SPIRV-ToolsTarget.cmake") + include("${GLSLANG_TARGET_DIR}/SPIRV-Tools-opt/SPIRV-Tools-optTargets.cmake") - include("${GLSLANG_TARGET_DIR}/SPIRVTargets.cmake") - - if (NOT TARGET glslang OR NOT TARGET SPIRV) + include("${GLSLANG_TARGET_DIR}/OSDependentTargets.cmake") + include("${GLSLANG_TARGET_DIR}/OGLCompilerTargets.cmake") + if(EXISTS "${GLSLANG_TARGET_DIR}/HLSLTargets.cmake") From 5375f831940da9f32eeee19082d3c3176e1debf8 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Sat, 22 Oct 2022 21:52:40 -0400 Subject: [PATCH 06/36] dawncut: init at 1.54a --- .../science/physics/dawncut/default.nix | 40 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 42 insertions(+) create mode 100644 pkgs/applications/science/physics/dawncut/default.nix diff --git a/pkgs/applications/science/physics/dawncut/default.nix b/pkgs/applications/science/physics/dawncut/default.nix new file mode 100644 index 000000000000..8c0bc1ae6394 --- /dev/null +++ b/pkgs/applications/science/physics/dawncut/default.nix @@ -0,0 +1,40 @@ +{ lib +, stdenv +, fetchurl +}: + +stdenv.mkDerivation rec { + pname = "dawncut"; + version = "1.54a"; + + src = fetchurl { + name = "${pname}-${version}.tar.gz"; + url = "https://geant4.kek.jp/~tanaka/src/dawncut_${builtins.replaceStrings ["."] ["_"] version}.taz"; + hash = "sha256-Ux4fDi7TXePisYAxCMDvtzLYOgxnbxQIO9QacTRrT6k="; + }; + + postPatch = '' + substituteInPlace Makefile.architecture \ + --replace 'CXX := g++' "" + ''; + + dontConfigure = true; + + NIX_CFLAGS_COMPILE="-std=c++98"; + + installPhase = '' + runHook preInstall + + install -Dm 500 dawncut "$out/bin/dawncut" + + runHook postInstall + ''; + + meta = with lib; { + description = "A tool to generate a 3D scene data clipped with an arbitrary plane"; + license = licenses.unfree; + homepage = "https://geant4.kek.jp/~tanaka/DAWN/About_DAWNCUT.html"; + platforms = platforms.unix; + maintainers = with maintainers; [ veprbl ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d93a084ffcd1..55546d5ba668 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -35431,6 +35431,8 @@ with pkgs; dawn = callPackage ../applications/science/physics/dawn {}; + dawncut = callPackage ../applications/science/physics/dawncut {}; + elmerfem = callPackage ../applications/science/physics/elmerfem {}; mcfm = callPackage ../applications/science/physics/MCFM { From 62b5fa807f34e70a3a7a452f81c50d3041d0419e Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Sat, 22 Oct 2022 22:04:23 -0400 Subject: [PATCH 07/36] dawn: provide path to wish for the GUI --- pkgs/applications/science/physics/dawn/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/applications/science/physics/dawn/default.nix b/pkgs/applications/science/physics/dawn/default.nix index 609a0e1c4cd3..c174d4c0720f 100644 --- a/pkgs/applications/science/physics/dawn/default.nix +++ b/pkgs/applications/science/physics/dawn/default.nix @@ -1,6 +1,8 @@ { lib , stdenv , fetchurl +, tk +, makeWrapper }: stdenv.mkDerivation rec { @@ -18,12 +20,19 @@ stdenv.mkDerivation rec { --replace 'INSTALL_DIR =' "INSTALL_DIR = $out/bin#" ''; + nativeBuildInputs = [ makeWrapper ]; + dontConfigure = true; preInstall = '' mkdir -p "$out/bin" ''; + postInstall = '' + wrapProgram "$out/bin/DAWN_GUI" \ + --prefix PATH : ${lib.makeBinPath [ tk ]} + ''; + meta = with lib; { description = "A vectorized 3D PostScript processor with analytical hidden line/surface removal"; license = licenses.unfree; From 7370e16542bc8bbaaac54c3290af5ac6d3742b3c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 23 Oct 2022 23:07:04 +0000 Subject: [PATCH 08/36] operator-sdk: 1.24.1 -> 1.25.0 --- pkgs/development/tools/operator-sdk/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/operator-sdk/default.nix b/pkgs/development/tools/operator-sdk/default.nix index 05537e2d8c2c..271dd1d3c5da 100644 --- a/pkgs/development/tools/operator-sdk/default.nix +++ b/pkgs/development/tools/operator-sdk/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "operator-sdk"; - version = "1.24.1"; + version = "1.25.0"; src = fetchFromGitHub { owner = "operator-framework"; repo = pname; rev = "v${version}"; - sha256 = "sha256-6Al9EkAnaa7/wJzV4xy6FifPXa4MdA9INwJWpkWzCb8="; + sha256 = "sha256-Ej+Ai5bxqT3x/snFD0WaakcXlHCWJQh3vanyUJyJ/ks="; }; - vendorSha256 = "sha256-eczTVlArpO+uLC6IsTkj4LBIi+fXq7CMBf1zJShDN58="; + vendorSha256 = "sha256-7I/Hcrp50Nyp2yjALoEX/+sr3B/XJ8JKmkAB1SgAuGg="; doCheck = false; From f24c4d8a285e3c501d393aada37fedc357c54c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 24 Oct 2022 02:06:49 +0200 Subject: [PATCH 09/36] nixos/changedetection-io: fix typo --- nixos/modules/services/web-apps/changedetection-io.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/web-apps/changedetection-io.nix b/nixos/modules/services/web-apps/changedetection-io.nix index 6a54311e35ed..ace4cf1eabc9 100644 --- a/nixos/modules/services/web-apps/changedetection-io.nix +++ b/nixos/modules/services/web-apps/changedetection-io.nix @@ -127,7 +127,7 @@ in defaultStateDir = cfg.datastorePath == "/var/lib/changedetection-io"; in { services.changedetection-io = { - wantedBy = [ "mutli-user.target" ]; + wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; preStart = '' mkdir -p ${cfg.datastorePath} From feb4be1b9789cf5d5ab90c2267972ab9a7cffc9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 24 Oct 2022 02:08:02 +0200 Subject: [PATCH 10/36] changedetection-io: remove no longer required override --- pkgs/servers/web-apps/changedetection-io/default.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pkgs/servers/web-apps/changedetection-io/default.nix b/pkgs/servers/web-apps/changedetection-io/default.nix index 495da0192706..cd53cf147445 100644 --- a/pkgs/servers/web-apps/changedetection-io/default.nix +++ b/pkgs/servers/web-apps/changedetection-io/default.nix @@ -19,17 +19,6 @@ let "test_redirect" ]; }); - lxml = prev.lxml.override { - libxml2 = prev.libxml2.overrideAttrs (old: rec { - # etree.fromstring always returns None with 2.10.0 - version = "2.9.14"; - - src = fetchurl { - url = "mirror://gnome/sources/libxml2/${lib.versions.majorMinor version}/libxml2-${version}.tar.xz"; - sha256 = "sha256-YNdKJX0czsBHXnScui8hVZ5IE577pv8oIkNXx8eY3+4="; - }; - }); - }; werkzeug = prev.werkzeug.overridePythonAttrs (old: rec { version = "2.0.3"; src = old.src.override { From 573a1fc1677fab51c6ffa845fff61aa5f9e9440e Mon Sep 17 00:00:00 2001 From: zendo Date: Mon, 17 Oct 2022 20:42:32 +0800 Subject: [PATCH 11/36] textpieces: init at 3.3.0 --- pkgs/tools/text/textpieces/default.nix | 76 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 78 insertions(+) create mode 100644 pkgs/tools/text/textpieces/default.nix diff --git a/pkgs/tools/text/textpieces/default.nix b/pkgs/tools/text/textpieces/default.nix new file mode 100644 index 000000000000..db4edd417c20 --- /dev/null +++ b/pkgs/tools/text/textpieces/default.nix @@ -0,0 +1,76 @@ +{ lib +, stdenv +, fetchFromGitHub +, python3 +, meson +, ninja +, pkg-config +, vala +, glib +, gtk4 +, libgee +, libadwaita +, json-glib +, blueprint-compiler +, gtksourceview5 +, gobject-introspection +, wrapGAppsHook4 +, appstream-glib +, desktop-file-utils +}: + +let + pythonEnv = python3.withPackages ( ps: with ps; [ pyyaml ] ); +in +stdenv.mkDerivation rec { + pname = "textpieces"; + version = "3.3.0"; + + src = fetchFromGitHub { + owner = "liferooter"; + repo = pname; + rev = "v${version}"; + hash = "sha256-QLPvK2kiOGf8XN2aors6cZtl9d9uqsxcho2A1kISO5Y="; + }; + + nativeBuildInputs = [ + meson + ninja + pkg-config + pythonEnv + vala + blueprint-compiler + wrapGAppsHook4 + appstream-glib + desktop-file-utils + ]; + + buildInputs = [ + glib + gtk4 + libadwaita + libgee + json-glib + gtksourceview5 + gobject-introspection + ]; + + runtimeDependencies = [ + pythonEnv + ]; + + postPatch = '' + chmod +x build-aux/meson/postinstall.py + patchShebangs build-aux/meson/postinstall.py + patchShebangs scripts/ + ''; + + meta = with lib; { + description = "Quick text processing"; + longDescription = "A small tool for quick text transformations such as checksums, encoding, decoding and so on."; + homepage = "https://github.com/liferooter/textpieces"; + license = licenses.gpl3Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ zendo ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ac51b9fcc46b..73473d04719a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31911,6 +31911,8 @@ with pkgs; terminal-notifier = callPackage ../applications/misc/terminal-notifier {}; + textpieces = callPackage ../tools/text/textpieces { }; + textplots = callPackage ../tools/graphics/textplots { }; texture-synthesis = callPackage ../tools/graphics/texture-synthesis { }; From 640fc61141e63804c927bb02e979b3e8cb9ecece Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 24 Oct 2022 15:58:18 +0200 Subject: [PATCH 12/36] python310Packages.aiobiketrax: 0.3.0 -> 0.4.0 --- pkgs/development/python-modules/aiobiketrax/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiobiketrax/default.nix b/pkgs/development/python-modules/aiobiketrax/default.nix index a0b62f5f9010..e795a1758de7 100644 --- a/pkgs/development/python-modules/aiobiketrax/default.nix +++ b/pkgs/development/python-modules/aiobiketrax/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "aiobiketrax"; - version = "0.3.0"; + version = "0.4.0"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "basilfx"; repo = pname; rev = "v${version}"; - hash = "sha256-goS+BLIeFJ2fXQ2srbhKRfEjsMFX3+eA7iWzpBWMqZQ="; + hash = "sha256-P8BExzL22rRj1IFPpojKR8ITdVq0RF8e3qLgb+H1PzE="; }; nativeBuildInputs = [ From 19d86c4e2d2fb00bbee0bf12faf639266aa22876 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 24 Oct 2022 16:01:14 +0200 Subject: [PATCH 13/36] python310Packages.pynobo: 1.5.0 -> 1.6.0 --- pkgs/development/python-modules/pynobo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pynobo/default.nix b/pkgs/development/python-modules/pynobo/default.nix index 1fe4262df4ca..97b3f2c5be59 100644 --- a/pkgs/development/python-modules/pynobo/default.nix +++ b/pkgs/development/python-modules/pynobo/default.nix @@ -6,7 +6,7 @@ buildPythonPackage rec { pname = "pynobo"; - version = "1.5.0"; + version = "1.6.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -15,7 +15,7 @@ buildPythonPackage rec { owner = "echoromeo"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-msJClYHljib8sATooI8q4irz6cC8hEgvcxLmmgatvwU="; + hash = "sha256-YbQfdOLO1gs7+oiwe4rDmmD1o7MG+vma5xPlrtNZ00M="; }; # Project has no tests From 62347d1669eeb3003f093a376d5e350d5c0d08ae Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 24 Oct 2022 16:02:48 +0200 Subject: [PATCH 14/36] python310Packages.rns: 0.3.16 -> 0.3.17 --- pkgs/development/python-modules/rns/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/rns/default.nix b/pkgs/development/python-modules/rns/default.nix index 825919dc10e8..aeb114250ea5 100644 --- a/pkgs/development/python-modules/rns/default.nix +++ b/pkgs/development/python-modules/rns/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "rns"; - version = "0.3.16"; + version = "0.3.17"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "markqvist"; repo = "Reticulum"; rev = "refs/tags/${version}"; - hash = "sha256-+TXIxyLLIWK0lLUyh4irTYHXZLAv8zFYUGKAbA7D9qA="; + hash = "sha256-2e1mUDIDxgjGY4PGfgtbGwkktQfH1LsAczXKVW4jCLA="; }; propagatedBuildInputs = [ From e551494aac1c409a4254db38998b798f34ff4f84 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 24 Oct 2022 16:02:53 +0200 Subject: [PATCH 15/36] python310Packages.lxmf: 0.2.1 -> 0.2.2 --- pkgs/development/python-modules/lxmf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/lxmf/default.nix b/pkgs/development/python-modules/lxmf/default.nix index 8b9593857eeb..4f5994f3f698 100644 --- a/pkgs/development/python-modules/lxmf/default.nix +++ b/pkgs/development/python-modules/lxmf/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "lxmf"; - version = "0.2.1"; + version = "0.2.2"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -16,7 +16,7 @@ buildPythonPackage rec { owner = "markqvist"; repo = "lxmf"; rev = "refs/tags/${version}"; - hash = "sha256-ULYo2eFzBoEc5OeuRW/o35P/9oeYob8lG4T++nDrnNg="; + hash = "sha256-DmJcxbAVaNUTe1ulVmYeI0Kdtm0Lz83akjH4ttZsgZg="; }; propagatedBuildInputs = [ From ff817774a5790bc3f6b09c74bcc2c9dd16fdd8b3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 24 Oct 2022 16:18:37 +0200 Subject: [PATCH 16/36] python310Packages.pyhumps: 3.7.3 -> 3.8.0 --- pkgs/development/python-modules/pyhumps/default.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/pyhumps/default.nix b/pkgs/development/python-modules/pyhumps/default.nix index 87a9930ef3a2..0bdf9f7003b1 100644 --- a/pkgs/development/python-modules/pyhumps/default.nix +++ b/pkgs/development/python-modules/pyhumps/default.nix @@ -1,7 +1,6 @@ { lib , buildPythonPackage , fetchFromGitHub -, fetchpatch , poetry-core , pytestCheckHook , pythonOlder @@ -9,7 +8,7 @@ buildPythonPackage rec { pname = "pyhumps"; - version = "3.7.3"; + version = "3.8.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -18,17 +17,9 @@ buildPythonPackage rec { owner = "nficano"; repo = "humps"; rev = "v${version}"; - hash = "sha256-7jkwf4qGQ+AD4/hOrEe/oAPY+gnSySUVBWFf70rU7xc="; + hash = "sha256-ElL/LY2V2Z3efdV5FnDy9dSoBltULrzxsjaOx+7W9Oo="; }; - patches = [ - (fetchpatch { - # https://github.com/nficano/humps/pull/281 - url = "https://github.com/nficano/humps/commit/e248c26195804fa04c43e88c5682528f367e27b3.patch"; - hash = "sha256-+TCVfuMgfkDaS1tPu4q6PIOC3Kn1MBWyuoyAO6W0/h4="; - }) - ]; - nativeBuildInputs = [ poetry-core ]; From 4297bec6429373cc1bd1fd4f9a62c46a97245187 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 24 Oct 2022 16:40:07 +0200 Subject: [PATCH 17/36] python310Packages.types-python-dateutil: 2.8.19.1 -> 2.8.19.2 --- .../python-modules/types-python-dateutil/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-python-dateutil/default.nix b/pkgs/development/python-modules/types-python-dateutil/default.nix index e834f2828e46..4ac603bc8d12 100644 --- a/pkgs/development/python-modules/types-python-dateutil/default.nix +++ b/pkgs/development/python-modules/types-python-dateutil/default.nix @@ -5,12 +5,12 @@ buildPythonPackage rec { pname = "types-python-dateutil"; - version = "2.8.19.1"; + version = "2.8.19.2"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-1kL3ryu5n+ePWndv0MpOMpMnIAR/QA4lrWK8KlsY3JQ="; + hash = "sha256-5uMs4Y83dlsIxGYiKHvI2BNtwMVi2a1bj9FYxZlj16c="; }; # Modules doesn't have tests From 31a74e4893c29cc641f762d40671b0f82fa4eb36 Mon Sep 17 00:00:00 2001 From: Steven Kou Date: Mon, 24 Oct 2022 23:39:17 +0800 Subject: [PATCH 18/36] btop: 1.2.9 -> 1.2.12 --- pkgs/tools/system/btop/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/system/btop/default.nix b/pkgs/tools/system/btop/default.nix index 092163f68c77..e460dadbc811 100644 --- a/pkgs/tools/system/btop/default.nix +++ b/pkgs/tools/system/btop/default.nix @@ -8,8 +8,8 @@ stdenv.mkDerivation rec { pname = "btop"; - version = "1.2.9"; - hash = "sha256-YCVRWmBZmzAAFxMIWMBb8NPCRp8NeBtMqEbkgXYS9M4="; + version = "1.2.12"; + hash = "sha256-ieNwFCDJF0U1wTfAeWM22CS3RE1SEp12ODHsRVYFoKU="; src = fetchFromGitHub { owner = "aristocratos"; From 3d8c5c14743874030749ac63b6da5adbfde865f8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 24 Oct 2022 18:17:17 +0000 Subject: [PATCH 19/36] oh-my-zsh: 2022-10-22 -> 2022-10-24 --- pkgs/shells/zsh/oh-my-zsh/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/shells/zsh/oh-my-zsh/default.nix b/pkgs/shells/zsh/oh-my-zsh/default.nix index ccd0145f197c..88636d66f6fb 100644 --- a/pkgs/shells/zsh/oh-my-zsh/default.nix +++ b/pkgs/shells/zsh/oh-my-zsh/default.nix @@ -5,15 +5,15 @@ , git, nix, nixfmt, jq, coreutils, gnused, curl, cacert, bash }: stdenv.mkDerivation rec { - version = "2022-10-22"; + version = "2022-10-24"; pname = "oh-my-zsh"; - rev = "0066280c3e971e1e45a9037f6d0b993dabcc3576"; + rev = "bb8a0aa2c1c54c3aeb3e703397ab050fd62e36e6"; src = fetchFromGitHub { inherit rev; owner = "ohmyzsh"; repo = "ohmyzsh"; - sha256 = "SiP58GhkhgaxdTG1A6jvWFkBs7D3mRCXZtNziCvPKKU="; + sha256 = "bLuUkT81eJ37WtLasNzDNiGY21SveCZO7Ma5fbb61mc="; }; strictDeps = true; From aa473065cb9b9cfae16426056bc631deaec9b39e Mon Sep 17 00:00:00 2001 From: Alex Wied Date: Fri, 21 Oct 2022 03:01:18 -0400 Subject: [PATCH 20/36] boost180: init at 1.80.0 --- pkgs/development/libraries/boost/1.80.nix | 14 ++++++++++++++ pkgs/development/libraries/boost/default.nix | 1 + pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 17 insertions(+) create mode 100644 pkgs/development/libraries/boost/1.80.nix diff --git a/pkgs/development/libraries/boost/1.80.nix b/pkgs/development/libraries/boost/1.80.nix new file mode 100644 index 000000000000..1aab51af78a7 --- /dev/null +++ b/pkgs/development/libraries/boost/1.80.nix @@ -0,0 +1,14 @@ +{ callPackage, fetchurl, fetchpatch, ... } @ args: + +callPackage ./generic.nix (args // rec { + version = "1.80.0"; + + src = fetchurl { + urls = [ + "mirror://sourceforge/boost/boost_${builtins.replaceStrings ["."] ["_"] version}.tar.bz2" + "https://boostorg.jfrog.io/artifactory/main/release/${version}/source/boost_${builtins.replaceStrings ["."] ["_"] version}.tar.bz2" + ]; + # SHA256 from http://www.boost.org/users/history/version_1_80_0.html + sha256 = "1e19565d82e43bc59209a168f5ac899d3ba471d55c7610c677d4ccf2c9c500c0"; + }; +}) diff --git a/pkgs/development/libraries/boost/default.nix b/pkgs/development/libraries/boost/default.nix index ea73d2a10477..d6eaa8dff818 100644 --- a/pkgs/development/libraries/boost/default.nix +++ b/pkgs/development/libraries/boost/default.nix @@ -32,4 +32,5 @@ in { boost177 = makeBoost ./1.77.nix; boost178 = makeBoost ./1.78.nix; boost179 = makeBoost ./1.79.nix; + boost180 = makeBoost ./1.80.nix; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cc6040119657..d32be7966712 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18086,11 +18086,13 @@ with pkgs; boost177 boost178 boost179 + boost180 ; boost15x = boost159; boost16x = boost169; boost17x = boost179; + boost18x = boost180; boost = boost17x; boost_process = callPackage ../development/libraries/boost-process { }; From 6eeb9af177d7d18a12a1ec6ed3af4b3d65f48aa6 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 24 Oct 2022 07:22:11 -0700 Subject: [PATCH 21/36] python3Packages.localstack-ext: 1.1.0 -> 1.2.0 --- pkgs/development/python-modules/localstack-ext/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/localstack-ext/default.nix b/pkgs/development/python-modules/localstack-ext/default.nix index 607ac5a00d74..02cc6cbf218d 100644 --- a/pkgs/development/python-modules/localstack-ext/default.nix +++ b/pkgs/development/python-modules/localstack-ext/default.nix @@ -13,11 +13,11 @@ buildPythonPackage rec { pname = "localstack-ext"; - version = "1.1.0"; + version = "1.2.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-EpFkam2xqRSiIhLkcBFSFKr9j0P5oRP4CIUVcjKT5gM="; + sha256 = "sha256-F+FQJwvB1WH7qcfOG6IGY+ZlfKwz39UE5rwoQKnxaac="; }; postPatch = '' From 53e15a5f2f86b16c5f6622d77a4d3bae8fd3a38e Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 24 Oct 2022 07:26:55 -0700 Subject: [PATCH 22/36] python3Packages.localstack-client: 1.36 -> 1.39 --- .../python-modules/localstack-client/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/localstack-client/default.nix b/pkgs/development/python-modules/localstack-client/default.nix index 05e6c00e2268..020b8eed6334 100644 --- a/pkgs/development/python-modules/localstack-client/default.nix +++ b/pkgs/development/python-modules/localstack-client/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "localstack-client"; - version = "1.36"; + version = "1.39"; src = fetchFromGitHub { owner = "localstack"; repo = "localstack-python-client"; # Request for proper tags: https://github.com/localstack/localstack-python-client/issues/38 - rev = "92229c02c5b3cd0cef006e99c3d47db15aefcb4f"; - sha256 = "sha256-pbDpe/5o4YU/2UIi8YbhzhIlXigOb/M2vjW9DKcIxoI="; + rev = "f1e538ad23700e5b1afe98720404f4801475e470"; + sha256 = "sha256-MBXTiTzCwkduJPPRN7OKaWy2q9J8xCX/GGu09tyac3A="; }; propagatedBuildInputs = [ @@ -25,6 +25,8 @@ buildPythonPackage rec { "localstack_client" ]; + # All commands test `localstack` which is a downstream dependency + doCheck = false; checkInputs = [ pytestCheckHook ]; From 831fe25421e9d6c195a58f25cef62ed056f43103 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 24 Oct 2022 07:22:49 -0700 Subject: [PATCH 23/36] python3Packages.localstack: 1.0.4 -> 1.2.0 --- pkgs/development/python-modules/localstack/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/localstack/default.nix b/pkgs/development/python-modules/localstack/default.nix index e72f12ef3bb2..c9856889de1f 100644 --- a/pkgs/development/python-modules/localstack/default.nix +++ b/pkgs/development/python-modules/localstack/default.nix @@ -19,13 +19,13 @@ buildPythonPackage rec { pname = "localstack"; - version = "1.0.4"; + version = "1.2.0"; src = fetchFromGitHub { owner = "localstack"; repo = "localstack"; rev = "v${version}"; - sha256 = "sha256-JDF3wM5AVhfkAFlxmy1f3aMxs4J5LWd0JOY8MzRAzT4="; + sha256 = "sha256-en/9kxhiW4aesc2SOpg/jRXiRa222iBQuq1O3cHeBJs="; }; postPatch = '' From 7b0122aede0382ec215b8d455d821d7134515979 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 24 Oct 2022 07:30:44 -0700 Subject: [PATCH 24/36] python3Packages.localstack*: add localstack as test --- .../python-modules/localstack-client/default.nix | 7 +++++++ pkgs/development/python-modules/localstack-ext/default.nix | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/pkgs/development/python-modules/localstack-client/default.nix b/pkgs/development/python-modules/localstack-client/default.nix index 020b8eed6334..97cbd9968a10 100644 --- a/pkgs/development/python-modules/localstack-client/default.nix +++ b/pkgs/development/python-modules/localstack-client/default.nix @@ -3,6 +3,9 @@ , fetchFromGitHub , boto3 , pytestCheckHook + +# downstream dependencies +, localstack }: buildPythonPackage rec { @@ -39,6 +42,10 @@ buildPythonPackage rec { # For tests __darwinAllowLocalNetworking = true; + passthru.tests = { + inherit localstack; + }; + meta = with lib; { description = "A lightweight Python client for LocalStack"; homepage = "https://github.com/localstack/localstack-python-client"; diff --git a/pkgs/development/python-modules/localstack-ext/default.nix b/pkgs/development/python-modules/localstack-ext/default.nix index 02cc6cbf218d..a3d323edf983 100644 --- a/pkgs/development/python-modules/localstack-ext/default.nix +++ b/pkgs/development/python-modules/localstack-ext/default.nix @@ -9,6 +9,9 @@ , python-jose , requests , tabulate + +# Sensitive downstream dependencies +, localstack }: buildPythonPackage rec { @@ -50,6 +53,10 @@ buildPythonPackage rec { # No tests in repo doCheck = false; + passthru.tests = { + inherit localstack; + }; + meta = with lib; { description = "Extensions for LocalStack"; homepage = "https://github.com/localstack/localstack"; From 44331791273ba9250d5511b2d2881ca642c1f645 Mon Sep 17 00:00:00 2001 From: Artturin Date: Mon, 24 Oct 2022 21:43:06 +0300 Subject: [PATCH 25/36] discord: make update script work for all branches --- .../networking/instant-messengers/discord/darwin.nix | 2 +- .../networking/instant-messengers/discord/default.nix | 2 +- .../networking/instant-messengers/discord/linux.nix | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/discord/darwin.nix b/pkgs/applications/networking/instant-messengers/discord/darwin.nix index fc75da46a388..7b1c2b9be9f8 100644 --- a/pkgs/applications/networking/instant-messengers/discord/darwin.nix +++ b/pkgs/applications/networking/instant-messengers/discord/darwin.nix @@ -1,4 +1,4 @@ -{ pname, version, src, openasar, meta, stdenv, binaryName, desktopName, lib, undmg, makeWrapper, withOpenASAR ? false }: +{ pname, version, src, openasar, meta, stdenv, binaryName, desktopName, lib, undmg, makeWrapper, branch, withOpenASAR ? false }: stdenv.mkDerivation { inherit pname version src meta; diff --git a/pkgs/applications/networking/instant-messengers/discord/default.nix b/pkgs/applications/networking/instant-messengers/discord/default.nix index 3a2eae2a3fc4..4ede5a1a13d8 100644 --- a/pkgs/applications/networking/instant-messengers/discord/default.nix +++ b/pkgs/applications/networking/instant-messengers/discord/default.nix @@ -69,7 +69,7 @@ let (_: value: callPackage package (value // { - inherit src version openasar; + inherit src version openasar branch; meta = meta // { mainProgram = value.binaryName; }; })) { diff --git a/pkgs/applications/networking/instant-messengers/discord/linux.nix b/pkgs/applications/networking/instant-messengers/discord/linux.nix index 9ac36b66ff85..a6f0063efe4a 100644 --- a/pkgs/applications/networking/instant-messengers/discord/linux.nix +++ b/pkgs/applications/networking/instant-messengers/discord/linux.nix @@ -5,6 +5,7 @@ , libXScrnSaver, libXcomposite, libXcursor, libXdamage, libXext, libXfixes , libXi, libXrandr, libXrender, libXtst, libxcb, libxshmfence, mesa, nspr, nss , pango, systemd, libappindicator-gtk3, libdbusmenu, writeScript, python3, runCommand +, branch , common-updater-scripts, withOpenASAR ? false }: let @@ -141,7 +142,7 @@ stdenv.mkDerivation rec { }?platform=linux&format=tar.gz" | grep -oP 'location: \K\S+') version=''${url##https://dl*.discordapp.net/apps/linux/} version=''${version%%/*.tar.gz} - update-source-version ${pname} "$version" --file=./pkgs/applications/networking/instant-messengers/discord/default.nix + update-source-version ${pname} "$version" --file=./pkgs/applications/networking/instant-messengers/discord/default.nix --version-key=${branch} ''; }; } From f869098b67550eaf1752dc9592cc4daaef771c52 Mon Sep 17 00:00:00 2001 From: Artturin Date: Mon, 24 Oct 2022 21:45:33 +0300 Subject: [PATCH 26/36] discord-ptb: 0.0.29 -> 0.0.34 --- .../networking/instant-messengers/discord/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/discord/default.nix b/pkgs/applications/networking/instant-messengers/discord/default.nix index 4ede5a1a13d8..cee8eafbc9c5 100644 --- a/pkgs/applications/networking/instant-messengers/discord/default.nix +++ b/pkgs/applications/networking/instant-messengers/discord/default.nix @@ -2,7 +2,7 @@ let versions = if stdenv.isLinux then { stable = "0.0.21"; - ptb = "0.0.29"; + ptb = "0.0.34"; canary = "0.0.140"; } else { stable = "0.0.264"; @@ -18,7 +18,7 @@ let }; ptb = fetchurl { url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"; - sha256 = "d78NnQZ3MkLje8mHrI6noH2iD2oEvSJ3cDnsmzQsUYc="; + sha256 = "CD6dLoBnlvhpwEFfLI9OqjhviZPj3xNDyPK9qBJUqck="; }; canary = fetchurl { url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz"; From ae54952c4e2d8e3cdebd2947bc07afb9ace4fee6 Mon Sep 17 00:00:00 2001 From: Artturin Date: Mon, 24 Oct 2022 21:59:19 +0300 Subject: [PATCH 27/36] nwg-wrapper: 0.1.2 -> 0.1.3 strictDeps can now be enabled because I fixed gobject-introspection's hook just make sure that gobject-introspection is in nativeBuildInputs --- pkgs/applications/misc/nwg-wrapper/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/misc/nwg-wrapper/default.nix b/pkgs/applications/misc/nwg-wrapper/default.nix index 4e7f864f3eaa..2ff04c09b82e 100644 --- a/pkgs/applications/misc/nwg-wrapper/default.nix +++ b/pkgs/applications/misc/nwg-wrapper/default.nix @@ -2,13 +2,13 @@ python3Packages.buildPythonPackage rec { pname = "nwg-wrapper"; - version = "0.1.2"; + version = "0.1.3"; src = fetchFromGitHub { owner = "nwg-piotr"; repo = pname; - rev = "v${version}"; - sha256 = "114y55mv2rgnp75a3c7rk46v5v84d1zqb6wkha7x16ab6xa9phzl"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-GKDAdjO67aedCEFHKDukQ+oPMomTPwFE/CvJu112fus="; }; nativeBuildInputs = [ gobject-introspection wrapGAppsHook ]; @@ -17,9 +17,6 @@ python3Packages.buildPythonPackage rec { propagatedBuildInputs = with python3Packages; [ i3ipc pygobject3 ]; - # ValueError: Namespace GtkLayerShell not available - strictDeps = false; - # No tests doCheck = false; From 6444c18e9ce2d4bc883b9b356952d701f77f2d6a Mon Sep 17 00:00:00 2001 From: Artturin Date: Mon, 24 Oct 2022 22:25:37 +0300 Subject: [PATCH 28/36] flashfocus: 2.2.3 -> 2.3.1 add updateScript --- pkgs/misc/flashfocus/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/misc/flashfocus/default.nix b/pkgs/misc/flashfocus/default.nix index b74464de4f68..67cde0924c29 100644 --- a/pkgs/misc/flashfocus/default.nix +++ b/pkgs/misc/flashfocus/default.nix @@ -1,12 +1,12 @@ -{ lib, python3, netcat-openbsd }: +{ lib, python3, netcat-openbsd, nix-update-script }: python3.pkgs.buildPythonApplication rec { pname = "flashfocus"; - version = "2.2.3"; + version = "2.3.1"; src = python3.pkgs.fetchPypi { inherit pname version; - sha256 = "0cn44hryvz2wl7xklaslxsb3l2i3f8jkgmml0n9v2ks22j5l4r4h"; + sha256 = "sha256-XT3CKJWn1uKnPPsJC+MWlEAd8sWdVTEXz5b3n0UUedY="; }; postPatch = '' @@ -36,6 +36,10 @@ python3.pkgs.buildPythonApplication rec { pythonImportsCheck = [ "flashfocus" ]; + passthru.updateScript = nix-update-script { + attrPath = pname; + }; + meta = with lib; { homepage = "https://github.com/fennerm/flashfocus"; description = "Simple focus animations for tiling window managers"; From 2ebe637b8d5db6c6059936112611230ab1dc9273 Mon Sep 17 00:00:00 2001 From: Steven Kou Date: Mon, 24 Oct 2022 22:42:53 +0800 Subject: [PATCH 29/36] fishPlugins.forgit: 2022-08-16 -> 2022-10-14 --- pkgs/shells/fish/plugins/forgit.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/shells/fish/plugins/forgit.nix b/pkgs/shells/fish/plugins/forgit.nix index 19a58755dd96..3c746c6fd612 100644 --- a/pkgs/shells/fish/plugins/forgit.nix +++ b/pkgs/shells/fish/plugins/forgit.nix @@ -2,7 +2,7 @@ buildFishPlugin rec { pname = "forgit"; - version = "unstable-2022-08-16"; + version = "unstable-2022-10-14"; preFixup = '' substituteInPlace $out/share/fish/vendor_conf.d/forgit.plugin.fish \ @@ -13,8 +13,8 @@ buildFishPlugin rec { src = fetchFromGitHub { owner = "wfxr"; repo = "forgit"; - rev = "3f50933f047510020428114551da0ee5cdfb32a3"; - sha256 = "sha256-TSF4Vr5uf/+MVU4yCdIHNnwB7kkp4mF+hkhKtLqQvmk="; + rev = "2872548075e63bc83a0b960e2813b16571998563"; + sha256 = "sha256-NKL4c4k9Nath8NQ3sWUTGUzp517jRX4v0qVaKMJSMrw="; }; meta = with lib; { From 0fa4d17725f846951f2b80502a5f6c3695a31f99 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Mon, 24 Oct 2022 21:08:43 +0200 Subject: [PATCH 30/36] nixos/tests/chromium: Fix the tests for Google Chrome The meta attribute "timeout" is only set for Chromium (might still be required due to the long build duration). The Google Chrome tests were failing with: error: attribute 'timeout' missing According to nixos/lib/testing/meta.nix "null values are filtered out by `meta`" so `timeout = chromiumPkg.meta.timeout or null` might be fine as well. --- nixos/tests/chromium.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/tests/chromium.nix b/nixos/tests/chromium.nix index 6b296fe8a61a..c6b04e618974 100644 --- a/nixos/tests/chromium.nix +++ b/nixos/tests/chromium.nix @@ -39,7 +39,9 @@ mapAttrs (channel: chromiumPkg: makeTest { name = "chromium-${channel}"; meta = { maintainers = with maintainers; [ aszlig primeos ]; + } // optionalAttrs (chromiumPkg.meta ? timeout) { # https://github.com/NixOS/hydra/issues/591#issuecomment-435125621 + # Note: optionalAttrs is used since meta.timeout is not set for Google Chrome inherit (chromiumPkg.meta) timeout; }; From 5389fbe7839749354df38517124a55259ebf3453 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Mon, 24 Oct 2022 21:26:03 +0200 Subject: [PATCH 31/36] nixos/tests/chromium: Disable a failing test for M107+ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I haven't had time to look into this yet but it looks like opening chrome://gpu doesn't work anymore without proper GPU rendering (we use software rendering due to the virtualisation). According to the console output the new window never opens (at least with Google Chrome - I couldn't test it with Chromium yet due to the failing builds for M107 and M108): ``` (finished: sending keys ‘chrome://gpu ‘, in 0.14 seconds) machine: waiting for a window to appear machine: must succeed: xwininfo -root -tree | sed 's/.*0x[0-9a-f]* \"\([^\"]*\)\".*/\1/; t; d' (finished: must succeed: xwininfo -root -tree | sed 's/.*0x[0-9a-f]* \"\([^\"]*\)\".*/\1/; t; d', in 0.05 seconds) machine # Error: eglChooseConfig returned zero configs machine # at Create (../../third_party/dawn/src/dawn/native/opengl/ContextEGL.cpp:53) machine # machine: must succeed: xwininfo -root -tree | sed 's/.*0x[0-9a-f]* \"\([^\"]*\)\".*/\1/; t; d' machine # WARNING: lavapipe is not a conformant vulkan implementation, testing use only. (finished: must succeed: xwininfo -root -tree | sed 's/.*0x[0-9a-f]* \"\([^\"]*\)\".*/\1/; t; d', in 0.06 seconds) machine: must succeed: xwininfo -root -tree | sed 's/.*0x[0-9a-f]* \"\([^\"]*\)\".*/\1/; t; d' (finished: must succeed: xwininfo -root -tree | sed 's/.*0x[0-9a-f]* \"\([^\"]*\)\".*/\1/; t; d', in 0.09 seconds) [...] ``` --- nixos/tests/chromium.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/nixos/tests/chromium.nix b/nixos/tests/chromium.nix index c6b04e618974..618633935213 100644 --- a/nixos/tests/chromium.nix +++ b/nixos/tests/chromium.nix @@ -67,6 +67,9 @@ mapAttrs (channel: chromiumPkg: makeTest { from contextlib import contextmanager + major_version = "${versions.major (getVersion chromiumPkg.name)}" + + # Run as user alice def ru(cmd): return "su - ${user} -c " + shlex.quote(cmd) @@ -86,7 +89,6 @@ mapAttrs (channel: chromiumPkg: makeTest { binary = pname # Add optional CLI options: options = [] - major_version = "${versions.major (getVersion chromiumPkg.name)}" if major_version > "95" and not pname.startswith("google-chrome"): # Workaround to avoid a GPU crash: options.append("--use-gl=swiftshader") @@ -244,9 +246,11 @@ mapAttrs (channel: chromiumPkg: makeTest { machine.screenshot("after_copy_from_chromium") - with test_new_win("gpu_info", "chrome://gpu", "chrome://gpu"): - # To check the text rendering (catches regressions like #131074): - machine.wait_for_text("Graphics Feature Status") + if major_version < "107": + # TODO: Fix the chrome://gpu test for M107+ + with test_new_win("gpu_info", "chrome://gpu", "chrome://gpu"): + # To check the text rendering (catches regressions like #131074): + machine.wait_for_text("Graphics Feature Status") with test_new_win("version_info", "chrome://version", "About Version") as clipboard: From 2900412c48d9859890dc9e28ef05e238ec44cd3f Mon Sep 17 00:00:00 2001 From: Artturin Date: Mon, 24 Oct 2022 22:42:50 +0300 Subject: [PATCH 32/36] libvarlink: 22 -> 23 --- .../libraries/libvarlink/default.nix | 26 ++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/libvarlink/default.nix b/pkgs/development/libraries/libvarlink/default.nix index 099fae07dac1..6bd397ff0d1a 100644 --- a/pkgs/development/libraries/libvarlink/default.nix +++ b/pkgs/development/libraries/libvarlink/default.nix @@ -4,17 +4,19 @@ , meson , ninja , python3 +, nix-update-script +, testers }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "libvarlink"; - version = "22"; + version = "23"; src = fetchFromGitHub { owner = "varlink"; - repo = pname; - rev = version; - sha256 = "1i15227vlc9k4276r833ndhxrcys9305pf6dga1j0alx2vj85yz2"; + repo = finalAttrs.pname; + rev = finalAttrs.version; + sha256 = "sha256-oUy9HhybNMjRBWoqqal1Mw8cC5RddgN4izxAl0cgnKE="; }; nativeBuildInputs = [ meson ninja ]; @@ -33,6 +35,18 @@ stdenv.mkDerivation rec { doCheck = true; + passthru = { + updateScript = nix-update-script { + attrPath = finalAttrs.pname; + }; + tests = { + version = testers.testVersion { + package = finalAttrs.finalPackage; + command = "varlink --version"; + }; + }; + }; + meta = with lib; { description = "C implementation of the Varlink protocol and command line tool"; homepage = "https://github.com/varlink/libvarlink"; @@ -40,4 +54,4 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ artturin ]; platforms = platforms.linux; }; -} +}) From 3faf69cd2ab2e1adfbcead9487d677d39792ee17 Mon Sep 17 00:00:00 2001 From: zeapoz Date: Mon, 24 Oct 2022 15:22:53 +0200 Subject: [PATCH 33/36] vimPlugins.neo-tree-nvim: init at 2022-10-22 --- pkgs/applications/editors/vim/plugins/generated.nix | 12 ++++++++++++ pkgs/applications/editors/vim/plugins/overrides.nix | 4 ++++ .../editors/vim/plugins/vim-plugin-names | 1 + 3 files changed, 17 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index fbcf7ee8de85..6fcce74aa329 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -4893,6 +4893,18 @@ final: prev: meta.homepage = "https://github.com/Shougo/neco-vim/"; }; + neo-tree-nvim = buildVimPluginFrom2Nix { + pname = "neo-tree.nvim"; + version = "2022-10-22"; + src = fetchFromGitHub { + owner = "nvim-neo-tree"; + repo = "neo-tree.nvim"; + rev = "ab8ca9fac52949d7a741b538c5d9c3898cd0f45a"; + sha256 = "0ccrxj04md7lssfwy9lvw4sn99iwkpci9lddc577m6zs1nz00lw0"; + }; + meta.homepage = "https://github.com/nvim-neo-tree/neo-tree.nvim/"; + }; + neocomplete-vim = buildVimPluginFrom2Nix { pname = "neocomplete.vim"; version = "2021-02-18"; diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 7bbc763ad8f6..071abb223b93 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -624,6 +624,10 @@ self: super: { dependencies = with self; [ plenary-nvim ]; }); + neo-tree-nvim = super.neo-tree-nvim.overrideAttrs (old: { + dependencies = with self; [ plenary-nvim nui-nvim ]; + }); + noice-nvim = super.noice-nvim.overrideAttrs(old: { dependencies = with self; [ nui-nvim nvim-notify ]; }); diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index ebe78b3c4ec0..10d49fe58ffe 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -410,6 +410,7 @@ https://github.com/eagletmt/neco-ghc/,, https://github.com/ujihisa/neco-look/,, https://github.com/Shougo/neco-syntax/,, https://github.com/Shougo/neco-vim/,, +https://github.com/nvim-neo-tree/neo-tree.nvim/,HEAD, https://github.com/Shougo/neocomplete.vim/,, https://github.com/KeitaNakamura/neodark.vim/,, https://github.com/folke/neodev.nvim/,HEAD, From fcf2d05d817fad1dc212b4c5bfd4e70c37f59f69 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 24 Oct 2022 14:57:25 +0200 Subject: [PATCH 34/36] nixos/acme: Relax syscall filter after go upgrade With Go 1.19 calls to setrlimit are required for lego to run. While we could allow setrlimit alone, I think it is not unreasonable to allow @resources in general. Closes: #197513 --- nixos/modules/security/acme/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/security/acme/default.nix b/nixos/modules/security/acme/default.nix index e9299fb1b3ad..1c4a88954b65 100644 --- a/nixos/modules/security/acme/default.nix +++ b/nixos/modules/security/acme/default.nix @@ -62,9 +62,9 @@ let SystemCallArchitectures = "native"; SystemCallFilter = [ # 1. allow a reasonable set of syscalls - "@system-service" + "@system-service @resources" # 2. and deny unreasonable ones - "~@privileged @resources" + "~@privileged" # 3. then allow the required subset within denied groups "@chown" ]; From 2b85fb12da34c2ef48fc44d060c14ac8480c0c41 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 24 Oct 2022 15:07:50 +0200 Subject: [PATCH 35/36] nixos/release: add acme to tested set The ACME module has long been an important part of every nixos server deployment and we should therefore make sure the tests are working as expected before allowing a channel bump to happen. Related: #197443 --- nixos/release-combined.nix | 1 + nixos/release-small.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/nixos/release-combined.nix b/nixos/release-combined.nix index a11ee31ab8d0..bd7b452735f1 100644 --- a/nixos/release-combined.nix +++ b/nixos/release-combined.nix @@ -55,6 +55,7 @@ in rec { (onFullSupported "nixos.manual") (onSystems ["x86_64-linux"] "nixos.ova") (onSystems ["aarch64-linux"] "nixos.sd_image") + (onFullSupported "nixos.tests.acme") (onSystems ["x86_64-linux"] "nixos.tests.boot.biosCdrom") (onSystems ["x86_64-linux"] "nixos.tests.boot.biosUsb") (onFullSupported "nixos.tests.boot-stage1") diff --git a/nixos/release-small.nix b/nixos/release-small.nix index 1719d6738c5c..deb428d1bec0 100644 --- a/nixos/release-small.nix +++ b/nixos/release-small.nix @@ -31,6 +31,7 @@ in rec { inherit (nixos') channel manual options iso_minimal amazonImage dummy; tests = { inherit (nixos'.tests) + acme containers-imperative containers-ip firewall @@ -110,6 +111,7 @@ in rec { "nixos.iso_minimal" "nixos.amazonImage" "nixos.manual" + "nixos.tests.acme" "nixos.tests.boot.uefiCdrom" "nixos.tests.containers-imperative" "nixos.tests.containers-ip" From 1c4651424905d23f60033061f93cb332eccde42b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 24 Oct 2022 23:03:50 +0000 Subject: [PATCH 36/36] python310Packages.denonavr: 0.10.11 -> 0.10.12 --- pkgs/development/python-modules/denonavr/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/denonavr/default.nix b/pkgs/development/python-modules/denonavr/default.nix index c842759b8d52..5a48fc35f45a 100644 --- a/pkgs/development/python-modules/denonavr/default.nix +++ b/pkgs/development/python-modules/denonavr/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "denonavr"; - version = "0.10.11"; + version = "0.10.12"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -23,8 +23,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "scarface-4711"; repo = pname; - rev = version; - hash = "sha256-RY1XRGuwSFL429foEjEN93fBucUyyYc6cmpzYmYRorc="; + rev = "refs/tags/${version}"; + hash = "sha256-QNiDoPjOuwwAgUqDzXHzn0BE9bwXQrQKAIFlHCywl88="; }; propagatedBuildInputs = [