From c60fc2406ac3844ec924c95652da3ba604c6feed Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Sun, 20 Nov 2022 16:23:00 -0800 Subject: [PATCH 01/87] Working on update to cling 0.9 --- .../interpreters/cling/default.nix | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/pkgs/development/interpreters/cling/default.nix b/pkgs/development/interpreters/cling/default.nix index 1ec265f305b6..d73da5cf21b1 100644 --- a/pkgs/development/interpreters/cling/default.nix +++ b/pkgs/development/interpreters/cling/default.nix @@ -1,13 +1,15 @@ -{ lib, stdenv +{ lib +, stdenv , python3 , libffi , git , cmake , zlib , fetchgit +, fetchFromGitHub , makeWrapper , runCommand -, llvmPackages_5 +, llvmPackages_9 , glibc , ncurses }: @@ -15,21 +17,19 @@ let unwrapped = stdenv.mkDerivation rec { pname = "cling-unwrapped"; - version = "0.7"; + version = "0.9"; src = fetchgit { url = "http://root.cern/git/clang.git"; - # This commit has the tag cling-0.7 so we use it, even though cpt.py - # tries to use refs/tags/cling-patches-rrelease_50 - rev = "354b25b5d915ff3b1946479ad07f3f2768ea1621"; - branchName = "cling-patches"; - sha256 = "0q8q2nnvjx3v59ng0q3qqqhzmzf4pmfqqiy3rz1f3drx5w3lgyjg"; + rev = "cling-v0.9"; + sha256 = "sha256-ft1NUIclSiZ9lN3Z3DJCWA0U9q/K1M0TKkZr+PjsFYk="; }; - clingSrc = fetchgit { - url = "http://root.cern/git/cling.git"; - rev = "70163975eee5a76b45a1ca4016bfafebc9b57e07"; - sha256 = "1mv2fhk857kp5rq714bq49iv7gy9fgdwibydj5wy1kq2m3sf3ysi"; + clingSrc = fetchFromGitHub { + owner = "root-project"; + repo = "cling"; + rev = "v0.9"; + sha256 = "0wx3fi19wfjcph5kclf8108i436y79ddwakrcf0lgxnnxhdjyd29"; }; preConfigure = '' @@ -38,8 +38,8 @@ let chmod -R a+w ./tools/cling ''; - nativeBuildInputs = [ python3 git cmake llvmPackages_5.llvm.dev ]; - buildInputs = [ libffi llvmPackages_5.llvm zlib ncurses ]; + nativeBuildInputs = [ python3 git cmake llvmPackages_9.llvm.dev ]; + buildInputs = [ libffi llvmPackages_9.llvm zlib ncurses ]; strictDeps = true; From 838dae41887ef044a93655830d7b563e3acc391b Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Mon, 21 Nov 2022 21:37:41 -0800 Subject: [PATCH 02/87] First clang patch --- pkgs/development/interpreters/cling/default.nix | 8 ++++++++ .../interpreters/cling/no-clang-cpp.patch | 13 +++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/interpreters/cling/no-clang-cpp.patch diff --git a/pkgs/development/interpreters/cling/default.nix b/pkgs/development/interpreters/cling/default.nix index d73da5cf21b1..5165afb4b9cd 100644 --- a/pkgs/development/interpreters/cling/default.nix +++ b/pkgs/development/interpreters/cling/default.nix @@ -24,6 +24,7 @@ let rev = "cling-v0.9"; sha256 = "sha256-ft1NUIclSiZ9lN3Z3DJCWA0U9q/K1M0TKkZr+PjsFYk="; }; + # src = /home/tom/tools/clang; clingSrc = fetchFromGitHub { owner = "root-project"; @@ -31,6 +32,7 @@ let rev = "v0.9"; sha256 = "0wx3fi19wfjcph5kclf8108i436y79ddwakrcf0lgxnnxhdjyd29"; }; + # clingSrc = /home/tom/tools/cling; preConfigure = '' echo "add_llvm_external_project(cling)" >> tools/CMakeLists.txt @@ -41,6 +43,10 @@ let nativeBuildInputs = [ python3 git cmake llvmPackages_9.llvm.dev ]; buildInputs = [ libffi llvmPackages_9.llvm zlib ncurses ]; + patches = [ + ./no-clang-cpp.patch + ]; + strictDeps = true; cmakeFlags = [ @@ -50,6 +56,8 @@ let # Setting -DCLING_INCLUDE_TESTS=ON causes the cling/tools targets to be built; # see cling/tools/CMakeLists.txt "-DCLING_INCLUDE_TESTS=ON" + "-DCLANG-TOOLS=OFF" + # "--trace-expand" ]; meta = with lib; { diff --git a/pkgs/development/interpreters/cling/no-clang-cpp.patch b/pkgs/development/interpreters/cling/no-clang-cpp.patch new file mode 100644 index 000000000000..6048037cee84 --- /dev/null +++ b/pkgs/development/interpreters/cling/no-clang-cpp.patch @@ -0,0 +1,13 @@ +diff --git a/tools/driver/CMakeLists.txt b/tools/driver/CMakeLists.txt +index 590d708d83..340ae529d4 100644 +--- a/tools/driver/CMakeLists.txt ++++ b/tools/driver/CMakeLists.txt +@@ -63,7 +63,7 @@ endif() + add_dependencies(clang clang-resource-headers) + + if(NOT CLANG_LINKS_TO_CREATE) +- set(CLANG_LINKS_TO_CREATE clang++ clang-cl clang-cpp) ++ set(CLANG_LINKS_TO_CREATE clang++ clang-cl) + endif() + + foreach(link ${CLANG_LINKS_TO_CREATE}) From 3405841706c4c5c41f35d3fa3a1c5cac42c9ee7b Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Tue, 22 Nov 2022 15:11:46 -0800 Subject: [PATCH 03/87] Bringing over more patches --- .../interpreters/cling/default.nix | 26 +++++++++++--- .../interpreters/cling/use-patched-llvm.patch | 34 +++++++++++++++++++ 2 files changed, 55 insertions(+), 5 deletions(-) create mode 100644 pkgs/development/interpreters/cling/use-patched-llvm.patch diff --git a/pkgs/development/interpreters/cling/default.nix b/pkgs/development/interpreters/cling/default.nix index 5165afb4b9cd..a4f5118db76f 100644 --- a/pkgs/development/interpreters/cling/default.nix +++ b/pkgs/development/interpreters/cling/default.nix @@ -34,19 +34,35 @@ let }; # clingSrc = /home/tom/tools/cling; - preConfigure = '' + llvmSrc = fetchgit { + url = "http://root.cern/git/llvm.git"; + rev = "cling-v0.9"; + sha256 = "sha256-jts7DMnXwZF/pzUfWEQeJmj5XlOb51aXn6KExMbmcXg="; + }; + # llvmSrc = /home/tom/tools/llvm; + + prePatch = '' echo "add_llvm_external_project(cling)" >> tools/CMakeLists.txt + cp -r $clingSrc ./tools/cling chmod -R a+w ./tools/cling + + mkdir ./interpreter + cp -r $llvmSrc ./interpreter/llvm + chmod -R a+w ./interpreter/llvm ''; + patches = [ + # Applied to clang src + ./no-clang-cpp.patch + + # Applied to cling src + ./use-patched-llvm.patch + ]; + nativeBuildInputs = [ python3 git cmake llvmPackages_9.llvm.dev ]; buildInputs = [ libffi llvmPackages_9.llvm zlib ncurses ]; - patches = [ - ./no-clang-cpp.patch - ]; - strictDeps = true; cmakeFlags = [ diff --git a/pkgs/development/interpreters/cling/use-patched-llvm.patch b/pkgs/development/interpreters/cling/use-patched-llvm.patch new file mode 100644 index 000000000000..5f828ae979ad --- /dev/null +++ b/pkgs/development/interpreters/cling/use-patched-llvm.patch @@ -0,0 +1,34 @@ +diff --git a/lib/Interpreter/CMakeLists.txt b/lib/Interpreter/CMakeLists.txt +index 75396717..6a617ab4 100644 +--- a/lib/Interpreter/CMakeLists.txt ++++ b/lib/Interpreter/CMakeLists.txt +@@ -344,3 +344,29 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/cling-compiledata.h + + add_file_dependencies(${CMAKE_CURRENT_SOURCE_DIR}/CIFactory.cpp + ${CMAKE_CURRENT_BINARY_DIR}/cling-compiledata.h) ++ ++# If LLVM is external, but Clang is builtin, we must use some files ++# from patched (builtin) version of LLVM ++if ((NOT builtin_llvm) AND builtin_clang) ++ set(FixInclude "${CMAKE_SOURCE_DIR}/interpreter/llvm/src/include") ++ ++ get_property(P SOURCE IncrementalJIT.cpp PROPERTY INCLUDE_DIRECTORIES) ++ list(INSERT P 0 ${FixInclude}) ++ set_property(SOURCE IncrementalJIT.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") ++ ++ get_property(P SOURCE IncrementalExecutor.cpp PROPERTY INCLUDE_DIRECTORIES) ++ list(INSERT P 0 ${FixInclude}) ++ set_property(SOURCE IncrementalExecutor.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") ++ ++ get_property(P SOURCE Interpreter.cpp PROPERTY INCLUDE_DIRECTORIES) ++ list(INSERT P 0 ${FixInclude}) ++ set_property(SOURCE Interpreter.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") ++ ++ get_property(P SOURCE Transaction.cpp PROPERTY INCLUDE_DIRECTORIES) ++ list(INSERT P 0 ${FixInclude}) ++ set_property(SOURCE Transaction.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") ++ ++ get_property(P SOURCE TransactionUnloader.cpp PROPERTY INCLUDE_DIRECTORIES) ++ list(INSERT P 0 ${FixInclude}) ++ set_property(SOURCE TransactionUnloader.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") ++endif() From d395cc96341901d8be4c3d5a3627e44536198a4f Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Tue, 22 Nov 2022 16:15:29 -0800 Subject: [PATCH 04/87] Tweaking LLVM patch --- .../interpreters/cling/use-patched-llvm.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/interpreters/cling/use-patched-llvm.patch b/pkgs/development/interpreters/cling/use-patched-llvm.patch index 5f828ae979ad..34c3bdb43876 100644 --- a/pkgs/development/interpreters/cling/use-patched-llvm.patch +++ b/pkgs/development/interpreters/cling/use-patched-llvm.patch @@ -1,16 +1,16 @@ -diff --git a/lib/Interpreter/CMakeLists.txt b/lib/Interpreter/CMakeLists.txt +diff --git a/tools/cling/lib/Interpreter/CMakeLists.txt b/tools/cling/lib/Interpreter/CMakeLists.txt index 75396717..6a617ab4 100644 ---- a/lib/Interpreter/CMakeLists.txt -+++ b/lib/Interpreter/CMakeLists.txt +--- a/tools/cling/lib/Interpreter/CMakeLists.txt ++++ b/tools/cling/lib/Interpreter/CMakeLists.txt @@ -344,3 +344,29 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/cling-compiledata.h - + add_file_dependencies(${CMAKE_CURRENT_SOURCE_DIR}/CIFactory.cpp ${CMAKE_CURRENT_BINARY_DIR}/cling-compiledata.h) + +# If LLVM is external, but Clang is builtin, we must use some files +# from patched (builtin) version of LLVM +if ((NOT builtin_llvm) AND builtin_clang) -+ set(FixInclude "${CMAKE_SOURCE_DIR}/interpreter/llvm/src/include") ++ set(FixInclude "${CMAKE_SOURCE_DIR}/interpreter/llvm/include") + + get_property(P SOURCE IncrementalJIT.cpp PROPERTY INCLUDE_DIRECTORIES) + list(INSERT P 0 ${FixInclude}) From d7b1cb48aa8d150f9954a9cce99e95a799b8fd4c Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Tue, 22 Nov 2022 16:21:55 -0800 Subject: [PATCH 05/87] More on cling patch --- .../interpreters/cling/use-patched-llvm.patch | 34 +++++++++---------- 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/pkgs/development/interpreters/cling/use-patched-llvm.patch b/pkgs/development/interpreters/cling/use-patched-llvm.patch index 34c3bdb43876..dc2ee1536997 100644 --- a/pkgs/development/interpreters/cling/use-patched-llvm.patch +++ b/pkgs/development/interpreters/cling/use-patched-llvm.patch @@ -2,33 +2,31 @@ diff --git a/tools/cling/lib/Interpreter/CMakeLists.txt b/tools/cling/lib/Interp index 75396717..6a617ab4 100644 --- a/tools/cling/lib/Interpreter/CMakeLists.txt +++ b/tools/cling/lib/Interpreter/CMakeLists.txt -@@ -344,3 +344,29 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/cling-compiledata.h +@@ -344,3 +344,25 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/cling-compiledata.h add_file_dependencies(${CMAKE_CURRENT_SOURCE_DIR}/CIFactory.cpp ${CMAKE_CURRENT_BINARY_DIR}/cling-compiledata.h) + +# If LLVM is external, but Clang is builtin, we must use some files +# from patched (builtin) version of LLVM -+if ((NOT builtin_llvm) AND builtin_clang) -+ set(FixInclude "${CMAKE_SOURCE_DIR}/interpreter/llvm/include") ++set(FixInclude "${CMAKE_SOURCE_DIR}/interpreter/llvm/include") + -+ get_property(P SOURCE IncrementalJIT.cpp PROPERTY INCLUDE_DIRECTORIES) -+ list(INSERT P 0 ${FixInclude}) -+ set_property(SOURCE IncrementalJIT.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") ++get_property(P SOURCE IncrementalJIT.cpp PROPERTY INCLUDE_DIRECTORIES) ++list(INSERT P 0 ${FixInclude}) ++set_property(SOURCE IncrementalJIT.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") + -+ get_property(P SOURCE IncrementalExecutor.cpp PROPERTY INCLUDE_DIRECTORIES) -+ list(INSERT P 0 ${FixInclude}) -+ set_property(SOURCE IncrementalExecutor.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") ++get_property(P SOURCE IncrementalExecutor.cpp PROPERTY INCLUDE_DIRECTORIES) ++list(INSERT P 0 ${FixInclude}) ++set_property(SOURCE IncrementalExecutor.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") + -+ get_property(P SOURCE Interpreter.cpp PROPERTY INCLUDE_DIRECTORIES) -+ list(INSERT P 0 ${FixInclude}) -+ set_property(SOURCE Interpreter.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") ++get_property(P SOURCE Interpreter.cpp PROPERTY INCLUDE_DIRECTORIES) ++list(INSERT P 0 ${FixInclude}) ++set_property(SOURCE Interpreter.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") + -+ get_property(P SOURCE Transaction.cpp PROPERTY INCLUDE_DIRECTORIES) -+ list(INSERT P 0 ${FixInclude}) -+ set_property(SOURCE Transaction.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") ++get_property(P SOURCE Transaction.cpp PROPERTY INCLUDE_DIRECTORIES) ++list(INSERT P 0 ${FixInclude}) ++set_property(SOURCE Transaction.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") + -+ get_property(P SOURCE TransactionUnloader.cpp PROPERTY INCLUDE_DIRECTORIES) -+ list(INSERT P 0 ${FixInclude}) -+ set_property(SOURCE TransactionUnloader.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") ++get_property(P SOURCE TransactionUnloader.cpp PROPERTY INCLUDE_DIRECTORIES) ++list(INSERT P 0 ${FixInclude}) +endif() From d77f11a719f78a8ab6dd000a640c5cad79d189a5 Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Sat, 15 Apr 2023 02:45:35 -0700 Subject: [PATCH 06/87] Able to build cling 0.9 --- .../interpreters/cling/default.nix | 38 +++++++++---------- .../interpreters/cling/fix-llvm-include.patch | 27 +++++++++++++ .../interpreters/cling/use-patched-llvm.patch | 32 ---------------- 3 files changed, 46 insertions(+), 51 deletions(-) create mode 100644 pkgs/development/interpreters/cling/fix-llvm-include.patch delete mode 100644 pkgs/development/interpreters/cling/use-patched-llvm.patch diff --git a/pkgs/development/interpreters/cling/default.nix b/pkgs/development/interpreters/cling/default.nix index a4f5118db76f..5ef6614af2a9 100644 --- a/pkgs/development/interpreters/cling/default.nix +++ b/pkgs/development/interpreters/cling/default.nix @@ -15,6 +15,14 @@ }: let + # The LLVM 9 headers have a couple bugs we need to patch + fixedLlvmDev = runCommand "llvm-dev-${llvmPackages_9.llvm.version}" { buildInputs = [git]; } '' + cp -r ${llvmPackages_9.llvm.dev} $out + cd $out + chmod -R u+w include + git apply ${./fix-llvm-include.patch} + ''; + unwrapped = stdenv.mkDerivation rec { pname = "cling-unwrapped"; version = "0.9"; @@ -24,7 +32,6 @@ let rev = "cling-v0.9"; sha256 = "sha256-ft1NUIclSiZ9lN3Z3DJCWA0U9q/K1M0TKkZr+PjsFYk="; }; - # src = /home/tom/tools/clang; clingSrc = fetchFromGitHub { owner = "root-project"; @@ -32,40 +39,33 @@ let rev = "v0.9"; sha256 = "0wx3fi19wfjcph5kclf8108i436y79ddwakrcf0lgxnnxhdjyd29"; }; - # clingSrc = /home/tom/tools/cling; - - llvmSrc = fetchgit { - url = "http://root.cern/git/llvm.git"; - rev = "cling-v0.9"; - sha256 = "sha256-jts7DMnXwZF/pzUfWEQeJmj5XlOb51aXn6KExMbmcXg="; - }; - # llvmSrc = /home/tom/tools/llvm; prePatch = '' echo "add_llvm_external_project(cling)" >> tools/CMakeLists.txt cp -r $clingSrc ./tools/cling chmod -R a+w ./tools/cling - - mkdir ./interpreter - cp -r $llvmSrc ./interpreter/llvm - chmod -R a+w ./interpreter/llvm ''; patches = [ # Applied to clang src ./no-clang-cpp.patch - - # Applied to cling src - ./use-patched-llvm.patch ]; - nativeBuildInputs = [ python3 git cmake llvmPackages_9.llvm.dev ]; - buildInputs = [ libffi llvmPackages_9.llvm zlib ncurses ]; + nativeBuildInputs = [ python3 git cmake ]; + buildInputs = [ libffi zlib ncurses ]; strictDeps = true; cmakeFlags = [ + "-DLLVM_BINARY_DIR=${llvmPackages_9.llvm.out}" # llvm_dir + "-DLLVM_CONFIG=${llvmPackages_9.llvm.dev}/bin/llvm-config" # llvm_config_path + "-DLLVM_LIBRARY_DIR=${llvmPackages_9.llvm.lib}/lib" # os.path.join(llvm_dir, 'lib') + "-DLLVM_MAIN_INCLUDE_DIR=${fixedLlvmDev}/include" # os.path.join(llvm_dir, 'include') + "-DLLVM_TABLEGEN_EXE=${llvmPackages_9.llvm.out}/bin/llvm-tblgen" # os.path.join(llvm_dir, 'bin', 'llvm-tblgen') + "-DLLVM_TOOLS_BINARY_DIR=${llvmPackages_9.llvm.out}/bin" # os.path.join(llvm_dir, 'bin') + "-DLLVM_TOOL_CLING_BUILD=ON" + "-DLLVM_TARGETS_TO_BUILD=host;NVPTX" "-DLLVM_ENABLE_RTTI=ON" @@ -101,7 +101,7 @@ let "-nostdinc++" "-isystem" "${lib.getDev stdenv.cc.libc}/include" "-I" "${lib.getDev unwrapped}/include" - "-I" "${lib.getLib unwrapped}/lib/clang/5.0.2/include" + # "-I" "${lib.getLib unwrapped}/lib/clang/5.0.2/include" ]; # Autodetect the include paths for the compiler used to build Cling, in the same way Cling does at diff --git a/pkgs/development/interpreters/cling/fix-llvm-include.patch b/pkgs/development/interpreters/cling/fix-llvm-include.patch new file mode 100644 index 000000000000..801965d02d3a --- /dev/null +++ b/pkgs/development/interpreters/cling/fix-llvm-include.patch @@ -0,0 +1,27 @@ +diff --git a/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h b/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h +index 16202d8..3afdac3 100644 +--- a/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h ++++ b/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h +@@ -220,7 +220,7 @@ public: + Error removeModule(VModuleKey K) { + auto I = ModuleMap.find(K); + assert(I != ModuleMap.end() && "VModuleKey K not valid here"); +- auto EDM = std::move(I.second); ++ auto EDM = std::move(I->second); + ModuleMap.erase(I); + return EDM->removeModuleFromBaseLayer(BaseLayer); + } +diff --git a/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h b/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h +index d9535ce..4c688c3 100644 +--- a/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h ++++ b/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h +@@ -472,7 +472,9 @@ private: + + // NB! `LinkedObjects` needs to be destroyed before `NotifyFreed` because + // `~ConcreteLinkedObject` calls `NotifyFreed` ++protected: + std::map> LinkedObjects; ++private: + bool ProcessAllSections = false; + }; + diff --git a/pkgs/development/interpreters/cling/use-patched-llvm.patch b/pkgs/development/interpreters/cling/use-patched-llvm.patch deleted file mode 100644 index dc2ee1536997..000000000000 --- a/pkgs/development/interpreters/cling/use-patched-llvm.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff --git a/tools/cling/lib/Interpreter/CMakeLists.txt b/tools/cling/lib/Interpreter/CMakeLists.txt -index 75396717..6a617ab4 100644 ---- a/tools/cling/lib/Interpreter/CMakeLists.txt -+++ b/tools/cling/lib/Interpreter/CMakeLists.txt -@@ -344,3 +344,25 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/cling-compiledata.h - - add_file_dependencies(${CMAKE_CURRENT_SOURCE_DIR}/CIFactory.cpp - ${CMAKE_CURRENT_BINARY_DIR}/cling-compiledata.h) -+ -+# If LLVM is external, but Clang is builtin, we must use some files -+# from patched (builtin) version of LLVM -+set(FixInclude "${CMAKE_SOURCE_DIR}/interpreter/llvm/include") -+ -+get_property(P SOURCE IncrementalJIT.cpp PROPERTY INCLUDE_DIRECTORIES) -+list(INSERT P 0 ${FixInclude}) -+set_property(SOURCE IncrementalJIT.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") -+ -+get_property(P SOURCE IncrementalExecutor.cpp PROPERTY INCLUDE_DIRECTORIES) -+list(INSERT P 0 ${FixInclude}) -+set_property(SOURCE IncrementalExecutor.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") -+ -+get_property(P SOURCE Interpreter.cpp PROPERTY INCLUDE_DIRECTORIES) -+list(INSERT P 0 ${FixInclude}) -+set_property(SOURCE Interpreter.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") -+ -+get_property(P SOURCE Transaction.cpp PROPERTY INCLUDE_DIRECTORIES) -+list(INSERT P 0 ${FixInclude}) -+set_property(SOURCE Transaction.cpp PROPERTY INCLUDE_DIRECTORIES "${P}") -+ -+get_property(P SOURCE TransactionUnloader.cpp PROPERTY INCLUDE_DIRECTORIES) -+list(INSERT P 0 ${FixInclude}) -+endif() From fddb69ff3d910a61e091ea8681e509228a29825d Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Sat, 15 Apr 2023 02:48:16 -0700 Subject: [PATCH 07/87] Remove notes and fix clang include in flags --- pkgs/development/interpreters/cling/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/interpreters/cling/default.nix b/pkgs/development/interpreters/cling/default.nix index 5ef6614af2a9..3e394daf5fd8 100644 --- a/pkgs/development/interpreters/cling/default.nix +++ b/pkgs/development/interpreters/cling/default.nix @@ -58,12 +58,12 @@ let strictDeps = true; cmakeFlags = [ - "-DLLVM_BINARY_DIR=${llvmPackages_9.llvm.out}" # llvm_dir - "-DLLVM_CONFIG=${llvmPackages_9.llvm.dev}/bin/llvm-config" # llvm_config_path - "-DLLVM_LIBRARY_DIR=${llvmPackages_9.llvm.lib}/lib" # os.path.join(llvm_dir, 'lib') - "-DLLVM_MAIN_INCLUDE_DIR=${fixedLlvmDev}/include" # os.path.join(llvm_dir, 'include') - "-DLLVM_TABLEGEN_EXE=${llvmPackages_9.llvm.out}/bin/llvm-tblgen" # os.path.join(llvm_dir, 'bin', 'llvm-tblgen') - "-DLLVM_TOOLS_BINARY_DIR=${llvmPackages_9.llvm.out}/bin" # os.path.join(llvm_dir, 'bin') + "-DLLVM_BINARY_DIR=${llvmPackages_9.llvm.out}" + "-DLLVM_CONFIG=${llvmPackages_9.llvm.dev}/bin/llvm-config" + "-DLLVM_LIBRARY_DIR=${llvmPackages_9.llvm.lib}/lib" + "-DLLVM_MAIN_INCLUDE_DIR=${fixedLlvmDev}/include" + "-DLLVM_TABLEGEN_EXE=${llvmPackages_9.llvm.out}/bin/llvm-tblgen" + "-DLLVM_TOOLS_BINARY_DIR=${llvmPackages_9.llvm.out}/bin" "-DLLVM_TOOL_CLING_BUILD=ON" "-DLLVM_TARGETS_TO_BUILD=host;NVPTX" @@ -101,7 +101,7 @@ let "-nostdinc++" "-isystem" "${lib.getDev stdenv.cc.libc}/include" "-I" "${lib.getDev unwrapped}/include" - # "-I" "${lib.getLib unwrapped}/lib/clang/5.0.2/include" + "-I" "${lib.getLib unwrapped}/lib/clang/9.0.1/include" ]; # Autodetect the include paths for the compiler used to build Cling, in the same way Cling does at From 978e32e8b56dec34d26fc13d828e21c6c8fc61f8 Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Sat, 15 Apr 2023 15:57:54 -0700 Subject: [PATCH 08/87] Take only the include dir from llvmPackages_9.llvm.dev --- pkgs/development/interpreters/cling/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/cling/default.nix b/pkgs/development/interpreters/cling/default.nix index 3e394daf5fd8..427f8caa4361 100644 --- a/pkgs/development/interpreters/cling/default.nix +++ b/pkgs/development/interpreters/cling/default.nix @@ -17,7 +17,8 @@ let # The LLVM 9 headers have a couple bugs we need to patch fixedLlvmDev = runCommand "llvm-dev-${llvmPackages_9.llvm.version}" { buildInputs = [git]; } '' - cp -r ${llvmPackages_9.llvm.dev} $out + mkdir $out + cp -r ${llvmPackages_9.llvm.dev}/include $out cd $out chmod -R u+w include git apply ${./fix-llvm-include.patch} From cfb1293342612966c12a4ed5928ef0005fa0e013 Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Sun, 16 Apr 2023 17:52:36 -0700 Subject: [PATCH 09/87] Patch cling/tools/driver/CMakeLists.txt, it works now! --- .../interpreters/cling/default.nix | 4 +++- .../cling/fix-llvm-dylib-usage.patch | 24 +++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/interpreters/cling/fix-llvm-dylib-usage.patch diff --git a/pkgs/development/interpreters/cling/default.nix b/pkgs/development/interpreters/cling/default.nix index 427f8caa4361..b09faa63ef2a 100644 --- a/pkgs/development/interpreters/cling/default.nix +++ b/pkgs/development/interpreters/cling/default.nix @@ -49,8 +49,10 @@ let ''; patches = [ - # Applied to clang src ./no-clang-cpp.patch + + # https://github.com/root-project/root/commit/286d96b12aad8688b9d8e4b3b5df843dcfb716a8 + ./fix-llvm-dylib-usage.patch ]; nativeBuildInputs = [ python3 git cmake ]; diff --git a/pkgs/development/interpreters/cling/fix-llvm-dylib-usage.patch b/pkgs/development/interpreters/cling/fix-llvm-dylib-usage.patch new file mode 100644 index 000000000000..df1fba6b4386 --- /dev/null +++ b/pkgs/development/interpreters/cling/fix-llvm-dylib-usage.patch @@ -0,0 +1,24 @@ +diff --git a/tools/cling/tools/driver/CMakeLists.txt b/tools/cling/tools/driver/CMakeLists.txt +--- a/tools/cling/tools/driver/CMakeLists.txt ++++ b/tools/cling/tools/driver/CMakeLists.txt +@@ -9,10 +9,10 @@ + # Keep symbols for JIT resolution + set(LLVM_NO_DEAD_STRIP 1) + ++set(LLVM_LINK_COMPONENTS support) ++ + if(BUILD_SHARED_LIBS) + set(LIBS +- LLVMSupport +- + clangFrontendTool + + clingInterpreter +@@ -25,8 +25,6 @@ if(BUILD_SHARED_LIBS) + ) + else() + set(LIBS +- LLVMSupport +- + clangASTMatchers + clangFrontendTool From fe00f3f4620b28297667403fe7e11ea9c56138cb Mon Sep 17 00:00:00 2001 From: thomasjm Date: Sun, 16 Apr 2023 23:14:26 -0700 Subject: [PATCH 10/87] Force installation of ClingTargets.cmake --- pkgs/development/interpreters/cling/default.nix | 2 ++ .../cling/force-install-cling-targets.patch | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/development/interpreters/cling/force-install-cling-targets.patch diff --git a/pkgs/development/interpreters/cling/default.nix b/pkgs/development/interpreters/cling/default.nix index b09faa63ef2a..645b8e10e4c7 100644 --- a/pkgs/development/interpreters/cling/default.nix +++ b/pkgs/development/interpreters/cling/default.nix @@ -53,6 +53,8 @@ let # https://github.com/root-project/root/commit/286d96b12aad8688b9d8e4b3b5df843dcfb716a8 ./fix-llvm-dylib-usage.patch + + ./force-install-cling-targets.patch ]; nativeBuildInputs = [ python3 git cmake ]; diff --git a/pkgs/development/interpreters/cling/force-install-cling-targets.patch b/pkgs/development/interpreters/cling/force-install-cling-targets.patch new file mode 100644 index 000000000000..627e2593298e --- /dev/null +++ b/pkgs/development/interpreters/cling/force-install-cling-targets.patch @@ -0,0 +1,16 @@ +diff --git a/tools/cling/cmake/modules/CMakeLists.txt b/tools/cling/cmake/modules/CMakeLists.txt +--- a/tools/cling/cmake/modules/CMakeLists.txt ++++ b/tools/cling/cmake/modules/CMakeLists.txt +@@ -54,10 +54,8 @@ set(CLING_CONFIG_EXPORTS_FILE) + + if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) + get_property(cling_has_exports GLOBAL PROPERTY CLING_HAS_EXPORTS) +- if(cling_has_exports) +- install(EXPORT ClingTargets DESTINATION ${CLING_INSTALL_PACKAGE_DIR} +- COMPONENT cling-cmake-exports) +- endif() ++ install(EXPORT ClingTargets DESTINATION ${CLING_INSTALL_PACKAGE_DIR} ++ COMPONENT cling-cmake-exports) + + install(FILES + ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/ClingConfig.cmake From 616c81c641b1660f23536275b8b23d2e3af37f31 Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Tue, 18 Apr 2023 17:01:10 -0700 Subject: [PATCH 11/87] Include the Jupyter kernel in $out/share/jupyter --- pkgs/development/interpreters/cling/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/interpreters/cling/default.nix b/pkgs/development/interpreters/cling/default.nix index 645b8e10e4c7..c236b0253c4a 100644 --- a/pkgs/development/interpreters/cling/default.nix +++ b/pkgs/development/interpreters/cling/default.nix @@ -81,6 +81,11 @@ let # "--trace-expand" ]; + postInstall = '' + mkdir -p $out/share/Jupyter + cp -r /build/clang/tools/cling/tools/Jupyter/kernel $out/share/Jupyter + ''; + meta = with lib; { description = "The Interactive C++ Interpreter"; homepage = "https://root.cern/cling/"; From f08af5a3d41eeaa2eff918020d543ecb6b7ffcb1 Mon Sep 17 00:00:00 2001 From: K900 Date: Fri, 28 Apr 2023 23:41:09 +0300 Subject: [PATCH 12/87] yuzu: reanimate, clean up, switch to qt6 --- pkgs/applications/emulators/yuzu/default.nix | 85 +++++++---- pkgs/applications/emulators/yuzu/generic.nix | 88 ++++++----- pkgs/applications/emulators/yuzu/sources.nix | 19 +++ pkgs/applications/emulators/yuzu/update.sh | 145 +++++++------------ pkgs/top-level/all-packages.nix | 6 +- 5 files changed, 179 insertions(+), 164 deletions(-) create mode 100644 pkgs/applications/emulators/yuzu/sources.nix diff --git a/pkgs/applications/emulators/yuzu/default.nix b/pkgs/applications/emulators/yuzu/default.nix index 8dae647b89d6..ef9c12703f24 100644 --- a/pkgs/applications/emulators/yuzu/default.nix +++ b/pkgs/applications/emulators/yuzu/default.nix @@ -1,45 +1,68 @@ { branch ? "mainline" -, libsForQt5 +, qt6Packages , fetchFromGitHub +, fetchgit , fetchurl +, fetchzip +, runCommand +, gnutar }: let - # Mirror of https://api.yuzu-emu.org/gamedb, last updated 2022-08-13 - # Please make sure to update this when updating yuzu! + sources = import ./sources.nix; + compat-list = fetchurl { name = "yuzu-compat-list"; - url = "https://raw.githubusercontent.com/flathub/org.yuzu_emu.yuzu/d83401d2ee3fd5e1922e31baed1f3bdb1c0f036c/compatibility_list.json"; - sha256 = "sha256-anOmO7NscHDsQxT03+YbJEyBkXjhcSVGgKpDwt//GHw="; + url = "https://raw.githubusercontent.com/flathub/org.yuzu_emu.yuzu/${sources.compatList.rev}/compatibility_list.json"; + hash = sources.compatList.hash; }; + + mainlineSrc = fetchFromGitHub { + owner = "yuzu-emu"; + repo = "yuzu-mainline"; + rev = "mainline-0-${sources.mainline.version}"; + hash = sources.mainline.hash; + fetchSubmodules = true; + }; + + # The mirror repo for early access builds is missing submodule info, + # but the Windows distributions include a source tarball, which in turn + # includes the full git metadata. So, grab that and rehydrate it. + # This has the unfortunate side effect of requiring two FODs, one + # for the Windows download and one for the full repo with submodules. + eaZip = fetchzip { + name = "yuzu-ea-windows-dist"; + url = "https://github.com/pineappleEA/pineapple-src/releases/download/EA-${sources.ea.version}/Windows-Yuzu-EA-${sources.ea.version}.zip"; + hash = sources.ea.distHash; + }; + + eaGitSrc = runCommand "yuzu-ea-dist-unpacked" { + src = eaZip; + nativeBuildInputs = [ gnutar ]; + } + '' + mkdir $out + tar xf $src/*.tar.xz --directory=$out --strip-components=1 + ''; + + eaSrcRehydrated = fetchgit { + url = eaGitSrc; + fetchSubmodules = true; + hash = sources.ea.fullHash; + }; + in { - mainline = libsForQt5.callPackage ./generic.nix rec { - pname = "yuzu-mainline"; - version = "1245"; - - src = fetchFromGitHub { - owner = "yuzu-emu"; - repo = "yuzu-mainline"; - rev = "mainline-0-${version}"; - sha256 = "sha256-lWXlY1KQC067MvCRUFhmr0c7KDrHDuwJOhIWMKw1f+A="; - fetchSubmodules = true; - }; - - inherit branch compat-list; + mainline = qt6Packages.callPackage ./generic.nix { + branch = "mainline"; + version = sources.mainline.version; + src = mainlineSrc; + inherit compat-list; }; - early-access = libsForQt5.callPackage ./generic.nix rec { - pname = "yuzu-ea"; - version = "2945"; - - src = fetchFromGitHub { - owner = "pineappleEA"; - repo = "pineapple-src"; - rev = "EA-${version}"; - sha256 = "sha256-/051EtQxhB5oKH/JxZZ2AjnxOBcRxCBIwd4Qr8lq7Ok="; - fetchSubmodules = true; - }; - - inherit branch compat-list; + early-access = qt6Packages.callPackage ./generic.nix { + branch = "early-access"; + version = sources.ea.version; + src = eaSrcRehydrated; + inherit compat-list; }; }.${branch} diff --git a/pkgs/applications/emulators/yuzu/generic.nix b/pkgs/applications/emulators/yuzu/generic.nix index 9b9881ad7294..d583928d88ca 100644 --- a/pkgs/applications/emulators/yuzu/generic.nix +++ b/pkgs/applications/emulators/yuzu/generic.nix @@ -1,22 +1,25 @@ -{ pname -, version +{ version , src , branch , compat-list , lib , stdenv -, runCommandLocal -, substituteAll , wrapQtAppsHook , alsa-lib , boost -, catch2 +, catch2_3 , cmake +, cpp-jwt +, cubeb +, discord-rpc , doxygen +, enet , ffmpeg -, fmt_8 +, fmt , glslang +, httplib +, inih , libjack2 , libopus , libpulseaudio @@ -29,7 +32,9 @@ , pkg-config , python3 , qtbase +, qtmultimedia , qttools +, qtwayland , qtwebengine , rapidjson , SDL2 @@ -42,8 +47,10 @@ , zstd }: -stdenv.mkDerivation rec { - inherit pname version src; +stdenv.mkDerivation { + pname = "yuzu-${branch}"; + + inherit version src; nativeBuildInputs = [ cmake @@ -57,49 +64,64 @@ stdenv.mkDerivation rec { buildInputs = [ alsa-lib boost - catch2 + catch2_3 + cpp-jwt + cubeb + discord-rpc + # intentionally omitted: dynarmic - prefer vendored version for compatibility + enet ffmpeg - fmt_8 + fmt glslang + httplib + inih libjack2 libopus libpulseaudio libusb1 libva libzip + # intentionally omitted: LLVM - heavy, only used for stack traces in the debugger lz4 nlohmann_json qtbase + qtmultimedia qttools + qtwayland qtwebengine rapidjson SDL2 sndio speexdsp udev + vulkan-headers + # intentionally omitted: xbyak - prefer vendored version for compatibility zlib zstd ]; - doCheck = true; - # This changes `ir/opt` to `ir/var/empty` in `externals/dynarmic/src/dynarmic/CMakeLists.txt` # making the build fail, as that path does not exist dontFixCmake = true; - # -Werror causes build failures for deprecation warnings introduced by transitive dependency updates - postPatch = '' - sed -i '/-Werror/d' src/common/CMakeLists.txt - ''; - cmakeFlags = [ - "-DYUZU_USE_BUNDLED_QT=OFF" - "-DYUZU_USE_BUNDLED_FFMPEG=OFF" - "-DYUZU_USE_BUNDLED_OPUS=OFF" - "-DYUZU_USE_EXTERNAL_SDL2=OFF" + # actually has a noticeable performance impact + "-DYUZU_ENABLE_LTO=ON" + # build with qt6 + "-DENABLE_QT6=ON" "-DENABLE_QT_TRANSLATION=ON" + + # use system libraries + "-DYUZU_USE_EXTERNAL_SDL2=OFF" + "-DYUZU_USE_EXTERNAL_VULKAN_HEADERS=OFF" + + # don't check for missing submodules + "-DYUZU_CHECK_SUBMODULES=OFF" + + # enable some optional features "-DYUZU_USE_QT_WEB_ENGINE=ON" + "-DYUZU_USE_QT_MULTIMEDIA=ON" "-DUSE_DISCORD_PRESENCE=ON" # We dont want to bother upstream with potentially outdated compat reports @@ -107,21 +129,17 @@ stdenv.mkDerivation rec { "-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=OFF" # We provide this deterministically ]; + # Fixes vulkan detection. + # FIXME: patchelf --add-rpath corrupts the binary for some reason, investigate qtWrapperArgs = [ - # Fixes vulkan detection "--prefix LD_LIBRARY_PATH : ${vulkan-loader}/lib" - # Without yuzu doesnt start on wayland. See https://github.com/yuzu-emu/yuzu/issues/6088 - "--set QT_QPA_PLATFORM xcb" ]; preConfigure = '' - # This prevents a check for submodule directories. - rm -f .gitmodules - # see https://github.com/NixOS/nixpkgs/issues/114044, setting this through cmakeFlags does not work. cmakeFlagsArray+=( - "-DTITLE_BAR_FORMAT_IDLE=yuzu ${branch} ${version}" - "-DTITLE_BAR_FORMAT_RUNNING=yuzu ${branch} ${version} | {3}" + "-DTITLE_BAR_FORMAT_IDLE=yuzu | ${branch} ${version} (nixpkgs) {}" + "-DTITLE_BAR_FORMAT_RUNNING=yuzu | ${branch} ${version} (nixpkgs) | {}" ) ''; @@ -130,12 +148,7 @@ stdenv.mkDerivation rec { ln -sf ${compat-list} ./dist/compatibility_list/compatibility_list.json ''; - passthru.updateScript = runCommandLocal "yuzu-${branch}-updateScript" { - script = substituteAll { - src = ./update.sh; - inherit branch; - }; - } "install -Dm755 $script $out"; + passthru.updateScript = ./update.sh; meta = with lib; { homepage = "https://yuzu-emu.org"; @@ -143,8 +156,8 @@ stdenv.mkDerivation rec { description = "The ${branch} branch of an experimental Nintendo Switch emulator written in C++"; longDescription = '' An experimental Nintendo Switch emulator written in C++. - Using the mainline branch is recommanded for general usage. - Using the early-access branch is recommanded if you would like to try out experimental features, with a cost of stability. + Using the mainline branch is recommended for general usage. + Using the early-access branch is recommended if you would like to try out experimental features, with a cost of stability. ''; mainProgram = "yuzu"; platforms = [ "x86_64-linux" ]; @@ -158,6 +171,7 @@ stdenv.mkDerivation rec { ivar joshuafern sbruder + k900 ]; }; } diff --git a/pkgs/applications/emulators/yuzu/sources.nix b/pkgs/applications/emulators/yuzu/sources.nix new file mode 100644 index 000000000000..71f7011c41c7 --- /dev/null +++ b/pkgs/applications/emulators/yuzu/sources.nix @@ -0,0 +1,19 @@ +# Generated by ./update.sh - do not update manually! +# Last updated: 2023-05-05 +{ + compatList = { + rev = "773d28cbc699427c8baa427452d7b229920eec59"; + hash = "sha256:1hdsza3wf9a0yvj6h55gsl7xqvhafvbz1i8paz9kg7l49b0gnlh1"; + }; + + mainline = { + version = "1421"; + hash = "sha256:1ldxframs7a8rmna9ymyx20n89594q0d1266kr7ah8yvh1gp04r3"; + }; + + ea = { + version = "3557"; + distHash = "sha256:0bddx5d88cfaaqbzr59w9kqjjsf9xvgvdn1g0l9w3ifr9zc2vlwr"; + fullHash = "sha256:0w1ji3a8iridh4dpyal8lscgwddf9pwz1pfigksmvbn8mm9d9xwl"; + }; +} diff --git a/pkgs/applications/emulators/yuzu/update.sh b/pkgs/applications/emulators/yuzu/update.sh index 7234adf977bb..0fcb52417351 100755 --- a/pkgs/applications/emulators/yuzu/update.sh +++ b/pkgs/applications/emulators/yuzu/update.sh @@ -1,105 +1,66 @@ #! /usr/bin/env nix-shell -#! nix-shell -I nixpkgs=./. -i bash -p nix nix-prefetch-git coreutils curl jq gnused +#! nix-shell -i bash -p nix nix-prefetch-git gnutar curl jq set -euo pipefail -# Will be replaced with the actual branch when running this from passthru.updateScript -BRANCH="@branch@" -DEFAULT_NIX="$(dirname "${BASH_SOURCE[@]}")/default.nix" +cd "$(dirname "$(readlink -f "$0")")" -if [[ "$(basename "$PWD")" = "yuzu" ]]; then - echo "error: Script must be ran from nixpkgs's root directory for compatibility with the maintainer script" - exit 1 -fi - -updateBranch() { - local branch attribute oldVersion oldHash newVersion newHash - branch="$1" - attribute="yuzu-$branch" - [[ "$branch" = "early-access" ]] && attribute="yuzu-ea" # Attribute path doesnt match the branch name - oldVersion="$(nix eval --raw -f "./default.nix" "$attribute".version)" - oldHash="$(nix eval --raw -f "./default.nix" "$attribute".src.drvAttrs.outputHash)" - - if [[ "$branch" = "mainline" ]]; then - newVersion="$(curl -s ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} "https://api.github.com/repos/yuzu-emu/yuzu-mainline/releases?per_page=1" \ - | jq -r '.[0].name' | cut -d" " -f2)" - elif [[ "$branch" = "early-access" ]]; then - newVersion="$(curl -s ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} "https://api.github.com/repos/pineappleEA/pineapple-src/releases?per_page=2" \ - | jq -r '.[].tag_name' | grep '^EA-[0-9]*' | head -n1 | cut -d"-" -f2 | cut -d" " -f1)" - fi - - if [[ "${oldVersion}" = "${newVersion}" ]]; then - echo "$attribute is already up to date." - return - else - echo "$attribute: ${oldVersion} -> ${newVersion}" - fi - - echo " fetching source code to generate hash..." - if [[ "$branch" = "mainline" ]]; then - newHash="$(nix-prefetch-git --quiet --fetch-submodules --rev "mainline-0-${newVersion}" "https://github.com/yuzu-emu/yuzu-mainline" | jq -r '.sha256')" - elif [[ "$branch" = "early-access" ]]; then - newHash="$(nix-prefetch-git --quiet --fetch-submodules --rev "EA-${newVersion}" "https://github.com/pineappleEA/pineapple-src" | jq -r '.sha256')" - fi - newHash="$(nix hash to-sri --type sha256 "${newHash}")" - - sed -i "s,${oldVersion},${newVersion}," "$DEFAULT_NIX" - sed -i "s,${oldHash},${newHash},g" "$DEFAULT_NIX" - echo " successfully updated $attribute. new hash: $newHash" +log() { + tput bold + echo "#" "$@" + tput sgr0 } -updateCompatibilityList() { - local latestRevision oldUrl newUrl oldHash newHash oldDate newDate - latestRevision="$(curl -s ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} "https://api.github.com/repos/flathub/org.yuzu_emu.yuzu/commits/master" | jq -r '.sha')" +alias curl='curl -s ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"}' - oldUrl="$(sed -n '/yuzu-compat-list/,/url/p' "$DEFAULT_NIX" | tail -n1 | cut -d'"' -f2)" - newUrl="https://raw.githubusercontent.com/flathub/org.yuzu_emu.yuzu/${latestRevision}/compatibility_list.json" +log "Updating compatibility list..." +compatListRev="$(curl "https://api.github.com/repos/flathub/org.yuzu_emu.yuzu/commits/master" | jq -r '.sha')" - oldDate="$(sed -n '/last updated.*/p' "$DEFAULT_NIX" | rev | cut -d' ' -f1 | rev)" - newDate="$(curl -s ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} "https://api.github.com/repos/flathub/org.yuzu_emu.yuzu/commits/${latestRevision}" \ - | jq -r '.commit.committer.date' | cut -d'T' -f1)" +log "Downloading rev: ${compatListRev}" +compatListHash="$(nix-prefetch-url "https://raw.githubusercontent.com/flathub/org.yuzu_emu.yuzu/${compatListRev}/compatibility_list.json")" - oldHash="$(sed -n '/yuzu-compat-list/,/sha256/p' "$DEFAULT_NIX" | tail -n1 | cut -d'"' -f2)" - newHash="$(nix hash to-sri --type sha256 "$(nix-prefetch-url --quiet "$newUrl")")" +log "Updating mainline..." +mainlineVersion="$(curl "https://api.github.com/repos/yuzu-emu/yuzu-mainline/releases?per_page=1" | jq -r '.[0].name' | cut -d" " -f2)" - if [[ "$oldHash" = "$newHash" ]]; then - echo "compatibility_list is already up to date." - return - else - echo "compatibility_list: $oldDate -> $newDate" - fi +log "Downloading version: ${mainlineVersion}" +mainlineHash="$(nix-prefetch-git --fetch-submodules --rev "mainline-0-${mainlineVersion}" "https://github.com/yuzu-emu/yuzu-mainline" | jq -r '.sha256')" - sed -i "s,${oldUrl},${newUrl},g" "$DEFAULT_NIX" - sed -i "s,${oldHash},${newHash},g" "$DEFAULT_NIX" - sed -i "s,${oldDate},${newDate},g" "$DEFAULT_NIX" - echo " successfully updated compatibility_list. new hash: $newHash" +log "Updating early access..." +eaVersion="$(curl "https://api.github.com/repos/pineappleEA/pineapple-src/releases?per_page=1" | jq -r '.[0].tag_name' | cut -d"-" -f2)" + +log "Downloading dist version: ${eaVersion}" +fetched="$(nix-prefetch-url --unpack --print-path "https://github.com/pineappleEA/pineapple-src/releases/download/EA-${eaVersion}/Windows-Yuzu-EA-${eaVersion}.zip")" + +eaDistHash="$(echo "${fetched}" | head -n1)" +eaDist="$(echo "${fetched}" | tail -n1)" + +eaDistUnpacked="$(mktemp -d)" +trap 'rm -rf "$eaDistUnpacked"' EXIT + +log "Unpacking dist..." +tar xf "$eaDist"/*.tar.xz --directory="$eaDistUnpacked" --strip-components=1 + +log "Rehydrating..." +eaFullHash="$(nix-prefetch-git --fetch-submodules "$eaDistUnpacked" | jq -r '.sha256')" + +cat >sources.nix < 0 )); do - case "$1" in - mainline|yuzu-mainline) - updateBranch "mainline" - ;; - early-access|yuzu-early-access|ea|yuzu-ea) - updateBranch "early-access" - ;; - *) - echo "error: invalid branch: $1." - echo "usage: $(basename "$0") [mainline|early-access]" - exit 1 - ;; - esac - shift - done - - updateCompatibilityList -fi +EOF diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 19385f82f644..0d0424ff0605 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2450,14 +2450,12 @@ with pkgs; ### APPLICATIONS/EMULATORS/YUZU - yuzu-mainline = import ../applications/emulators/yuzu { + yuzu-mainline = qt6Packages.callPackage ../applications/emulators/yuzu { branch = "mainline"; - inherit libsForQt5 fetchFromGitHub fetchurl; }; - yuzu-early-access = import ../applications/emulators/yuzu { + yuzu-early-access = qt6Packages.callPackage ../applications/emulators/yuzu { branch = "early-access"; - inherit libsForQt5 fetchFromGitHub fetchurl; }; ### APPLICATIONS/EMULATORS/COMMANDERX16 From a661787068b4beb95ba9ffcc4096dadfcf02c02d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 May 2023 00:11:56 +0000 Subject: [PATCH 13/87] btrfs-progs: 6.2.2 -> 6.3 --- pkgs/tools/filesystems/btrfs-progs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/filesystems/btrfs-progs/default.nix b/pkgs/tools/filesystems/btrfs-progs/default.nix index 9636920c27a7..08408d677f45 100644 --- a/pkgs/tools/filesystems/btrfs-progs/default.nix +++ b/pkgs/tools/filesystems/btrfs-progs/default.nix @@ -9,11 +9,11 @@ stdenv.mkDerivation rec { pname = "btrfs-progs"; - version = "6.2.2"; + version = "6.3"; src = fetchurl { url = "mirror://kernel/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${version}.tar.xz"; - sha256 = "sha256-5IiNuGN9kuZnRIOGmS0IVrlUzyUVuY05tmfaQ8SC1pM="; + sha256 = "sha256-QKC9/3h+y0kOVTPbzv1IUhdtrxKq5aEVggPbQ9itan0="; }; nativeBuildInputs = [ From a740532ae5501f06f7fdd7fdf2688414f65ffec0 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Mon, 8 May 2023 15:46:58 +0100 Subject: [PATCH 14/87] spark: 3.2.2 -> 3.4.0 --- pkgs/applications/networking/cluster/spark/default.nix | 8 +++++++- pkgs/top-level/all-packages.nix | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/spark/default.nix b/pkgs/applications/networking/cluster/spark/default.nix index 3312f957023a..7c51716f44b1 100644 --- a/pkgs/applications/networking/cluster/spark/default.nix +++ b/pkgs/applications/networking/cluster/spark/default.nix @@ -31,7 +31,8 @@ let mkdir -p $out/{lib/${untarDir}/conf,bin,/share/java} mv * $out/lib/${untarDir} - cp $out/lib/${untarDir}/conf/log4j.properties{.template,} + cp $out/lib/${untarDir}/conf/log4j.properties{.template,} || \ + cp $out/lib/${untarDir}/conf/log4j2.properties{.template,} cat > $out/lib/${untarDir}/conf/spark-env.sh <<- EOF export JAVA_HOME="${jdk}" @@ -70,6 +71,11 @@ let }; in { + spark_3_4 = spark rec { + pname = "spark"; + version = "3.4.0"; + sha256 = "sha256-0y80dRYzb6Ceu6MlGQHtpMdzOob/TBg6kf8dtF6KyCk="; + }; spark_3_2 = spark rec { pname = "spark"; version = "3.2.2"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9f1eab70884f..90d66957aee9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17172,10 +17172,11 @@ with pkgs; smiley-sans = callPackage ../data/fonts/smiley-sans { }; inherit (callPackages ../applications/networking/cluster/spark { }) + spark_3_4 spark_3_2 spark_3_1 spark_2_4; - spark3 = spark_3_2; + spark3 = spark_3_4; spark2 = spark_2_4; spark = spark3; From 4a348ef47ea60856351c70c349a964a58d3ac644 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Mon, 8 May 2023 17:49:15 +0100 Subject: [PATCH 15/87] spark_2_4, spark_3_1, spark_3_2, spark2: remove --- .../networking/cluster/spark/default.nix | 16 ---------------- pkgs/top-level/aliases.nix | 4 ++++ pkgs/top-level/all-packages.nix | 6 +----- 3 files changed, 5 insertions(+), 21 deletions(-) diff --git a/pkgs/applications/networking/cluster/spark/default.nix b/pkgs/applications/networking/cluster/spark/default.nix index 7c51716f44b1..1b4c65c0b245 100644 --- a/pkgs/applications/networking/cluster/spark/default.nix +++ b/pkgs/applications/networking/cluster/spark/default.nix @@ -76,20 +76,4 @@ in version = "3.4.0"; sha256 = "sha256-0y80dRYzb6Ceu6MlGQHtpMdzOob/TBg6kf8dtF6KyCk="; }; - spark_3_2 = spark rec { - pname = "spark"; - version = "3.2.2"; - sha256 = "sha256-yKoTyD/IqvsJQs0jB67h1zqwYaLuikdoa5fYIXtvhz0="; - }; - spark_3_1 = spark rec { - pname = "spark"; - version = "3.1.3"; - sha256 = "sha256-RIQyN5YjxFLfNIrETR3Vv99zsHxt77rhOXHIThCI2Y8="; - }; - spark_2_4 = spark rec { - pname = "spark"; - version = "2.4.8"; - sha256 = "1mkyq0gz9fiav25vr0dba5ivp0wh0mh7kswwnx8pvsmb6wbwyfxv"; - extraMeta.knownVulnerabilities = [ "CVE-2021-38296" ]; - }; } diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index e0f4e7ae2455..7c72824ee4b9 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1514,6 +1514,10 @@ mapAliases ({ soldat-unstable = opensoldat; # Added 2022-07-02 solr_8 = throw "'solr' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2023-03-16 solr = throw "'solr' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2023-03-16 + spark2 = throw "'spark2' is no longer supported nixpkgs, please use 'spark'"; # Added 2023-05-08 + spark_2_4 = throw "'spark_2_4' is no longer supported nixpkgs, please use 'spark'"; # Added 2023-05-08 + spark_3_1 = throw "'spark_3_1' is no longer supported nixpkgs, please use 'spark'"; # Added 2023-05-08 + spark_3_2 = throw "'spark_3_2' is no longer supported nixpkgs, please use 'spark'"; # Added 2023-05-08 # Added 2020-02-10 sourceHanSansPackages = { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 90d66957aee9..5c39c9a9b424 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17172,12 +17172,8 @@ with pkgs; smiley-sans = callPackage ../data/fonts/smiley-sans { }; inherit (callPackages ../applications/networking/cluster/spark { }) - spark_3_4 - spark_3_2 - spark_3_1 - spark_2_4; + spark_3_4; spark3 = spark_3_4; - spark2 = spark_2_4; spark = spark3; sparkleshare = callPackage ../applications/version-management/sparkleshare { }; From f3e0d0af869dae9767e5ea93119e91f27f06759a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 9 May 2023 02:21:23 +0000 Subject: [PATCH 16/87] benthos: 4.14.0 -> 4.15.0 --- pkgs/development/tools/benthos/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/benthos/default.nix b/pkgs/development/tools/benthos/default.nix index 8570d716543b..3f5903e173ad 100644 --- a/pkgs/development/tools/benthos/default.nix +++ b/pkgs/development/tools/benthos/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "benthos"; - version = "4.14.0"; + version = "4.15.0"; src = fetchFromGitHub { owner = "benthosdev"; repo = "benthos"; rev = "refs/tags/v${version}"; - hash = "sha256-i+B5SfIfaAkZNKftD5iMObsRostwDThu+C1gEAir4Sc="; + hash = "sha256-RqfTDE4dcVUegiaHsJMm9z9WV2dxFpgT/5LlM5105Oc="; }; - vendorHash = "sha256-mRT/23ieJbN5EjcMH1J9E/zYaiUb0TCRkp7PGlMV4jA="; + vendorHash = "sha256-jfRmzCrw0qZJqt9tHkr/FmLWEAc911Z1hmk+nc6Lyb4="; doCheck = false; From 5337648a1cb34f55adc84d0d43558552159e2ef3 Mon Sep 17 00:00:00 2001 From: Dan Callaghan Date: Tue, 28 Mar 2023 13:02:26 +1100 Subject: [PATCH 17/87] openocd: use packaged libjaylink and jimtcl instead of bundled copies --- pkgs/development/embedded/openocd/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/embedded/openocd/default.nix b/pkgs/development/embedded/openocd/default.nix index 31e1a1cc3b28..204d5794a304 100644 --- a/pkgs/development/embedded/openocd/default.nix +++ b/pkgs/development/embedded/openocd/default.nix @@ -3,6 +3,8 @@ , fetchurl , pkg-config , hidapi +, jimtcl +, libjaylink , libusb1 , libgpiod @@ -22,11 +24,13 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config ]; - buildInputs = [ hidapi libftdi1 libusb1 ] + buildInputs = [ hidapi jimtcl libftdi1 libjaylink libusb1 ] ++ lib.optional stdenv.isLinux libgpiod; configureFlags = [ "--disable-werror" + "--disable-internal-jimtcl" + "--disable-internal-libjaylink" "--enable-jtag_vpi" "--enable-buspirate" "--enable-remote-bitbang" From 10926ac11988efaf423b0361a2499fd7d9084c3f Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Tue, 9 May 2023 04:00:43 -0600 Subject: [PATCH 18/87] Disable jupyter kernel installation on darwin --- pkgs/development/interpreters/cling/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/cling/default.nix b/pkgs/development/interpreters/cling/default.nix index c236b0253c4a..6a2fa5ea50da 100644 --- a/pkgs/development/interpreters/cling/default.nix +++ b/pkgs/development/interpreters/cling/default.nix @@ -81,7 +81,7 @@ let # "--trace-expand" ]; - postInstall = '' + postInstall = lib.optionalString (!stdenv.isDarwin) '' mkdir -p $out/share/Jupyter cp -r /build/clang/tools/cling/tools/Jupyter/kernel $out/share/Jupyter ''; From 5be2399cf5a7b1041eefcc3e20505f39946bdf64 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 9 May 2023 13:27:05 +0300 Subject: [PATCH 19/87] treewide: remove explicit gcc12Stdenv --- pkgs/applications/editors/imhex/default.nix | 4 ++-- pkgs/applications/emulators/rpcs3/default.nix | 4 ++-- pkgs/development/libraries/qcoro/default.nix | 7 +++---- pkgs/top-level/all-packages.nix | 9 ++------- 4 files changed, 9 insertions(+), 15 deletions(-) diff --git a/pkgs/applications/editors/imhex/default.nix b/pkgs/applications/editors/imhex/default.nix index 810bd12cd20d..4d966a26fd82 100644 --- a/pkgs/applications/editors/imhex/default.nix +++ b/pkgs/applications/editors/imhex/default.nix @@ -1,5 +1,5 @@ { lib -, gcc12Stdenv +, stdenv , cmake , llvm , fetchFromGitHub @@ -32,7 +32,7 @@ let }; in -gcc12Stdenv.mkDerivation rec { +stdenv.mkDerivation rec { pname = "imhex"; inherit version; diff --git a/pkgs/applications/emulators/rpcs3/default.nix b/pkgs/applications/emulators/rpcs3/default.nix index 6d62db43949e..45c5bc642ae2 100644 --- a/pkgs/applications/emulators/rpcs3/default.nix +++ b/pkgs/applications/emulators/rpcs3/default.nix @@ -1,4 +1,4 @@ -{ gcc12Stdenv, lib, fetchFromGitHub, wrapQtAppsHook, cmake, pkg-config, git +{ lib, stdenv, fetchFromGitHub, wrapQtAppsHook, cmake, pkg-config, git , qtbase, qtquickcontrols, qtmultimedia, openal, glew, vulkan-headers, vulkan-loader, libpng , ffmpeg, libevdev, libusb1, zlib, curl, wolfssl, python3, pugixml, faudio, flatbuffers , sdl2Support ? true, SDL2 @@ -21,7 +21,7 @@ let sha256 = "0c3g30rj1y8fbd2q4kwlpg1jdy02z4w5ryhj3yr9051pdnf4kndz"; }; in -gcc12Stdenv.mkDerivation { +stdenv.mkDerivation { pname = "rpcs3"; version = rpcs3Version; diff --git a/pkgs/development/libraries/qcoro/default.nix b/pkgs/development/libraries/qcoro/default.nix index 2de82f9c0c88..96cf2cd6fc8e 100644 --- a/pkgs/development/libraries/qcoro/default.nix +++ b/pkgs/development/libraries/qcoro/default.nix @@ -1,6 +1,5 @@ -{ stdenv -, gcc12Stdenv -, lib +{ lib +, stdenv , fetchFromGitHub , cmake , libpthreadstubs @@ -9,7 +8,7 @@ , wrapQtAppsHook }: -gcc12Stdenv.mkDerivation rec { +stdenv.mkDerivation rec { pname = "qcoro"; version = "0.9.0"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 218711f3c596..569af37c464d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5117,7 +5117,6 @@ with pkgs; cairo = cairo.override { xcbSupport = true; }; }; hyprland = callPackage ../applications/window-managers/hyprwm/hyprland { - stdenv = gcc12Stdenv; wlroots = pkgs.callPackage ../applications/window-managers/hyprwm/hyprland/wlroots.nix { }; udis86 = pkgs.callPackage ../applications/window-managers/hyprwm/hyprland/udis86.nix { }; }; @@ -5126,9 +5125,7 @@ with pkgs; hyprland-share-picker = libsForQt5.callPackage ../applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/hyprland-share-picker.nix { }; - hyprpaper = callPackage ../applications/window-managers/hyprwm/hyprpaper { - stdenv = gcc12Stdenv; - }; + hyprpaper = callPackage ../applications/window-managers/hyprwm/hyprpaper { }; hyprpicker = callPackage ../applications/window-managers/hyprwm/hyprpicker { }; @@ -21185,9 +21182,7 @@ with pkgs; lmdbxx = callPackage ../development/libraries/lmdbxx { }; - lemon-graph = callPackage ../development/libraries/lemon-graph { - stdenv = if stdenv.isLinux then gcc12Stdenv else stdenv; - }; + lemon-graph = callPackage ../development/libraries/lemon-graph { }; levmar = callPackage ../development/libraries/levmar { }; From f5252cb7e09c0f2dee36367c9e509f45d27b09f7 Mon Sep 17 00:00:00 2001 From: Alexandre Acebedo Date: Mon, 8 May 2023 19:56:21 +0200 Subject: [PATCH 20/87] linux: fix 6.4-rc1 build --- pkgs/os-specific/linux/kernel/common-config.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index e6eff416a770..f1cba771ed1b 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -314,8 +314,8 @@ let DRM_AMD_DC_DCN2_0 = whenBetween "5.3" "5.6" yes; DRM_AMD_DC_DCN2_1 = whenBetween "5.4" "5.6" yes; DRM_AMD_DC_DCN3_0 = whenBetween "5.9" "5.11" yes; - DRM_AMD_DC_DCN = whenAtLeast "5.11" yes; - DRM_AMD_DC_HDCP = whenAtLeast "5.5" yes; + DRM_AMD_DC_DCN = whenBetween "5.11" "6.4" yes; + DRM_AMD_DC_HDCP = whenBetween "5.5" "6.4" yes; DRM_AMD_DC_SI = whenAtLeast "5.10" yes; } // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux") { # Intel GVT-g graphics virtualization supports 64-bit only From 06dcb2cd9ed65177ea5244d009fbb259dc776341 Mon Sep 17 00:00:00 2001 From: Antoine Labarussias Date: Tue, 9 May 2023 15:55:18 +0200 Subject: [PATCH 21/87] python3packages.ruyaml: fix tests --- pkgs/development/python-modules/ruyaml/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/ruyaml/default.nix b/pkgs/development/python-modules/ruyaml/default.nix index 3ddede9d8c5a..8779325d9b23 100644 --- a/pkgs/development/python-modules/ruyaml/default.nix +++ b/pkgs/development/python-modules/ruyaml/default.nix @@ -37,6 +37,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "-W" "ignore::DeprecationWarning" + ]; + pythonImportsCheck = [ "ruyaml" ]; From 5a9877a9bc25dac92931506f0856f09568f60862 Mon Sep 17 00:00:00 2001 From: K900 Date: Tue, 9 May 2023 19:07:53 +0300 Subject: [PATCH 22/87] plasma: 5.27.4 -> 5.27.5 --- pkgs/desktops/plasma-5/fetch.sh | 2 +- pkgs/desktops/plasma-5/srcs.nix | 472 ++++++++++++++++---------------- 2 files changed, 237 insertions(+), 237 deletions(-) diff --git a/pkgs/desktops/plasma-5/fetch.sh b/pkgs/desktops/plasma-5/fetch.sh index df8ab23740ad..2b34c52d6124 100644 --- a/pkgs/desktops/plasma-5/fetch.sh +++ b/pkgs/desktops/plasma-5/fetch.sh @@ -1 +1 @@ -WGET_ARGS=( https://download.kde.org/stable/plasma/5.27.4/ -A '*.tar.xz' ) +WGET_ARGS=( https://download.kde.org/stable/plasma/5.27.5/ -A '*.tar.xz' ) diff --git a/pkgs/desktops/plasma-5/srcs.nix b/pkgs/desktops/plasma-5/srcs.nix index 22cc1b4dcd58..75538e1ae5c1 100644 --- a/pkgs/desktops/plasma-5/srcs.nix +++ b/pkgs/desktops/plasma-5/srcs.nix @@ -4,475 +4,475 @@ { aura-browser = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/aura-browser-5.27.4.tar.xz"; - sha256 = "0m69p3pnb4kwpibqi8p4kg15sd47298hbhxgkj6ijpbd0422p4c9"; - name = "aura-browser-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/aura-browser-5.27.5.tar.xz"; + sha256 = "0vqw9kxskx3d6wfgrfbhrsw2vy71zr3cwhmfk7qj4vfpmilmsvy5"; + name = "aura-browser-5.27.5.tar.xz"; }; }; bluedevil = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/bluedevil-5.27.4.tar.xz"; - sha256 = "18wnr31rdpk70g7l3ig03kw99ss6qkfjmhqysrkyd6m1dpsp260h"; - name = "bluedevil-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/bluedevil-5.27.5.tar.xz"; + sha256 = "1vadllkv4fjjwqb30jyawi56jflslw5nc391r0bixg55cpk5llv1"; + name = "bluedevil-5.27.5.tar.xz"; }; }; breeze = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/breeze-5.27.4.tar.xz"; - sha256 = "008rdgyn10wdm393hgxvshfcqrxg6y5yr6xi0nzj4y0cd6yhxn32"; - name = "breeze-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/breeze-5.27.5.tar.xz"; + sha256 = "0s68zr21wniqsdkb14lzqz0hj7hb4mbvcwrq7sf8yxf0z1ds7n3h"; + name = "breeze-5.27.5.tar.xz"; }; }; breeze-grub = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/breeze-grub-5.27.4.tar.xz"; - sha256 = "0ymivw0pwia1vbf45pr04f825r8w6gsgn450s5x35144vg6lqkqb"; - name = "breeze-grub-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/breeze-grub-5.27.5.tar.xz"; + sha256 = "0kkrsda7ml3cbvfxb0ng3np1bk61fnl1jndk3c13lyi0jj97na7f"; + name = "breeze-grub-5.27.5.tar.xz"; }; }; breeze-gtk = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/breeze-gtk-5.27.4.tar.xz"; - sha256 = "17wr4ri1jxsfx8pcm41mp0fsszlf6wi80gxlkixghrc04p6pv5nb"; - name = "breeze-gtk-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/breeze-gtk-5.27.5.tar.xz"; + sha256 = "0s69alp490yhm2v42vkngz99ji4b10n6fd36ybf72m6nnkd6v5f4"; + name = "breeze-gtk-5.27.5.tar.xz"; }; }; breeze-plymouth = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/breeze-plymouth-5.27.4.tar.xz"; - sha256 = "1fzidj0dqmr5baphffr5fyxww7v6bigfvbj1hndhk5silm28krkv"; - name = "breeze-plymouth-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/breeze-plymouth-5.27.5.tar.xz"; + sha256 = "0k014dvx2sw4hd63n74vjglg8dgyjjlvipxhb5cfp44x7ch52wii"; + name = "breeze-plymouth-5.27.5.tar.xz"; }; }; discover = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/discover-5.27.4.tar.xz"; - sha256 = "0rpr0c87nlm3fanv5fxs930rp5mrw357cfar6d81mwacmp86d7yw"; - name = "discover-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/discover-5.27.5.tar.xz"; + sha256 = "06xk780a60f4a1n2052q1wxydjvvb8nlw9r2cj7x4rg02s57hpvq"; + name = "discover-5.27.5.tar.xz"; }; }; drkonqi = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/drkonqi-5.27.4.tar.xz"; - sha256 = "1lcidwcsm216acr6ybhyma64gl37n1pn7y8ilkh2iilwm1fwwfnn"; - name = "drkonqi-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/drkonqi-5.27.5.tar.xz"; + sha256 = "0mmcp5fzlygcchv5v10mn39iqfxjxig9x8h74n3hq0rw7arax3a4"; + name = "drkonqi-5.27.5.tar.xz"; }; }; flatpak-kcm = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/flatpak-kcm-5.27.4.tar.xz"; - sha256 = "0i917li4cm8p0qq28m4jfasy5lph58spf9bfsbp3ka1x7i25cqdd"; - name = "flatpak-kcm-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/flatpak-kcm-5.27.5.tar.xz"; + sha256 = "16ms8l7cncbmll808mb0hfjsfjpg1m3f1j38y9zh1hal0rw42xbv"; + name = "flatpak-kcm-5.27.5.tar.xz"; }; }; kactivitymanagerd = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/kactivitymanagerd-5.27.4.tar.xz"; - sha256 = "0wnsj5mbzjc3bylzyhgj8bw0qsf5c9jcyxmfr0h7w4hj414zvqfr"; - name = "kactivitymanagerd-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/kactivitymanagerd-5.27.5.tar.xz"; + sha256 = "06dn0cnspp2qsjxa10vz81vrhhb6przr9lcfyia4gi65gdrg82d2"; + name = "kactivitymanagerd-5.27.5.tar.xz"; }; }; kde-cli-tools = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/kde-cli-tools-5.27.4.tar.xz"; - sha256 = "06dl811mwssjylgkn74wjhxi98q1qacf5c2m0jfyny7hbphgv565"; - name = "kde-cli-tools-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/kde-cli-tools-5.27.5.tar.xz"; + sha256 = "0rzggjsly44wxpsqqxylnzw2n3sf7s1584rf1qp1040jf0vmcx7d"; + name = "kde-cli-tools-5.27.5.tar.xz"; }; }; kde-gtk-config = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/kde-gtk-config-5.27.4.tar.xz"; - sha256 = "1qi0cbx9yilbxs19nbh8iplj5hi19mllk63ldyah2vn5bgwavxcq"; - name = "kde-gtk-config-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/kde-gtk-config-5.27.5.tar.xz"; + sha256 = "0a0hbif6xvlfg6jm2kmzsfjr2f73c7pxbn8amam6z4h1171bfys7"; + name = "kde-gtk-config-5.27.5.tar.xz"; }; }; kdecoration = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/kdecoration-5.27.4.tar.xz"; - sha256 = "0vpshfjb2m1m4lx4sh1mhfpx70wvy6laaids9q1cip3k22i24ps1"; - name = "kdecoration-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/kdecoration-5.27.5.tar.xz"; + sha256 = "0hmy621b8zb8jvanw6w6y8mgrfspkl5d92sgl5zx00lqqz2zdyzg"; + name = "kdecoration-5.27.5.tar.xz"; }; }; kdeplasma-addons = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/kdeplasma-addons-5.27.4.tar.xz"; - sha256 = "128zjkbvxkibh1d5d1m5xsg3f6hrkgs1f0k371bk8dpki1wsb0ka"; - name = "kdeplasma-addons-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/kdeplasma-addons-5.27.5.tar.xz"; + sha256 = "1y8gaqmbqcjvzpxk6bb7bjgycrmsnw3cjk741csb0xbw66q1ldf9"; + name = "kdeplasma-addons-5.27.5.tar.xz"; }; }; kgamma5 = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/kgamma5-5.27.4.tar.xz"; - sha256 = "00jq6pc40k1dd6g38bjyb52z8xf3iz9s2n0bwvqaddcngw5wb0aa"; - name = "kgamma5-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/kgamma5-5.27.5.tar.xz"; + sha256 = "1nadx1fgpz1k7c2j93wk4ipzp6pydz8ak1p9p2pv9a24753jcrkv"; + name = "kgamma5-5.27.5.tar.xz"; }; }; khotkeys = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/khotkeys-5.27.4.tar.xz"; - sha256 = "08qhj9m5dkg1vgjyzm93ns8c5yvbwfa5r6z7xgn0filvlzg284l4"; - name = "khotkeys-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/khotkeys-5.27.5.tar.xz"; + sha256 = "087cws4g8p0fzalspnizsd8fxk3745g9ar03pl746fqyvqk57s43"; + name = "khotkeys-5.27.5.tar.xz"; }; }; kinfocenter = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/kinfocenter-5.27.4.tar.xz"; - sha256 = "15g4czd8pm4vliaax8kgy8zdgxqj73x1icy4gc09y4zwqhaclxb8"; - name = "kinfocenter-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/kinfocenter-5.27.5.tar.xz"; + sha256 = "0j6w9b4pf353l0dfv8b8a90q4swylqxwx818271abs1bkq271s8b"; + name = "kinfocenter-5.27.5.tar.xz"; }; }; kmenuedit = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/kmenuedit-5.27.4.tar.xz"; - sha256 = "1cx7ih68by4slrxrgf8yh49fxszfrzgfhrajk8xjgq9s34nvgarp"; - name = "kmenuedit-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/kmenuedit-5.27.5.tar.xz"; + sha256 = "09qiydq3v4yl51cn0l2ndsr54m33n6x3ngz9q18j4nf4pk266qj4"; + name = "kmenuedit-5.27.5.tar.xz"; }; }; kpipewire = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/kpipewire-5.27.4.tar.xz"; - sha256 = "0r9ii0mwv2d8nlq3p0g5hsp3m0j8my17ji1an7hzw5pajf340lx6"; - name = "kpipewire-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/kpipewire-5.27.5.tar.xz"; + sha256 = "166xggr22k2ksnsx97kngc02r8fy0fagd2m7zghdbl5axvf6lcj1"; + name = "kpipewire-5.27.5.tar.xz"; }; }; kscreen = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/kscreen-5.27.4.tar.xz"; - sha256 = "1vf5lhbm1r55l1y06sib1fdv5mbmd77ns1xmq3f0ff7mfabj8vs5"; - name = "kscreen-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/kscreen-5.27.5.tar.xz"; + sha256 = "0s24halra8gnczmlj8kvbqvls1njck2abxbdsvn7gm3rkg1sm5vj"; + name = "kscreen-5.27.5.tar.xz"; }; }; kscreenlocker = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/kscreenlocker-5.27.4.tar.xz"; - sha256 = "14bip40nkkj6xhmws14hqzjmw23348dpvip4vad8fdgyndcpznm9"; - name = "kscreenlocker-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/kscreenlocker-5.27.5.tar.xz"; + sha256 = "14pch0w4cgsx1q18hssdnjxdbdcparyrqqr9kd5a33zdqbqhg22c"; + name = "kscreenlocker-5.27.5.tar.xz"; }; }; ksshaskpass = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/ksshaskpass-5.27.4.tar.xz"; - sha256 = "0spl7v7narfpvx37f1fqyk9mbsqhymy7jvd3gbxyln0x31j041d9"; - name = "ksshaskpass-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/ksshaskpass-5.27.5.tar.xz"; + sha256 = "1mqckg3j5flx02fji7lcqv2iip4nblrzf2wqq23q7six7rljdvgn"; + name = "ksshaskpass-5.27.5.tar.xz"; }; }; ksystemstats = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/ksystemstats-5.27.4.tar.xz"; - sha256 = "1knykvf6ygg75y7qj8087v8sg6m54ywsk8v9d5yc7f0g8mhqkmhz"; - name = "ksystemstats-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/ksystemstats-5.27.5.tar.xz"; + sha256 = "1y6w6v1vf2bphspk7a3lgwgmz6ahdycbbsrr6qn8mkf9z36q97fm"; + name = "ksystemstats-5.27.5.tar.xz"; }; }; kwallet-pam = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/kwallet-pam-5.27.4.tar.xz"; - sha256 = "0v0jzkmdbwry6k70nk4gmzv758744q4qi50gry9bcz619imkz8ff"; - name = "kwallet-pam-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/kwallet-pam-5.27.5.tar.xz"; + sha256 = "144ijabyj9w2yi9j5r0m945l6ysccwyq27cc0mc21mjyqa6sm6ka"; + name = "kwallet-pam-5.27.5.tar.xz"; }; }; kwayland-integration = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/kwayland-integration-5.27.4.tar.xz"; - sha256 = "027y4r02g26mv5a76s2yr0fxyx7dq81md41lgjnr3gg0jdm8ajpp"; - name = "kwayland-integration-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/kwayland-integration-5.27.5.tar.xz"; + sha256 = "1y8qrdyvz61zcxsp9ylz7bg6hp7wk7is5p0n3s25650dlx0grqcs"; + name = "kwayland-integration-5.27.5.tar.xz"; }; }; kwin = { - version = "5.27.4.1"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/kwin-5.27.4.1.tar.xz"; - sha256 = "1c821szi4vvxc0aw49nb2xbdgnkc1pl5hadpvc9m4l18qly1v7xk"; - name = "kwin-5.27.4.1.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/kwin-5.27.5.tar.xz"; + sha256 = "1si01jrhxa6sfqgl2ljl5czyls5mli7b4n6yy6jiws0rb6qjc4mv"; + name = "kwin-5.27.5.tar.xz"; }; }; kwrited = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/kwrited-5.27.4.tar.xz"; - sha256 = "1z07fjw3b8q7cgy7vvlh1bmx4qm609mipgm5wjf6lb63ss04nfpd"; - name = "kwrited-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/kwrited-5.27.5.tar.xz"; + sha256 = "14fcby31017mmplcp5v2mfmfnlds5mgn35b725d06z584xcfrfpj"; + name = "kwrited-5.27.5.tar.xz"; }; }; layer-shell-qt = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/layer-shell-qt-5.27.4.tar.xz"; - sha256 = "1znhwg86wnjrmw5lfbwarl2va90zf4b0lpafia73q0i39g0ysfiv"; - name = "layer-shell-qt-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/layer-shell-qt-5.27.5.tar.xz"; + sha256 = "088xilf31485mqxw09v2h7v3dayzd19c6yipmlxpyhzhg6jnmpyc"; + name = "layer-shell-qt-5.27.5.tar.xz"; }; }; libkscreen = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/libkscreen-5.27.4.tar.xz"; - sha256 = "0zps0z0j4yln2yda4sj15rn3i6y3qipb5yb4q90qm5a0iiggp7d8"; - name = "libkscreen-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/libkscreen-5.27.5.tar.xz"; + sha256 = "0rgbdlchhks5bxicdc8v7388wlg5b6ms9phlp5jfh1l7iprg7br9"; + name = "libkscreen-5.27.5.tar.xz"; }; }; libksysguard = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/libksysguard-5.27.4.tar.xz"; - sha256 = "1y7q4bkgpg1j9yw9glm0566fbx6vf9ccz9f46vg3zfjwa468s4p0"; - name = "libksysguard-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/libksysguard-5.27.5.tar.xz"; + sha256 = "052yx04sihlvf7j94y140g9hldq9fjad9ziqdgmczvszy0xbazky"; + name = "libksysguard-5.27.5.tar.xz"; }; }; milou = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/milou-5.27.4.tar.xz"; - sha256 = "1a2p3y3zcmjigwywl7k7mgwvilpyjzjnbylx8zadp0051yw6f3sd"; - name = "milou-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/milou-5.27.5.tar.xz"; + sha256 = "1602imffywir1il1xsq3n413fjxg4s3w9c49z20yn1igcwz0l6qv"; + name = "milou-5.27.5.tar.xz"; }; }; oxygen = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/oxygen-5.27.4.tar.xz"; - sha256 = "1sz3rnsz8qabln3jn5bg1f5vgijgmm13242k65kiksvigfdrc3p2"; - name = "oxygen-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/oxygen-5.27.5.tar.xz"; + sha256 = "1gby4a9sf666i10nwjv4wswsbi34idcczz0cknfan08ahal4wxpv"; + name = "oxygen-5.27.5.tar.xz"; }; }; oxygen-sounds = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/oxygen-sounds-5.27.4.tar.xz"; - sha256 = "1v44jcy0zkvpqkc6yih55j6xmb0g3pd26szk95mpjkn7jxsav8wy"; - name = "oxygen-sounds-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/oxygen-sounds-5.27.5.tar.xz"; + sha256 = "0rl55k6h34bcf5pk71942m3bf831ymh4kk89xkimczq4qki33yr1"; + name = "oxygen-sounds-5.27.5.tar.xz"; }; }; plank-player = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plank-player-5.27.4.tar.xz"; - sha256 = "0650v644nvbnl9b0caa83pbq8y7jrklqzqxdlcrml6km85avhx5n"; - name = "plank-player-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plank-player-5.27.5.tar.xz"; + sha256 = "0anws5npjdqq0p94fdrqmvyc55x3vwfx8v59l10k8qmj6habarph"; + name = "plank-player-5.27.5.tar.xz"; }; }; plasma-bigscreen = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-bigscreen-5.27.4.tar.xz"; - sha256 = "18jdgk3aydk394r91c279fnlhyrvmklqznxjikq25mx449wa3acp"; - name = "plasma-bigscreen-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-bigscreen-5.27.5.tar.xz"; + sha256 = "1wab0l0cz5a82lgq83s9ipmjqmj5nzzfk689lbz3swxns71qx03n"; + name = "plasma-bigscreen-5.27.5.tar.xz"; }; }; plasma-browser-integration = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-browser-integration-5.27.4.tar.xz"; - sha256 = "0rpljxnir2nbh4ww5ycgpdrj739cr1dg46mmfqj65h8yn60zfynk"; - name = "plasma-browser-integration-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-browser-integration-5.27.5.tar.xz"; + sha256 = "09frs7yxaiqi10j9f7vnr05nk53mvx0jshjk9wlz1cibcwflb45l"; + name = "plasma-browser-integration-5.27.5.tar.xz"; }; }; plasma-desktop = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-desktop-5.27.4.tar.xz"; - sha256 = "0068wcm586gv31aqjgppj1n5a81jv10q01spsxl24c91y7aiqkxr"; - name = "plasma-desktop-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-desktop-5.27.5.tar.xz"; + sha256 = "1c8wx4al96vnz9p02ml8ax6dzna1xvm6gvnn2w3n93v56hqmfasg"; + name = "plasma-desktop-5.27.5.tar.xz"; }; }; plasma-disks = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-disks-5.27.4.tar.xz"; - sha256 = "08w3x7hd3wkgj41g9xcaylsz8lsjv1d4pgmzq7dy436vwbiaxx4p"; - name = "plasma-disks-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-disks-5.27.5.tar.xz"; + sha256 = "02s8n7da2i2zjqi2q9k8fddqr4868dqyx9bf1lyfag3bb64y447a"; + name = "plasma-disks-5.27.5.tar.xz"; }; }; plasma-firewall = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-firewall-5.27.4.tar.xz"; - sha256 = "1b538c9jngyj5zg6bvih2x7nskzdn8g9g04bxdjnayldj2hb979l"; - name = "plasma-firewall-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-firewall-5.27.5.tar.xz"; + sha256 = "0hav4d2pgsvzvr9lw93v3zm473gii44x012fs1gx6dgcaam90b73"; + name = "plasma-firewall-5.27.5.tar.xz"; }; }; plasma-integration = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-integration-5.27.4.tar.xz"; - sha256 = "0bl99gr2clqs6wxlx0652gcypgxqw9s34yxvhc9df0fn53v9b84s"; - name = "plasma-integration-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-integration-5.27.5.tar.xz"; + sha256 = "0ywzz2s46kaidzg5cagx2wp4kqndynfssz6a29czpw1811iwbvcd"; + name = "plasma-integration-5.27.5.tar.xz"; }; }; plasma-mobile = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-mobile-5.27.4.tar.xz"; - sha256 = "1a05lnhnxnizzs9fswsrlddwb0629xfl3wmm2rw635gqldd0f66m"; - name = "plasma-mobile-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-mobile-5.27.5.tar.xz"; + sha256 = "0h61q8nkwl5adrgm0353l2kada76760rqzwb94xdc7r9cjxjy6yc"; + name = "plasma-mobile-5.27.5.tar.xz"; }; }; plasma-nano = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-nano-5.27.4.tar.xz"; - sha256 = "1z70bj5s3qkx2rbrbn9xqf4vzyj7yx9vq9givcagncxnldi1x3pa"; - name = "plasma-nano-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-nano-5.27.5.tar.xz"; + sha256 = "1w6pq6wrnb3lq2jyfx9lpn11vmfka5rw4mn52cdz8997g4zyrhlj"; + name = "plasma-nano-5.27.5.tar.xz"; }; }; plasma-nm = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-nm-5.27.4.tar.xz"; - sha256 = "0jr1a4d9qj43925abr36nvc9fhvyd58qhdg4w5i805p533wbzrif"; - name = "plasma-nm-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-nm-5.27.5.tar.xz"; + sha256 = "0bm6ihcg5cgfzz1pcj7zg2bjm8gik3rcjj4mp03ac1v29gj4hbqm"; + name = "plasma-nm-5.27.5.tar.xz"; }; }; plasma-pa = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-pa-5.27.4.tar.xz"; - sha256 = "1rpjscmfb7i9h50m9xglxf4rgca63y0i8x341jgmf5kmpm9lad7d"; - name = "plasma-pa-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-pa-5.27.5.tar.xz"; + sha256 = "1241v4igi3d1n2x46vp9qgqvw2gngsk75gx3rnjnivfypxrkzay2"; + name = "plasma-pa-5.27.5.tar.xz"; }; }; plasma-remotecontrollers = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-remotecontrollers-5.27.4.tar.xz"; - sha256 = "0l9n0q318720yx02whrp9qfhhwcnw261sdvyw78y9c3n4v22k31n"; - name = "plasma-remotecontrollers-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-remotecontrollers-5.27.5.tar.xz"; + sha256 = "04d0rp4jpavn999lbvfni007l98i1zglwv7byrkb494zs40gqylc"; + name = "plasma-remotecontrollers-5.27.5.tar.xz"; }; }; plasma-sdk = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-sdk-5.27.4.tar.xz"; - sha256 = "08fv6rnb7vc3wxkwk3xrrvb3k1gac7sncjdvk0lik6y1c7ilk27r"; - name = "plasma-sdk-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-sdk-5.27.5.tar.xz"; + sha256 = "05b9n2h7qkxm5yws4mi4f929dassi6hng0p730dx5fw7fsr4a0pi"; + name = "plasma-sdk-5.27.5.tar.xz"; }; }; plasma-systemmonitor = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-systemmonitor-5.27.4.tar.xz"; - sha256 = "1sy38lmkrvma4kkf96n68f65hdjvpyaszx13hynhrplsgn24fj19"; - name = "plasma-systemmonitor-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-systemmonitor-5.27.5.tar.xz"; + sha256 = "0d1ficiqv7zjcc1fkh7jx4f7pcpkygk1pyfm8gsp10i0iwwm3rc2"; + name = "plasma-systemmonitor-5.27.5.tar.xz"; }; }; plasma-thunderbolt = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-thunderbolt-5.27.4.tar.xz"; - sha256 = "1zzl59qyajf8xcxxs5lijx85v8gm3y4izf3qd502smq2841hbxi8"; - name = "plasma-thunderbolt-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-thunderbolt-5.27.5.tar.xz"; + sha256 = "1mchvgh180m8anjznpwihay934c331fqc88l1wyiqqn6072n819i"; + name = "plasma-thunderbolt-5.27.5.tar.xz"; }; }; plasma-vault = { - version = "5.27.4.1"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-vault-5.27.4.1.tar.xz"; - sha256 = "1bh2662ghdq5qkvn4347yc2dh6c616qiax4k4yylkf37czqdil77"; - name = "plasma-vault-5.27.4.1.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-vault-5.27.5.tar.xz"; + sha256 = "1s176masmip1qzv5am3phkwvb7yalmiasgzbx7r2rq705bh2pwkl"; + name = "plasma-vault-5.27.5.tar.xz"; }; }; plasma-welcome = { - version = "5.27.4.1"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-welcome-5.27.4.1.tar.xz"; - sha256 = "0rg80rc07q63z0ds4q8lf9yrv3ys9cvjcfwx39ibjy9nrkismrca"; - name = "plasma-welcome-5.27.4.1.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-welcome-5.27.5.tar.xz"; + sha256 = "1ddfyi1a2ccs8ny9is0x8fjz0yh2v65sin85nrv6j483n3qqxjfb"; + name = "plasma-welcome-5.27.5.tar.xz"; }; }; plasma-workspace = { - version = "5.27.4.1"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-workspace-5.27.4.1.tar.xz"; - sha256 = "19b5mydi995aa634v57dlc769nmbz6mb2hs8c620gzabjnn0cffb"; - name = "plasma-workspace-5.27.4.1.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-workspace-5.27.5.tar.xz"; + sha256 = "05rayz8n3qgpnddr4wpzjwgvk3if4vnnwb1ccpm841zxxsr9a2zd"; + name = "plasma-workspace-5.27.5.tar.xz"; }; }; plasma-workspace-wallpapers = { - version = "5.27.4.1"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plasma-workspace-wallpapers-5.27.4.1.tar.xz"; - sha256 = "0sv58kp088vxqd5dfs3hvc93xlydk7nyxm1ly0xy377r2v3pnkg4"; - name = "plasma-workspace-wallpapers-5.27.4.1.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plasma-workspace-wallpapers-5.27.5.tar.xz"; + sha256 = "0h6871pwn000jzilhh4w5wa3s017cgkphhj4sxxpqds7q7f5x013"; + name = "plasma-workspace-wallpapers-5.27.5.tar.xz"; }; }; plymouth-kcm = { - version = "5.27.4.1"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/plymouth-kcm-5.27.4.1.tar.xz"; - sha256 = "0x20dswpy1vg1rh01m7pbicd1fn0rbh5gfaqdlizdcpnd6gjjfh5"; - name = "plymouth-kcm-5.27.4.1.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/plymouth-kcm-5.27.5.tar.xz"; + sha256 = "0r00kmqzkzpjvp3s02h7vjiiyzfpvzn5j158jf6khvb4vywljqjr"; + name = "plymouth-kcm-5.27.5.tar.xz"; }; }; polkit-kde-agent = { - version = "1-5.27.4.1"; + version = "1-5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/polkit-kde-agent-1-5.27.4.1.tar.xz"; - sha256 = "1ikhrs17ffrsji6phwxhz8b6gxldksjb4625zpin8vkf07v9brr6"; - name = "polkit-kde-agent-1-5.27.4.1.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/polkit-kde-agent-1-5.27.5.tar.xz"; + sha256 = "0brab8hn2qdnxzzx0q37m40h67s00s0zpc2wx1gzbnbl1kzv9qra"; + name = "polkit-kde-agent-1-5.27.5.tar.xz"; }; }; powerdevil = { - version = "5.27.4.1"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/powerdevil-5.27.4.1.tar.xz"; - sha256 = "0s6k7kcfa717lcjdlx61h21ldk4fg67is6r2vzcq0507gp3r8jb4"; - name = "powerdevil-5.27.4.1.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/powerdevil-5.27.5.tar.xz"; + sha256 = "03jhzcwg1kjhm8ly3w12slgdxbyycqymijgnh3llrvzgawn8cy83"; + name = "powerdevil-5.27.5.tar.xz"; }; }; qqc2-breeze-style = { - version = "5.27.4"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/qqc2-breeze-style-5.27.4.tar.xz"; - sha256 = "0x96xa5j3726i4ci6g51hk364hhcq9xip4jrb1qssb9l0v1324n4"; - name = "qqc2-breeze-style-5.27.4.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/qqc2-breeze-style-5.27.5.tar.xz"; + sha256 = "0vcq59m074zvcivlhk0jp7k5vywmamfdq4bsacvsjzxhlvzkvjlh"; + name = "qqc2-breeze-style-5.27.5.tar.xz"; }; }; sddm-kcm = { - version = "5.27.4.1"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/sddm-kcm-5.27.4.1.tar.xz"; - sha256 = "0l85mk8mj3g5fga6z93w5k88pkpf8wrx6vaf4f1q9lgy2dkm4ylp"; - name = "sddm-kcm-5.27.4.1.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/sddm-kcm-5.27.5.tar.xz"; + sha256 = "16hrmbl413zy89if8yj9jsvnzv58rvs7w6y5isq33drkzvgz41an"; + name = "sddm-kcm-5.27.5.tar.xz"; }; }; systemsettings = { - version = "5.27.4.1"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/systemsettings-5.27.4.1.tar.xz"; - sha256 = "03kk2bangg9nixdwpyrp2k4wgv3r3d3ymklqfx37b7c25wpiv7az"; - name = "systemsettings-5.27.4.1.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/systemsettings-5.27.5.tar.xz"; + sha256 = "1nxla37vr1j1h2vklm6cdzr5h5my9d3m05nr9dr1wcxsmaq4wifm"; + name = "systemsettings-5.27.5.tar.xz"; }; }; xdg-desktop-portal-kde = { - version = "5.27.4.1"; + version = "5.27.5"; src = fetchurl { - url = "${mirror}/stable/plasma/5.27.4/xdg-desktop-portal-kde-5.27.4.1.tar.xz"; - sha256 = "0hrxlql13yab3w778wgdsr92g65q81qk5dvlqnn0fdc9lbfw5ipg"; - name = "xdg-desktop-portal-kde-5.27.4.1.tar.xz"; + url = "${mirror}/stable/plasma/5.27.5/xdg-desktop-portal-kde-5.27.5.tar.xz"; + sha256 = "1aqsiwfhca7nimdflwnq86fai4lhjqpi4pi4xyp8pcgrrwj3zykw"; + name = "xdg-desktop-portal-kde-5.27.5.tar.xz"; }; }; } From 174458b31decd63aac233fecc903c3e906a337b3 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 9 May 2023 19:56:19 +0300 Subject: [PATCH 23/87] xml-tooling-c: fix build on darwin --- pkgs/development/libraries/xml-tooling-c/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/xml-tooling-c/default.nix b/pkgs/development/libraries/xml-tooling-c/default.nix index dcd35d187f9d..b1ae52a8c77b 100644 --- a/pkgs/development/libraries/xml-tooling-c/default.nix +++ b/pkgs/development/libraries/xml-tooling-c/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { buildInputs = [ boost curl openssl log4shib xercesc xml-security-c ]; nativeBuildInputs = [ autoreconfHook pkg-config ]; - env.NIX_CFLAGS_COMPILE = toString [ "-std=c++14" ]; + env.NIX_CFLAGS_COMPILE = lib.optionalString (!stdenv.isDarwin) "-std=c++14"; enableParallelBuilding = true; From 7cde39f7a1a0186624d0b16e3404af9a8443b62f Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 9 May 2023 19:56:38 +0300 Subject: [PATCH 24/87] opensaml-cpp: fix build on darwin --- pkgs/development/libraries/opensaml-cpp/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/opensaml-cpp/default.nix b/pkgs/development/libraries/opensaml-cpp/default.nix index 28a8ab838c50..327956f8a7db 100644 --- a/pkgs/development/libraries/opensaml-cpp/default.nix +++ b/pkgs/development/libraries/opensaml-cpp/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-xmltooling=${xml-tooling-c}" ]; - env.NIX_CFLAGS_COMPILE = toString [ "-std=c++14" ]; + env.NIX_CFLAGS_COMPILE = lib.optionalString (!stdenv.isDarwin) "-std=c++14"; enableParallelBuilding = true; From 93e65e975f363b7c8c051ae86b4c5bc02c98dd7c Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 9 May 2023 19:56:47 +0300 Subject: [PATCH 25/87] shibboleth-sp: fix build on darwin --- pkgs/development/libraries/shibboleth-sp/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/shibboleth-sp/default.nix b/pkgs/development/libraries/shibboleth-sp/default.nix index 84a165956d99..964d15e9546b 100644 --- a/pkgs/development/libraries/shibboleth-sp/default.nix +++ b/pkgs/development/libraries/shibboleth-sp/default.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { "--with-fastcgi" ]; - env.NIX_CFLAGS_COMPILE = toString [ "-std=c++14" ]; + env.NIX_CFLAGS_COMPILE = lib.optionalString (!stdenv.isDarwin) "-std=c++14"; enableParallelBuilding = true; From 80a2d068505eab69ff12e4835c6435c22c1e5227 Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Tue, 9 May 2023 19:30:00 +0200 Subject: [PATCH 26/87] lisp-modules.log4cl fix build on sbcl --- pkgs/development/lisp-modules/patches/log4cl-fix-build.patch | 5 +++++ pkgs/development/lisp-modules/ql.nix | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 pkgs/development/lisp-modules/patches/log4cl-fix-build.patch diff --git a/pkgs/development/lisp-modules/patches/log4cl-fix-build.patch b/pkgs/development/lisp-modules/patches/log4cl-fix-build.patch new file mode 100644 index 000000000000..04128217819e --- /dev/null +++ b/pkgs/development/lisp-modules/patches/log4cl-fix-build.patch @@ -0,0 +1,5 @@ +--- a/src/naming-sbcl.lisp ++++ b/src/naming-sbcl.lisp +@@ -108,1 +108,1 @@ +- then (sb-c::lambda-parent lambda) ++ then (sb-c::lexenv-lambda (sb-c::lambda-lexenv lambda)) diff --git a/pkgs/development/lisp-modules/ql.nix b/pkgs/development/lisp-modules/ql.nix index 71043571275d..7e134fbce980 100644 --- a/pkgs/development/lisp-modules/ql.nix +++ b/pkgs/development/lisp-modules/ql.nix @@ -164,6 +164,9 @@ let cl-readline = super.cl-readline.overrideLispAttrs (o: { nativeLibs = [ pkgs.readline ]; }); + log4cl = super.log4cl.overrideLispAttrs (o: { + patches = [ ./patches/log4cl-fix-build.patch ]; + }); md5 = super.md5.overrideLispAttrs (o: { lispLibs = [ super.flexi-streams ]; }); From c7075b7e579caa896f5e876c328da6eec388d635 Mon Sep 17 00:00:00 2001 From: "lize.live" Date: Tue, 9 May 2023 10:38:01 -0700 Subject: [PATCH 27/87] maintainers: add lizelive --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 6f77026243e6..ccce06276110 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -9026,6 +9026,12 @@ fingerprint = "74F5 E5CC 19D3 B5CB 608F 6124 68FF 81E6 A785 0F49"; }]; }; + lizelive = { + email = "nixpkgs@lize.live"; + github = "lizelive"; + githubId = 40217331; + name = "LizeLive"; + }; lluchs = { email = "lukas.werling@gmail.com"; github = "lluchs"; From 301ec4c0679e2e4e32bb12a8065a194d4f8c6e4c Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Tue, 9 May 2023 20:35:28 +0200 Subject: [PATCH 28/87] nixos/geth: fix failing test Run authrpc on different ports for main and testnet to avoid collision. --- nixos/tests/geth.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nixos/tests/geth.nix b/nixos/tests/geth.nix index 11ad1ed2ea66..dc6490db57c9 100644 --- a/nixos/tests/geth.nix +++ b/nixos/tests/geth.nix @@ -19,6 +19,10 @@ import ./make-test-python.nix ({ pkgs, ... }: { enable = true; port = 18545; }; + authrpc = { + enable = true; + port = 18551; + }; }; }; @@ -31,11 +35,11 @@ import ./make-test-python.nix ({ pkgs, ... }: { machine.wait_for_open_port(18545) machine.succeed( - 'geth attach --exec eth.blockNumber http://localhost:8545 | grep \'^0$\' ' + 'geth attach --exec "eth.blockNumber" http://localhost:8545 | grep \'^0$\' ' ) machine.succeed( - 'geth attach --exec "eth.chainId()" http://localhost:18545 | grep \'"0x5"\' ' + 'geth attach --exec "eth.blockNumber" http://localhost:18545 | grep \'^0$\' ' ) ''; }) From c7302081092a3d25d4863b13bbbaa83368b32318 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Tue, 9 May 2023 20:53:57 +0200 Subject: [PATCH 29/87] iredis: fix by relaxing some dependency versions --- pkgs/tools/admin/iredis/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/admin/iredis/default.nix b/pkgs/tools/admin/iredis/default.nix index 805ba5d3d5ed..9b2bfe08d342 100644 --- a/pkgs/tools/admin/iredis/default.nix +++ b/pkgs/tools/admin/iredis/default.nix @@ -12,14 +12,16 @@ buildPythonApplication rec { sha256 = "d1e4e7936d0be456f70a39abeb1c97d931f66ccd60e891f4fd796ffb06dfeaf9"; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'click = "^7.0"' 'click = "*"' \ - --replace 'wcwidth = "0.1.9"' 'wcwidth = "*"' - ''; + pythonRelaxDeps = [ + "configobj" + "wcwidth" + "click" + "packaging" + ]; nativeBuildInputs = [ poetry-core + pythonRelaxDepsHook ]; propagatedBuildInputs = [ From c0f48d366888acb7dc1730247f55fcfa99936da5 Mon Sep 17 00:00:00 2001 From: 0x4A6F <0x4A6F@users.noreply.github.com> Date: Tue, 9 May 2023 22:04:53 +0200 Subject: [PATCH 30/87] silicon: fix build on aarch64-linux --- pkgs/tools/misc/silicon/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/tools/misc/silicon/default.nix b/pkgs/tools/misc/silicon/default.nix index 9dad7df67e91..ba300f43d0f4 100644 --- a/pkgs/tools/misc/silicon/default.nix +++ b/pkgs/tools/misc/silicon/default.nix @@ -2,6 +2,7 @@ , stdenv , rustPlatform , fetchFromGitHub +, fetchpatch , pkg-config , cmake , llvmPackages @@ -29,6 +30,14 @@ rustPlatform.buildRustPackage rec { sha256 = "sha256-RuzaRJr1n21MbHSeHBt8CjEm5AwbDbvX9Nw5PeBTl+w="; }; + patches = [ + # fix build on aarch64-linux, see https://github.com/Aloxaf/silicon/pull/210 + (fetchpatch { + url = "https://github.com/Aloxaf/silicon/commit/f666c95d3dab85a81d60067e2f25d29ee8ab59e7.patch"; + hash = "sha256-L6tF9ndC38yVn5ZNof1TMxSImmaqZ6bJ/NYhb0Ebji4="; + }) + ]; + cargoLock = { lockFile = ./Cargo.lock; outputHashes = { From 454b2058d48b687cc874738f7a2b2c50d84fdd89 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 9 May 2023 17:44:54 +0000 Subject: [PATCH 31/87] rustc: fix name when cross compiled I made a mistake when trying to add the target prefix to Rust cross compilers: pkgsCross.aarch64-multiplatform.rustc ended up being called "aarch64-unknown-linux-gnu-rustc-aarch64-unknown-linux-gnu-1.69.0", which is a bit verbose. With this change: nix-repl> rustc.name "rustc-1.69.0" nix-repl> pkgsCross.aarch64-multiplatform.buildPackages.rustc.name "aarch64-unknown-linux-gnu-rustc-1.69.0" nix-repl> pkgsCross.aarch64-multiplatform.rustc.name "rustc-aarch64-unknown-linux-gnu-1.69.0" As intended. Fixes: 57e73d23bb6 ("rustc,rustPlatform.buildRustPackage: broaden platforms") --- pkgs/development/compilers/rust/rustc.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/rust/rustc.nix b/pkgs/development/compilers/rust/rustc.nix index a8e8cf68fe3a..fc43cfe2e265 100644 --- a/pkgs/development/compilers/rust/rustc.nix +++ b/pkgs/development/compilers/rust/rustc.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, removeReferencesTo, pkgsBuildBuild, pkgsBuildHost, pkgsBuildTarget +{ lib, stdenv, removeReferencesTo, pkgsBuildBuild, pkgsBuildHost, pkgsBuildTarget, targetPackages , llvmShared, llvmSharedForBuild, llvmSharedForHost, llvmSharedForTarget, llvmPackages , fetchurl, file, python3 , darwin, cmake, rust, rustPlatform @@ -21,7 +21,7 @@ let inherit (lib) optionals optional optionalString concatStringsSep; inherit (darwin.apple_sdk.frameworks) Security; in stdenv.mkDerivation rec { - pname = "${pkgsBuildTarget.targetPackages.stdenv.cc.targetPrefix}rustc"; + pname = "${targetPackages.stdenv.cc.targetPrefix}rustc"; inherit version; src = fetchurl { From 99e65bb00d18003476148d8c153e2b8721b8c335 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Tue, 9 May 2023 22:27:23 +0200 Subject: [PATCH 32/87] linux_*, except testing, 4.14: apply patch for CVE-2023-32233 This applies the patch for CVE-2023-32233 from kernel 4.19 until 6.3, testing (6.4-rc1 at the moment) is excluded because it already have the fix and 4.14 doesn't have this fix queued for the next stable kernel. --- pkgs/os-specific/linux/kernel/patches.nix | 9 +++++++++ pkgs/top-level/linux-kernels.nix | 10 ++++++++++ 2 files changed, 19 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/patches.nix b/pkgs/os-specific/linux/kernel/patches.nix index 5912abf4181d..f2225096dd5c 100644 --- a/pkgs/os-specific/linux/kernel/patches.nix +++ b/pkgs/os-specific/linux/kernel/patches.nix @@ -62,4 +62,13 @@ name = "fix-em-ice-bonding"; patch = ./fix-em-ice-bonding.patch; }; + + CVE-2023-32233 = rec { + name = "CVE-2023-32233"; + patch = fetchpatch { + name = name + ".patch"; + url = "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/?id=c1592a89942e9678f7d9c8030efa777c0d57edab"; + hash = "sha256-DYPWgraXPNeFkjtuDYkFXHnCJ4yDewrukM2CCAqC2BE="; + }; + }; } diff --git a/pkgs/top-level/linux-kernels.nix b/pkgs/top-level/linux-kernels.nix index 52245dc38e81..ddf588b5a277 100644 --- a/pkgs/top-level/linux-kernels.nix +++ b/pkgs/top-level/linux-kernels.nix @@ -115,6 +115,7 @@ in { [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper kernelPatches.modinst_arg_list_too_long + kernelPatches.CVE-2023-32233 ]; }; @@ -123,6 +124,7 @@ in { kernelPatches.bridge_stp_helper kernelPatches.request_key_helper kernelPatches.rtl8761b_support + kernelPatches.CVE-2023-32233 ]; }; @@ -130,6 +132,7 @@ in { kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper + kernelPatches.CVE-2023-32233 ]; }; @@ -137,6 +140,7 @@ in { kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper + kernelPatches.CVE-2023-32233 ]; }; @@ -145,6 +149,7 @@ in { kernelPatches.bridge_stp_helper kernelPatches.request_key_helper kernelPatches.export-rt-sched-migrate + kernelPatches.CVE-2023-32233 ]; }; @@ -153,6 +158,7 @@ in { kernelPatches.bridge_stp_helper kernelPatches.request_key_helper kernelPatches.fix-em-ice-bonding + kernelPatches.CVE-2023-32233 ]; }; @@ -169,6 +175,7 @@ in { kernelPatches.bridge_stp_helper kernelPatches.request_key_helper kernelPatches.fix-em-ice-bonding + kernelPatches.CVE-2023-32233 ]; }; @@ -178,6 +185,7 @@ in { kernelPatches.request_key_helper kernelPatches.fix-em-ice-bonding kernelPatches.export-rt-sched-migrate + kernelPatches.CVE-2023-32233 ]; }; @@ -186,6 +194,7 @@ in { kernelPatches.bridge_stp_helper kernelPatches.request_key_helper kernelPatches.fix-em-ice-bonding + kernelPatches.CVE-2023-32233 ]; }; @@ -194,6 +203,7 @@ in { kernelPatches.bridge_stp_helper kernelPatches.request_key_helper kernelPatches.fix-em-ice-bonding + kernelPatches.CVE-2023-32233 ]; }; From 8ae16df22b63dfaad60f1e2fb40398cced84130f Mon Sep 17 00:00:00 2001 From: aleksana Date: Wed, 10 May 2023 02:50:07 +0800 Subject: [PATCH 33/87] alarm-clock-applet: init at 0.4.1 --- .../tools/misc/alarm-clock-applet/default.nix | 59 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 61 insertions(+) create mode 100644 pkgs/tools/misc/alarm-clock-applet/default.nix diff --git a/pkgs/tools/misc/alarm-clock-applet/default.nix b/pkgs/tools/misc/alarm-clock-applet/default.nix new file mode 100644 index 000000000000..bcd898862270 --- /dev/null +++ b/pkgs/tools/misc/alarm-clock-applet/default.nix @@ -0,0 +1,59 @@ +{ lib +, stdenv +, fetchFromGitHub +, fetchpatch +, cmake +, pkg-config +, wrapGAppsHook +, gst_all_1 +, libnotify +, libayatana-appindicator +}: + +stdenv.mkDerivation rec { + pname = "alarm-clock-applet"; + version = "0.4.1"; + + src = fetchFromGitHub { + owner = pname; + repo = "alarm-clock"; + rev = version; + hash = "sha256-10hkWWEsAUJnGeu35bR5d0RFKd9CKDZI7WGMzmEM3rI="; + }; + + patches = [ + (fetchpatch { + url = "https://github.com/alarm-clock-applet/alarm-clock/commit/6a11003099660dfae0e3d5800f49880d3a26f5ec.patch"; + hash = "sha256-NP1PlEw5AFWZgywvppIs2e+5EfMSPbU4Pq2tIfwODrQ="; + }) + (fetchpatch { + url = "https://github.com/alarm-clock-applet/alarm-clock/commit/cbcf22fac5b45ab251ade2e7e993f422f33f926e.patch"; + hash = "sha256-xKaaNfXsv9Ckwy73r1n93kOWIZ01fU5GDqYSQCch1Kc="; + }) + ]; + + nativeBuildInputs = [ + cmake + pkg-config + wrapGAppsHook + ]; + + buildInputs = [ + gst_all_1.gstreamer + libnotify + libayatana-appindicator + ]; + + cmakeFlags = [ + # gconf is already deprecated + "-DENABLE_GCONF_MIGRATION=OFF" + ]; + + meta = with lib; { + description = "A fully-featured alarm clock with an indicator"; + homepage = "https://alarm-clock-applet.github.io"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ aleksana ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 013f7bda2c86..a3dca8be361f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14404,6 +14404,8 @@ with pkgs; alan_2 = callPackage ../development/compilers/alan/2.nix { }; + alarm-clock-applet = callPackage ../tools/misc/alarm-clock-applet { }; + algol68g = callPackage ../development/compilers/algol68g { }; ante = callPackage ../development/compilers/ante { }; From 583ea0263df44264547a29d76fb270d10bb16181 Mon Sep 17 00:00:00 2001 From: aleksana Date: Wed, 10 May 2023 04:45:52 +0800 Subject: [PATCH 34/87] alarm-clock-applet: remove deprecation notice --- pkgs/top-level/aliases.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 2d2fb1580b7a..bc4628ffcf62 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -66,7 +66,6 @@ mapAliases ({ ag = throw "'ag' has been renamed to/replaced by 'silver-searcher'"; # Converted to throw 2022-02-22 aircrackng = throw "'aircrackng' has been renamed to/replaced by 'aircrack-ng'"; # Converted to throw 2022-02-22 airtame = throw "airtame has been removed due to being unmaintained"; # Added 2022-01-19 - alarm-clock-applet = throw "'alarm-clock-applet' has been abandoned upstream and depends on deprecated GNOME2/GTK2"; # Added 2022-06-16 aleth = throw "aleth (previously packaged as cpp_ethereum) has been removed; abandoned upstream"; # Added 2020-11-30 alsaLib = alsa-lib; # Added 2021-06-09 alsaOss = alsa-oss; # Added 2021-06-10 From 1c65a8c088cbec417d8513e2ea32ce5da43c642e Mon Sep 17 00:00:00 2001 From: "lize.live" Date: Tue, 9 May 2023 14:12:40 -0700 Subject: [PATCH 35/87] starsector: 0.95.1a-RC6 -> 0.96a-RC8 --- pkgs/games/starsector/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/games/starsector/default.nix b/pkgs/games/starsector/default.nix index ed995e4a5e64..3951f36f83bf 100644 --- a/pkgs/games/starsector/default.nix +++ b/pkgs/games/starsector/default.nix @@ -13,11 +13,11 @@ stdenv.mkDerivation rec { pname = "starsector"; - version = "0.95.1a-RC6"; + version = "0.96a-RC8"; src = fetchzip { url = "https://s3.amazonaws.com/fractalsoftworks/starsector/starsector_linux-${version}.zip"; - sha256 = "sha256-+0zGJHM+SMonx3sytCQNQA/QBgzdPMEfQvOjrCDSOs8="; + sha256 = "sha256-RDXqFqiWpBG3kasofzbOl7Zp0a9LiMpJKsHcFaJtm2Y="; }; nativeBuildInputs = [ copyDesktopItems makeWrapper ]; From 44591b6e8ac09993b973a97d5dee1a5d7992d581 Mon Sep 17 00:00:00 2001 From: MaxHearnden Date: Mon, 8 May 2023 02:25:58 -0700 Subject: [PATCH 36/87] mitscheme: use texinfo6 --- pkgs/top-level/all-packages.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f9928f0dc008..7b7a9443f108 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15740,8 +15740,10 @@ with pkgs; mitama-cpp-result = callPackage ../development/libraries/mitama-cpp-result { }; - mitscheme = callPackage ../development/compilers/mit-scheme - { texLive = texlive.combine { inherit (texlive) scheme-small epsf texinfo; }; }; + mitscheme = callPackage ../development/compilers/mit-scheme { + texLive = texlive.combine { inherit (texlive) scheme-small epsf texinfo; }; + texinfo = texinfo6; + }; mitschemeX11 = mitscheme.override { enableX11 = true; From d128d473187e1ef3600a02ec6bf51d630bf5bf2e Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Tue, 9 May 2023 14:09:35 -0700 Subject: [PATCH 37/87] buildLuaPackage: fix cross buildLuaPackage accesses lua.pkgs.luarocks, which became unspliced at some point. Let's use callPackage to get it, so we can be sure it will be spliced. --- pkgs/development/interpreters/lua-5/build-lua-package.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/lua-5/build-lua-package.nix b/pkgs/development/interpreters/lua-5/build-lua-package.nix index eeca9b11ad05..3b49b60ca5d3 100644 --- a/pkgs/development/interpreters/lua-5/build-lua-package.nix +++ b/pkgs/development/interpreters/lua-5/build-lua-package.nix @@ -2,6 +2,7 @@ { lib , lua , wrapLua +, luarocks # Whether the derivation provides a lua module or not. , luarocksCheckHook @@ -89,7 +90,7 @@ let nativeBuildInputs = [ wrapLua - lua.pkgs.luarocks + luarocks ]; inherit doCheck extraVariables rockspecFilename knownRockspec externalDeps nativeCheckInputs; From 2f82431c7fdfa641f9816011286a2fa2c489eedb Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 9 May 2023 23:22:09 +0200 Subject: [PATCH 38/87] julia: 1.8.5 -> 1.9.0 --- pkgs/development/compilers/julia/1.9.nix | 4 ++-- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/julia/1.9.nix b/pkgs/development/compilers/julia/1.9.nix index 225c71242272..03d7163f5c40 100644 --- a/pkgs/development/compilers/julia/1.9.nix +++ b/pkgs/development/compilers/julia/1.9.nix @@ -14,11 +14,11 @@ stdenv.mkDerivation rec { pname = "julia"; - version = "1.9.0-rc1"; + version = "1.9.0"; src = fetchurl { url = "https://github.com/JuliaLang/julia/releases/download/v${version}/julia-${version}-full.tar.gz"; - hash = "sha256-BjHuS1pP8S+iZndyGS8HiNzApr7xUYPRPRkX55DEy4Y="; + hash = "sha256-Ii61M8ncVHNJSes6QWn1Su+hvCC+OF/Bz3mMghn+ZAA="; }; patches = [ diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f9928f0dc008..9a58769a19bb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15508,7 +15508,7 @@ with pkgs; juniper = callPackage ../development/compilers/juniper { }; julia-lts = julia_16-bin; - julia-stable = julia_18; + julia-stable = julia_19; julia = julia-stable; julia_16-bin = callPackage ../development/compilers/julia/1.6-bin.nix { }; From e71b93b1c6b074fa24a3b1768b21f1021d1282a3 Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 8 May 2023 09:35:00 -0400 Subject: [PATCH 39/87] inlyne: 0.2.1 -> 0.3.1 Diff: https://github.com/trimental/inlyne/compare/v0.2.1...v0.3.1 Changelog: https://github.com/trimental/inlyne/releases/tag/v0.3.1 --- pkgs/applications/misc/inlyne/default.nix | 47 +++++++++-------------- pkgs/top-level/all-packages.nix | 5 +-- 2 files changed, 20 insertions(+), 32 deletions(-) diff --git a/pkgs/applications/misc/inlyne/default.nix b/pkgs/applications/misc/inlyne/default.nix index abee5ab46c62..5cecae9db664 100644 --- a/pkgs/applications/misc/inlyne/default.nix +++ b/pkgs/applications/misc/inlyne/default.nix @@ -1,40 +1,34 @@ { lib , rustPlatform , fetchFromGitHub +, installShellFiles , stdenv , pkg-config , fontconfig , xorg , libGL , openssl -, AppKit -, ApplicationServices -, CoreFoundation -, CoreGraphics -, CoreServices -, CoreText -, CoreVideo -, Foundation -, Metal -, QuartzCore -, Security -, libobjc +, darwin }: rustPlatform.buildRustPackage rec { pname = "inlyne"; - version = "0.2.1"; + version = "0.3.1"; src = fetchFromGitHub { owner = "trimental"; repo = pname; rev = "v${version}"; - sha256 = "sha256-jFocERr2cW7zdLiYfAay5Dh1issKAHp6vRWYWR1Axcg="; + hash = "sha256-B+H3G4jVysqrzWIP+1hktSGnycZLizxhmBCO/lYIr0I="; }; - cargoSha256 = "sha256-mH8tu8koprmHo6JJ9AwYMexy2SFR2yukZmFT060cuZ4="; + cargoHash = "sha256-LFL2DVKu/UM7effikZN/IhSD6DrlwO+CF+S60PXULa0="; - nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ]; + nativeBuildInputs = [ + installShellFiles + ] ++ lib.optionals stdenv.isLinux [ + pkg-config + ]; buildInputs = lib.optionals stdenv.isLinux [ fontconfig @@ -44,20 +38,16 @@ rustPlatform.buildRustPackage rec { xorg.libxcb openssl ] ++ lib.optionals stdenv.isDarwin [ - AppKit - ApplicationServices - CoreFoundation - CoreGraphics - CoreServices - CoreText - CoreVideo - Foundation - Metal - QuartzCore - Security - libobjc + darwin.apple_sdk_11_0.frameworks.AppKit ]; + postInstall = '' + installShellCompletion --cmd inlyne \ + --bash <($out/bin/inlyne --gen-completions bash) \ + --fish <($out/bin/inlyne --gen-completions fish) \ + --zsh <($out/bin/inlyne --gen-completions zsh) + ''; + postFixup = lib.optionalString stdenv.isLinux '' patchelf $out/bin/inlyne \ --add-rpath ${lib.makeLibraryPath [ libGL xorg.libX11 ]} @@ -66,6 +56,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A GPU powered browserless markdown viewer"; homepage = "https://github.com/trimental/inlyne"; + changelog = "https://github.com/trimental/inlyne/releases/tag/${src.rev}"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9f1eab70884f..6ee30e2cda5e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31416,10 +31416,7 @@ with pkgs; inkscape-extensions = recurseIntoAttrs (callPackages ../applications/graphics/inkscape/extensions.nix {}); - inlyne = callPackage ../applications/misc/inlyne { - inherit (darwin) libobjc; - inherit (darwin.apple_sdk.frameworks) AppKit ApplicationServices CoreFoundation CoreGraphics CoreServices CoreText CoreVideo Foundation Metal QuartzCore Security; - }; + inlyne = darwin.apple_sdk_11_0.callPackage ../applications/misc/inlyne { }; inspectrum = callPackage ../applications/radio/inspectrum { }; From 10ce483054aa2da85eb40e043b7cef6e2b6ebc3d Mon Sep 17 00:00:00 2001 From: geri1701 Date: Wed, 10 May 2023 00:30:07 +0200 Subject: [PATCH 40/87] ne: fix build --- pkgs/applications/editors/ne/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/ne/default.nix b/pkgs/applications/editors/ne/default.nix index 07bbe3c18ea1..f783dfea81c2 100644 --- a/pkgs/applications/editors/ne/default.nix +++ b/pkgs/applications/editors/ne/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, ncurses, texinfo, texlive, perl, ghostscript }: +{ lib, stdenv, fetchFromGitHub, ncurses, texinfo6, texlive, perl, ghostscript }: stdenv.mkDerivation rec { pname = "ne"; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { substituteInPlace src/makefile --replace "-lcurses" "-lncurses" ''; - nativeBuildInputs = [ texlive.combined.scheme-medium texinfo perl ghostscript ]; + nativeBuildInputs = [ texlive.combined.scheme-medium texinfo6 perl ghostscript ]; buildInputs = [ ncurses ]; makeFlags = [ "PREFIX=${placeholder "out"}" ]; @@ -32,5 +32,6 @@ stdenv.mkDerivation rec { ''; license = licenses.gpl3; platforms = platforms.unix; + maintainers = with maintainers; [ geri1701 ]; }; } From 23bff8f3e088a88cd9fda3e6e0a643c2b7c39da3 Mon Sep 17 00:00:00 2001 From: Tom Hall Date: Tue, 9 May 2023 23:29:40 +0100 Subject: [PATCH 41/87] mapbox-gl-native: fix build Pull request submitted upstream: https://github.com/mapbox/mapbox-gl-native/pull/16666 --- pkgs/development/libraries/mapbox-gl-native/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/mapbox-gl-native/default.nix b/pkgs/development/libraries/mapbox-gl-native/default.nix index 7b6bf1ddef0e..f9212ea7cba9 100644 --- a/pkgs/development/libraries/mapbox-gl-native/default.nix +++ b/pkgs/development/libraries/mapbox-gl-native/default.nix @@ -35,6 +35,11 @@ mkDerivation rec { url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-compilation.patch?h=mapbox-gl-native"; hash = "sha256-KgJHyoIdKdnQo+gedns3C+mEXlaTH/UtyQsaYR1T3iI="; }) + (fetchpatch { + name = "fix-narrowing-conversion.patch"; + url = "https://github.com/mapbox/mapbox-gl-native/commit/2955d0e479f57a39a0af4a0fa7ca7683455cca58.patch"; + hash = "sha256-Jk7OLb9/mVtc2mm0AL1h9zcSiQ54jogNI+q6ojY0HEo="; + }) ]; postPatch = '' From fbb902a1c75dcf280fc06bb05de25d22f3194814 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 9 May 2023 19:37:58 +0000 Subject: [PATCH 42/87] firmware-manager: remove unused arguments --- .../linux/firmware/firmware-manager/default.nix | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkgs/os-specific/linux/firmware/firmware-manager/default.nix b/pkgs/os-specific/linux/firmware/firmware-manager/default.nix index 01fcc23df47c..bb7033e87744 100644 --- a/pkgs/os-specific/linux/firmware/firmware-manager/default.nix +++ b/pkgs/os-specific/linux/firmware/firmware-manager/default.nix @@ -2,16 +2,9 @@ , stdenv , rustPlatform , fetchFromGitHub -, xz , pkg-config , openssl -, dbus -, glib , udev -, cairo -, pango -, atk -, gdk-pixbuf , gtk3 , wrapGAppsHook }: From 0246cd4876ac36e435b108ea357739a1a3fedbaa Mon Sep 17 00:00:00 2001 From: Ryan Hendrickson Date: Tue, 9 May 2023 19:33:53 -0400 Subject: [PATCH 43/87] python3Packages.sqlalchemy-continuum: broken with SQLAlchemy 2 --- .../python-modules/sqlalchemy-continuum/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/sqlalchemy-continuum/default.nix b/pkgs/development/python-modules/sqlalchemy-continuum/default.nix index 44531ba12f27..e978defcbf4c 100644 --- a/pkgs/development/python-modules/sqlalchemy-continuum/default.nix +++ b/pkgs/development/python-modules/sqlalchemy-continuum/default.nix @@ -74,5 +74,8 @@ buildPythonPackage rec { changelog = "https://github.com/kvesteri/sqlalchemy-continuum/blob/${version}/CHANGES.rst"; license = licenses.bsd3; maintainers = with maintainers; [ ]; + + # https://github.com/kvesteri/sqlalchemy-continuum/issues/326 + broken = versionAtLeast sqlalchemy.version "2"; }; } From af6cab28602d657fdafbf86f3ca35744e54d360e Mon Sep 17 00:00:00 2001 From: Ryan Hendrickson Date: Tue, 9 May 2023 19:34:31 -0400 Subject: [PATCH 44/87] python3Packages.snowflake-sqlalchemy: broken with SQLAlchemy 2 --- .../python-modules/snowflake-sqlalchemy/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix b/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix index 1764f561169a..8f1f2cb95423 100644 --- a/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix +++ b/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix @@ -38,5 +38,8 @@ buildPythonPackage rec { homepage = "https://github.com/snowflakedb/snowflake-sqlalchemy"; license = licenses.asl20; maintainers = [ ]; + + # https://github.com/snowflakedb/snowflake-sqlalchemy/issues/380 + broken = versionAtLeast sqlalchemy.version "2"; }; } From c2857b982eec1abf549787295e69f62636a43c98 Mon Sep 17 00:00:00 2001 From: Ryan Hendrickson Date: Tue, 9 May 2023 19:40:09 -0400 Subject: [PATCH 45/87] python3Packages.telethon-session-sqlalchemy: broken with SQLAlchemy 2 --- .../python-modules/telethon-session-sqlalchemy/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/telethon-session-sqlalchemy/default.nix b/pkgs/development/python-modules/telethon-session-sqlalchemy/default.nix index 20fa793a8a63..346f7de2b898 100644 --- a/pkgs/development/python-modules/telethon-session-sqlalchemy/default.nix +++ b/pkgs/development/python-modules/telethon-session-sqlalchemy/default.nix @@ -23,5 +23,11 @@ buildPythonPackage rec { description = "SQLAlchemy backend for Telethon session storage"; license = licenses.mit; maintainers = with maintainers; [ nyanloutre ]; + + # Package requires SQLAlchemy <2 + # https://github.com/tulir/telethon-session-sqlalchemy/blob/d498503ddde332e190bfa47e70f0bfa59fe6b5ef/setup.py#L17 + # Repo is archived and so this is unlikely to change unless someone forks + # and takes over development + broken = versionAtLeast sqlalchemy.version "2"; }; } From da8350d08bd312b2850e83879f81795d008eef0e Mon Sep 17 00:00:00 2001 From: Ryan Hendrickson Date: Tue, 9 May 2023 19:52:24 -0400 Subject: [PATCH 46/87] python3Packages.sqlalchemy-jsonfield: 1.0.1.post0 -> 1.0.1.post0+2023-04-24 Bump to unreleased version to support SQLAlchemy 2 and unbreak the build. --- .../python-modules/sqlalchemy-jsonfield/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/sqlalchemy-jsonfield/default.nix b/pkgs/development/python-modules/sqlalchemy-jsonfield/default.nix index b58fcffd94e5..c4129974154a 100644 --- a/pkgs/development/python-modules/sqlalchemy-jsonfield/default.nix +++ b/pkgs/development/python-modules/sqlalchemy-jsonfield/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "sqlalchemy-jsonfield"; - version = "1.0.1.post0"; + version = "1.0.1.post0+2023-04-24"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -22,8 +22,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "penguinolog"; repo = "sqlalchemy_jsonfield"; - rev = "refs/tags/${version}"; - hash = "sha256-dSvqUXZzr+s/v8QEtqrv6slI7p1akXwAxi68D9ctyuU="; + rev = "a1efda9755055c1d382257fb4ef78006b713d07e"; + hash = "sha256-6l4LEGpA8dKPw8M4quStd1nWyshMNiwQojBCxKwRRXA="; }; SETUPTOOLS_SCM_PRETEND_VERSION = "v${version}"; From 198efbbc9e073c7e20bd654aa32be9e15043760d Mon Sep 17 00:00:00 2001 From: Lein Matsumaru Date: Wed, 10 May 2023 00:56:43 +0000 Subject: [PATCH 47/87] exploitdb: 2023-05-08 -> 2023-05-10 --- pkgs/tools/security/exploitdb/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/exploitdb/default.nix b/pkgs/tools/security/exploitdb/default.nix index bd733d59f71b..5deebcfffa16 100644 --- a/pkgs/tools/security/exploitdb/default.nix +++ b/pkgs/tools/security/exploitdb/default.nix @@ -6,13 +6,13 @@ stdenv.mkDerivation rec { pname = "exploitdb"; - version = "2023-05-08"; + version = "2023-05-10"; src = fetchFromGitLab { owner = "exploit-database"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-MbSPBlepTQXCnPT9Yl/mB3N7HzJj8HwV3+ENOKdfYHo="; + hash = "sha256-09Z4RKLwJGcM11sD5gGBRRJ6ccSJuzDqoPYcr3I4Plg="; }; nativeBuildInputs = [ From 7bcb2dff5223cd37ee8c7398ea9faa44130e0ae9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 10 May 2023 03:31:01 +0200 Subject: [PATCH 48/87] python310Packages.samsungtvws: 2.5.0 -> 2.6.0 https://github.com/xchwarze/samsung-tv-ws-api/compare/v2.5.0...v2.6.0 --- pkgs/development/python-modules/samsungtvws/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/samsungtvws/default.nix b/pkgs/development/python-modules/samsungtvws/default.nix index 6284dccc3e2e..af56a5bd5bae 100644 --- a/pkgs/development/python-modules/samsungtvws/default.nix +++ b/pkgs/development/python-modules/samsungtvws/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { pname = "samsungtvws"; - version = "2.5.0"; + version = "2.6.0"; format = "setuptools"; disabled = isPy27; @@ -31,7 +31,7 @@ buildPythonPackage rec { owner = "xchwarze"; repo = "samsung-tv-ws-api"; rev = "v${version}"; - hash = "sha256-AimG5tyTRBETpivC2BwCuoR4o7y98YT6u5sogJlcmoo="; + hash = "sha256-mkjfimzu7paz+ZskartL052AfUBtL1xU0eOlrHgD1UE="; }; propagatedBuildInputs = [ From cf4250bef000f8651a45dfadaa791f1a089a28e8 Mon Sep 17 00:00:00 2001 From: Antonio Nuno Monteiro Date: Tue, 9 May 2023 18:46:02 -0700 Subject: [PATCH 49/87] ocamlPackages.findlib: set dontDetectOcamlConflicts to {false,true} --- pkgs/development/tools/ocaml/findlib/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/ocaml/findlib/default.nix b/pkgs/development/tools/ocaml/findlib/default.nix index bcadfbc660ad..ac4050d9f283 100644 --- a/pkgs/development/tools/ocaml/findlib/default.nix +++ b/pkgs/development/tools/ocaml/findlib/default.nix @@ -50,7 +50,7 @@ stdenv.mkDerivation rec { if [[ -n "$conflict" ]]; then echo "Conflicting ocaml packages detected"; echo "$conflict" - echo "Set dontDetectOcamlConflicts to false to disable this check." + echo "Set dontDetectOcamlConflicts to true to disable this check." exit 1 fi } From ac4abaa9d521e4bc5ba5ac17ef5ebfda5e712a09 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Wed, 10 May 2023 05:01:50 +0200 Subject: [PATCH 50/87] nixos/tests/nginx: fix etag test flakiness --- nixos/tests/nginx.nix | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/nixos/tests/nginx.nix b/nixos/tests/nginx.nix index 2a7e0f48d868..8b1f921ec520 100644 --- a/nixos/tests/nginx.nix +++ b/nixos/tests/nginx.nix @@ -87,15 +87,23 @@ import ./make-test-python.nix ({ pkgs, ... }: { return etag - webserver.wait_for_unit("nginx") - webserver.wait_for_open_port(80) + def wait_for_nginx_on_port(port): + webserver.wait_for_unit("nginx") + webserver.wait_for_open_port(port) + + + # nginx can be ready before multi-user.target, in which case switching to + # a different configuration might not realize it needs to restart nginx. + webserver.wait_for_unit("multi-user.target") + + wait_for_nginx_on_port(80) with subtest("check ETag if serving Nix store paths"): old_etag = check_etag() webserver.succeed( "${etagSystem}/bin/switch-to-configuration test >&2" ) - webserver.sleep(1) + wait_for_nginx_on_port(80) new_etag = check_etag() assert old_etag != new_etag @@ -103,7 +111,7 @@ import ./make-test-python.nix ({ pkgs, ... }: { webserver.succeed( "${justReloadSystem}/bin/switch-to-configuration test >&2" ) - webserver.wait_for_open_port(8080) + wait_for_nginx_on_port(8080) webserver.fail("journalctl -u nginx | grep -q -i stopped") webserver.succeed("journalctl -u nginx | grep -q -i reloaded") @@ -111,7 +119,7 @@ import ./make-test-python.nix ({ pkgs, ... }: { webserver.succeed( "${reloadRestartSystem}/bin/switch-to-configuration test >&2" ) - webserver.wait_for_unit("nginx") + wait_for_nginx_on_port(80) webserver.succeed("journalctl -u nginx | grep -q -i stopped") with subtest("nixos-rebuild --switch should fail when there are configuration errors"): From 74ef3b15754ff277f293a5c065289727060137b3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 May 2023 03:42:33 +0000 Subject: [PATCH 51/87] saml2aws: 2.36.6 -> 2.36.7 --- pkgs/tools/security/saml2aws/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/saml2aws/default.nix b/pkgs/tools/security/saml2aws/default.nix index e7dc4954b0e9..c1deba408300 100644 --- a/pkgs/tools/security/saml2aws/default.nix +++ b/pkgs/tools/security/saml2aws/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "saml2aws"; - version = "2.36.6"; + version = "2.36.7"; src = fetchFromGitHub { owner = "Versent"; repo = "saml2aws"; rev = "v${version}"; - sha256 = "sha256-llEdO19TvHzvH4sV1c+1dHqowG2fVLOqMOqCrH6Urws="; + sha256 = "sha256-Z+rudexDydpM/pExs6TvVTm03qIATf7uLRTQZKgBnLw="; }; - vendorHash = "sha256-MXm1V8GrjZn/x0Q6fW8zJN351zVsPGME4eFg6f8cEX8="; + vendorHash = "sha256-h4jPaST15EsoWLsnTkO0GQDC+cTySMCyVnWFrdXeVDg="; buildInputs = lib.optionals stdenv.isDarwin [ AppKit ]; From 041e0686e96fc691662f4cf0a9a2b3f64335e37f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 May 2023 04:36:51 +0000 Subject: [PATCH 52/87] tessen: 2.2.0 -> 2.2.1 --- pkgs/tools/security/tessen/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/tessen/default.nix b/pkgs/tools/security/tessen/default.nix index 97a35414a22b..1113134a1451 100644 --- a/pkgs/tools/security/tessen/default.nix +++ b/pkgs/tools/security/tessen/default.nix @@ -12,13 +12,13 @@ stdenvNoCC.mkDerivation rec { pname = "tessen"; - version = "2.2.0"; + version = "2.2.1"; src = fetchFromSourcehut { owner = "~ayushnix"; repo = pname; rev = "v${version}"; - sha256 = "sha256-7hiH1il9vFkrld5wFU+jT7IuudKwigO7ggFuwVbkvYw="; + sha256 = "sha256-8hhYOd5h55kl7ChqdyRzsaxzWLpX41aqG8LfznmbFWw="; }; nativeBuildInputs = [ makeWrapper installShellFiles scdoc ]; From c3d4465abf8b39b88253ad3a0b35ecd90e6ffa7e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 May 2023 05:07:22 +0000 Subject: [PATCH 53/87] asciidoctorj: 2.5.7 -> 2.5.8 --- pkgs/tools/typesetting/asciidoctorj/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/typesetting/asciidoctorj/default.nix b/pkgs/tools/typesetting/asciidoctorj/default.nix index c09d6381bec4..8a2be4964818 100644 --- a/pkgs/tools/typesetting/asciidoctorj/default.nix +++ b/pkgs/tools/typesetting/asciidoctorj/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "asciidoctorj"; - version = "2.5.7"; + version = "2.5.8"; src = fetchzip { url = "mirror://maven/org/asciidoctor/${pname}/${version}/${pname}-${version}-bin.zip"; - sha256 = "sha256-LUbzS2XYSsSPyJmyvitS5or0S4o9SB2ycMkuAWyVB8w="; + sha256 = "sha256-Xn6uIHEsyIXA9ls0bZZHdW7aKcgdub9C6g7lQ853tiQ="; }; nativeBuildInputs = [ makeWrapper ]; From 0f341a032cfad8b435ba31cb8cd2c23ab5a254c5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 May 2023 05:20:47 +0000 Subject: [PATCH 54/87] vivaldi: 6.0.2979.15 -> 6.0.2979.18 --- pkgs/applications/networking/browsers/vivaldi/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/browsers/vivaldi/default.nix b/pkgs/applications/networking/browsers/vivaldi/default.nix index b01b12764b22..551f7472d911 100644 --- a/pkgs/applications/networking/browsers/vivaldi/default.nix +++ b/pkgs/applications/networking/browsers/vivaldi/default.nix @@ -23,7 +23,7 @@ let vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi"; in stdenv.mkDerivation rec { pname = "vivaldi"; - version = "6.0.2979.15"; + version = "6.0.2979.18"; suffix = { aarch64-linux = "arm64"; @@ -33,8 +33,8 @@ in stdenv.mkDerivation rec { src = fetchurl { url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}-1_${suffix}.deb"; hash = { - aarch64-linux = "sha256-6rETxeExtHxWrKFO0MHzjLgnaHUeREVqsOB9264jZr8="; - x86_64-linux = "sha256-vvN0AxrKotphYIpkyOKHBgEOQtF4LvYBV1cB591ICbc="; + aarch64-linux = "sha256-S3b0mmWsQhWDKPz34Gzb50q+wAURAFNEt6IvCqo8CMs="; + x86_64-linux = "sha256-uqhXL7kndmGoOOalyQ6mVxRB3k8L11UJzADCnNakj64="; }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); }; From 43d67f750fd7f62a8cf3496654ac138718629255 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 07:22:18 +0200 Subject: [PATCH 55/87] python310Packages.pygtfs: fix version specifier --- pkgs/development/python-modules/pygtfs/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/pygtfs/default.nix b/pkgs/development/python-modules/pygtfs/default.nix index 38f62d9e658a..edded89ab5f4 100644 --- a/pkgs/development/python-modules/pygtfs/default.nix +++ b/pkgs/development/python-modules/pygtfs/default.nix @@ -22,6 +22,12 @@ buildPythonPackage rec { hash = "sha256-sGJwtf8DVIrE4hcU3IksnyAAt8yf67UBJIiVILDSsv8="; }; + postPatch = '' + # https://github.com/jarondl/pygtfs/pull/72 + substituteInPlace setup.py \ + --replace "pytz>=2012d" "pytz" + ''; + nativeBuildInputs = [ setuptools-scm ]; From d29840b6d57b6128c48bdcb8452e55a3d4283a98 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 07:40:14 +0200 Subject: [PATCH 56/87] httpx: 1.3.0 -> 1.3.1 Changelog: https://github.com/projectdiscovery/httpx/releases/tag/v1.3.1 --- pkgs/tools/security/httpx/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/httpx/default.nix b/pkgs/tools/security/httpx/default.nix index 420806038774..2e17f5b2578c 100644 --- a/pkgs/tools/security/httpx/default.nix +++ b/pkgs/tools/security/httpx/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "httpx"; - version = "1.3.0"; + version = "1.3.1"; src = fetchFromGitHub { owner = "projectdiscovery"; repo = "httpx"; rev = "refs/tags/v${version}"; - hash = "sha256-u4nftveDvwco5sZa21z4MHf/5F+M0cQUGffueeJpyL4="; + hash = "sha256-QTD8aPpsqfMcCWT+b4V5z6dIrVW86sVi5WqShN055P0="; }; - vendorHash = "sha256-i/Fvuy9wzXot114BI0rIbLWDW70VEaDKGThTcTZLx1M="; + vendorHash = "sha256-rXzAZTJtX9RhUjqo+Xllnh00fBaQH1Yne+gKqmxLXUU="; subPackages = [ "cmd/httpx" ]; From 951c6d093f6af3140d79448f17e6c077551421ff Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 07:41:58 +0200 Subject: [PATCH 57/87] python310Packages.sonos-websocket: 0.1.0 -> 0.1.1 Changelog: https://github.com/jjlawren/sonos-websocket/releases/tag/0.1.1 --- pkgs/development/python-modules/sonos-websocket/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sonos-websocket/default.nix b/pkgs/development/python-modules/sonos-websocket/default.nix index 195c6cabc327..95eb7124901d 100644 --- a/pkgs/development/python-modules/sonos-websocket/default.nix +++ b/pkgs/development/python-modules/sonos-websocket/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "sonos-websocket"; - version = "0.1.0"; + version = "0.1.1"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "jjlawren"; repo = "sonos-websocket"; rev = "refs/tags/${version}"; - hash = "sha256-Pb+L+823Clka0IjVMVEx4A0tJsI1IUhrFbx5Jy+xkgg="; + hash = "sha256-8fHHaHvJKZOnzSaclt+TSQgcP2O6fmjU3+cF1nJpjOI="; }; nativeBuildInputs = [ From f531099a1f1d4e6ef1a9993ed5644635dc71bb5b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 07:46:31 +0200 Subject: [PATCH 58/87] python310Packages.pyvicare: 2.27.1 -> 2.27.2 --- pkgs/development/python-modules/pyvicare/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyvicare/default.nix b/pkgs/development/python-modules/pyvicare/default.nix index 846eacbf1bc4..03b0333daf63 100644 --- a/pkgs/development/python-modules/pyvicare/default.nix +++ b/pkgs/development/python-modules/pyvicare/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "pyvicare"; - version = "2.27.1"; + version = "2.27.2"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "somm15"; repo = "PyViCare"; rev = "refs/tags/${version}"; - hash = "sha256-PlXVsDLCEBjsll9cXPJqvNSFyjtGol9jXYWzaYHWNw4="; + hash = "sha256-BLvHZRIHj+HysdGcq51Ry3unbT2BQd7lwslAo9n9SdY="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; From 019f3c81ab2a5b691e200e4d520231a56b0fd8fe Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 07:47:08 +0200 Subject: [PATCH 59/87] python310Packages.python-roborock: 0.13.4 -> 0.15.0 Changelog: https://github.com/humbertogontijo/python-roborock/blob/v0.15.0/CHANGELOG.md --- pkgs/development/python-modules/python-roborock/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-roborock/default.nix b/pkgs/development/python-modules/python-roborock/default.nix index 0c622e0e4f27..d07d71bd5dac 100644 --- a/pkgs/development/python-modules/python-roborock/default.nix +++ b/pkgs/development/python-modules/python-roborock/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "python-roborock"; - version = "0.13.4"; + version = "0.15.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "humbertogontijo"; repo = "python-roborock"; rev = "refs/tags/v${version}"; - hash = "sha256-gR8fp2ppVxc1ALRNQn+I8oXZWkQN5yd5vQlnATp6PoM="; + hash = "sha256-Cyp/uCSQTDB21v+nRu73gfJgTGm3qvdkyXXMPXMsMVA="; }; nativeBuildInputs = [ From d319b3158864fe1fe29f54ecaac59bf38bf3f2bc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 07:48:13 +0200 Subject: [PATCH 60/87] python310Packages.pontos: 23.5.0 -> 23.5.1 Changelog: https://github.com/greenbone/pontos/releases/tag/v23.5.1 --- pkgs/development/python-modules/pontos/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pontos/default.nix b/pkgs/development/python-modules/pontos/default.nix index 4fc01a41bd33..6f20085c41f3 100644 --- a/pkgs/development/python-modules/pontos/default.nix +++ b/pkgs/development/python-modules/pontos/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "pontos"; - version = "23.5.0"; + version = "23.5.1"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "greenbone"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-GboOp0lsJ5nsZ6PIUqqCVLmroppKFR/xBnd9DqNw030="; + hash = "sha256-nUVJjBebHOY0/oN/Cl2HdaLGnDVgLsUK7Yd+johP1PM="; }; nativeBuildInputs = [ From 58dc3d1bace510c435a14e5433122eb5e81244aa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 07:52:11 +0200 Subject: [PATCH 61/87] python310Packages.nox: 2022.11.21 -> 2023.04.22 Changelog: https://github.com/wntrblm/nox/blob/2023.04.22/CHANGELOG.md --- .../python-modules/nox/default.nix | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/nox/default.nix b/pkgs/development/python-modules/nox/default.nix index bc84559345a4..0b6067cb1cfb 100644 --- a/pkgs/development/python-modules/nox/default.nix +++ b/pkgs/development/python-modules/nox/default.nix @@ -3,8 +3,7 @@ , buildPythonPackage , colorlog , fetchFromGitHub -, fetchpatch -, setuptools +, hatchling , importlib-metadata , jinja2 , packaging @@ -17,7 +16,7 @@ buildPythonPackage rec { pname = "nox"; - version = "2022.11.21"; + version = "2023.04.22"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -26,20 +25,11 @@ buildPythonPackage rec { owner = "wntrblm"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-N70yBZyrtdQvgaJzkskG3goHit8eH0di9jHycuAwzfU="; + hash = "sha256-WuyNp3jxIktI72zbk+1CK8xflTKrYE5evn/gVdMx+cQ="; }; - patches = [ - # Remove rogue mocking of py._path, https://github.com/wntrblm/nox/pull/677 - (fetchpatch { - name = "remove-py-pyth.patch"; - url = "https://github.com/wntrblm/nox/commit/44d06b679761e21d76bb96b2b8ffe0ffbe3d4fd0.patch"; - hash = "sha256-KRDVwbBMBd4GdiAcGJyS7DTNUw3Pumt0JO1igx6npnc="; - }) - ]; - nativeBuildInputs = [ - setuptools + hatchling ]; propagatedBuildInputs = [ @@ -52,7 +42,6 @@ buildPythonPackage rec { importlib-metadata ]; - checkInputs = [ jinja2 tox From dd21449c73c2514dc58b76f1fe05175bd12f1a96 Mon Sep 17 00:00:00 2001 From: aleksana Date: Wed, 10 May 2023 00:00:35 +0800 Subject: [PATCH 62/87] health: init at 0.94.0 --- pkgs/applications/misc/health/default.nix | 79 +++++++++++++++++++ .../misc/health/update_gtk4_cargo_deps.patch | 28 +++++++ pkgs/top-level/all-packages.nix | 2 + 3 files changed, 109 insertions(+) create mode 100644 pkgs/applications/misc/health/default.nix create mode 100644 pkgs/applications/misc/health/update_gtk4_cargo_deps.patch diff --git a/pkgs/applications/misc/health/default.nix b/pkgs/applications/misc/health/default.nix new file mode 100644 index 000000000000..84683c1a4d39 --- /dev/null +++ b/pkgs/applications/misc/health/default.nix @@ -0,0 +1,79 @@ +{ lib +, stdenv +, fetchFromGitLab +, fetchpatch +, meson +, ninja +, pkg-config +, rustPlatform +, rustc +, cargo +, wrapGAppsHook4 +, blueprint-compiler +, libadwaita +, libsecret +, tracker +, darwin +}: + +stdenv.mkDerivation rec { + pname = "health"; + version = "0.94.0"; + + src = fetchFromGitLab { + domain = "gitlab.gnome.org"; + owner = "World"; + repo = pname; + rev = version; + hash = "sha256-KS0sdCQg2LqQB0K1cUbAjA8VITn5rAb8XCWjOKYbPqM="; + }; + + cargoDeps = rustPlatform.fetchCargoTarball { + inherit src; + patches = [ ./update_gtk4_cargo_deps.patch ]; + name = "${pname}-${version}"; + hash = "sha256-j0I0vKoGaf2pce2C/xkz+nJYCfLvHB5F6Q9XpJtABMI="; + }; + + patches = [ + (fetchpatch { + url = "https://aur.archlinux.org/cgit/aur.git/plain/max_size_tightending_thresh_0.94.0.patch?h=health&id=d35d89760964b00ad457eca07855143a1dcbabdf"; + hash = "sha256-ndoxyrm+SVGVxfUbc5sQItQwzK75ZtKMSGUOB9mzBmo="; + }) + (fetchpatch { + url = "https://aur.archlinux.org/cgit/aur.git/plain/max_value_0.94.0.patch?h=health&id=d35d89760964b00ad457eca07855143a1dcbabdf"; + hash = "sha256-YKVQNtz+RWN6Ydw+kbStCVf0vu0eTrMKGd6kEijFG00="; + }) + # patch both or it will complain Cargo.lock mismatch + ./update_gtk4_cargo_deps.patch + ]; + + nativeBuildInputs = [ + meson + ninja + pkg-config + rustPlatform.cargoSetupHook + rustc + cargo + wrapGAppsHook4 + blueprint-compiler + ]; + + buildInputs = [ + libadwaita + libsecret + tracker + ] ++ lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.Security + darwin.apple_sdk.frameworks.Foundation + ]; + + meta = with lib; { + description = "A health tracking app for the GNOME desktop"; + homepage = "https://apps.gnome.org/app/dev.Cogitri.Health"; + license = licenses.gpl3Plus; + mainProgram = "dev.Cogitri.Health"; + maintainers = with maintainers; [ aleksana ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/applications/misc/health/update_gtk4_cargo_deps.patch b/pkgs/applications/misc/health/update_gtk4_cargo_deps.patch new file mode 100644 index 000000000000..9c22a8465b72 --- /dev/null +++ b/pkgs/applications/misc/health/update_gtk4_cargo_deps.patch @@ -0,0 +1,28 @@ +diff --git a/Cargo.lock b/Cargo.lock +index 0331121..8d290e4 100644 +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -829,9 +829,9 @@ checksum = "da5bf7748fd4cd0b2490df8debcc911809dbcbee4ece9531b96c29a9c729de5a" + + [[package]] + name = "gtk4" +-version = "0.4.8" ++version = "0.4.9" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "c64f0c2a3d80e899dc3febddad5bac193ffcf74a0fd7e31037f30dd34d6f7396" ++checksum = "4e8ae5aef2793bc3551b5e5e3fa062a5de54bb1eccf10dfa4effe9e4384fbbbc" + dependencies = [ + "bitflags", + "cairo-rs", +@@ -852,9 +852,9 @@ dependencies = [ + + [[package]] + name = "gtk4-macros" +-version = "0.4.8" ++version = "0.4.10" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "fafbcc920af4eb677d7d164853e7040b9de5a22379c596f570190c675d45f7a7" ++checksum = "6aba0b544e91a753068e279e99d34e9624b8cfd26282167024c8a5773b8a826c" + dependencies = [ + "anyhow", + "proc-macro-crate", diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 013f7bda2c86..c9a0b22f1228 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8406,6 +8406,8 @@ with pkgs; headscale = callPackage ../servers/headscale { }; + health = callPackage ../applications/misc/health { }; + healthchecks = callPackage ../servers/web-apps/healthchecks { }; heisenbridge = callPackage ../servers/heisenbridge { }; From b5c33e64800c9eefcc1f5832cf530423c5109256 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 08:14:18 +0200 Subject: [PATCH 63/87] python310Packages.archinfo: 9.2.49 -> 9.2.50 --- pkgs/development/python-modules/archinfo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/archinfo/default.nix b/pkgs/development/python-modules/archinfo/default.nix index 6249a0a6270c..9cb36fac740c 100644 --- a/pkgs/development/python-modules/archinfo/default.nix +++ b/pkgs/development/python-modules/archinfo/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "archinfo"; - version = "9.2.49"; + version = "9.2.50"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-FbI2XX5/gc3bTW28alT8qEEQ46UEkQf5cO37jJcFVBs="; + hash = "sha256-36BWuqK6/cPPSpL4sb97+w4re65bUU3ySiCcOUXh79M="; }; nativeBuildInputs = [ From b4e49c00619d019947b576e23068dbc076686f7a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 08:14:21 +0200 Subject: [PATCH 64/87] python310Packages.ailment: 9.2.49 -> 9.2.50 --- pkgs/development/python-modules/ailment/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ailment/default.nix b/pkgs/development/python-modules/ailment/default.nix index 383837d7a117..9c16ad8cd802 100644 --- a/pkgs/development/python-modules/ailment/default.nix +++ b/pkgs/development/python-modules/ailment/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "ailment"; - version = "9.2.49"; + version = "9.2.50"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-pKQNaPRdsjS8RHPAsZCHEm9eiCOuAxQymDowvpeg7W0="; + hash = "sha256-npqwIwAUUFrwg9/+rERRhqU68GCDueTZ1N5LKFWvmms="; }; nativeBuildInputs = [ From 7cbde41202e85cddbea74eb318a401d3988160fd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 08:14:27 +0200 Subject: [PATCH 65/87] python310Packages.pyvex: 9.2.49 -> 9.2.50 --- pkgs/development/python-modules/pyvex/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyvex/default.nix b/pkgs/development/python-modules/pyvex/default.nix index 388515d57d44..47098e3f72d1 100644 --- a/pkgs/development/python-modules/pyvex/default.nix +++ b/pkgs/development/python-modules/pyvex/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "pyvex"; - version = "9.2.49"; + version = "9.2.50"; format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-RtTejAkyvFLOr2zA7AKJUkz3Zjhxsz8ippn64T37qXU="; + hash = "sha256-DfC1POGV6bR3p0LqZBfmX2BkFvhdn4QjHgZkDwznSyE="; }; nativeBuildInputs = [ From 33c5d328a1f8f48b96789602128ebc61102ad469 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 08:14:31 +0200 Subject: [PATCH 66/87] python310Packages.claripy: 9.2.49 -> 9.2.50 --- pkgs/development/python-modules/claripy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/claripy/default.nix b/pkgs/development/python-modules/claripy/default.nix index 8af2ce37f4db..0e1d3f483a0e 100644 --- a/pkgs/development/python-modules/claripy/default.nix +++ b/pkgs/development/python-modules/claripy/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "claripy"; - version = "9.2.49"; + version = "9.2.50"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-PTlkyu8Thm81VO9HIhNUwGxDBEQedfs3RYfZW5ZEAaY="; + hash = "sha256-bHo1hpLLrJVZ8BxupsavreY6JTmuGboLODT8so6Fx1c="; }; nativeBuildInputs = [ From 46c218f9d84b00c6e46130b875ebb09122909b14 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 08:14:35 +0200 Subject: [PATCH 67/87] python310Packages.cle: 9.2.49 -> 9.2.50 --- pkgs/development/python-modules/cle/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cle/default.nix b/pkgs/development/python-modules/cle/default.nix index 7e1868142f58..fe7bb4744f0a 100644 --- a/pkgs/development/python-modules/cle/default.nix +++ b/pkgs/development/python-modules/cle/default.nix @@ -16,7 +16,7 @@ let # The binaries are following the argr projects release cycle - version = "9.2.49"; + version = "9.2.50"; # Binary files from https://github.com/angr/binaries (only used for testing and only here) binaries = fetchFromGitHub { @@ -38,7 +38,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-xNYAYXKrfpvY9oYPmiR6GNaWAIUi9w1T9YznosIABSs="; + hash = "sha256-pThCJlxx2IkLJhc+U5H6fSQy8QLFQr6cIILsdlEA8wM="; }; nativeBuildInputs = [ From bc75ed903e5fefc09d1a58fac7b7b442c9c807f3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 08:14:40 +0200 Subject: [PATCH 68/87] python310Packages.angr: 9.2.49 -> 9.2.50 --- pkgs/development/python-modules/angr/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/angr/default.nix b/pkgs/development/python-modules/angr/default.nix index 9bd3781f8a77..0669407729bf 100644 --- a/pkgs/development/python-modules/angr/default.nix +++ b/pkgs/development/python-modules/angr/default.nix @@ -32,7 +32,7 @@ buildPythonPackage rec { pname = "angr"; - version = "9.2.49"; + version = "9.2.50"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -41,7 +41,7 @@ buildPythonPackage rec { owner = pname; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-6SHg1topRXQlZ2kDCcOyPbNpGl7Na9vcOgOthQ44tCs="; + hash = "sha256-lsQ0pMabd1nC9ysR38u2rlGOGY+onk3qV1V68AZBQy4="; }; propagatedBuildInputs = [ From cd736119562f8a0382dbbd60ec3de5556a0ebf76 Mon Sep 17 00:00:00 2001 From: aleksana Date: Tue, 9 May 2023 21:31:00 +0800 Subject: [PATCH 69/87] swayosd: init at unstable-2023-05-09 --- .../applications/window-managers/sway/osd.nix | 38 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 39 insertions(+) create mode 100644 pkgs/applications/window-managers/sway/osd.nix diff --git a/pkgs/applications/window-managers/sway/osd.nix b/pkgs/applications/window-managers/sway/osd.nix new file mode 100644 index 000000000000..6e4c57c4954f --- /dev/null +++ b/pkgs/applications/window-managers/sway/osd.nix @@ -0,0 +1,38 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, pkg-config +, gtk3 +, gtk-layer-shell +, libpulseaudio +}: + +rustPlatform.buildRustPackage { + pname = "swayosd"; + version = "unstable-2023-05-09"; + + src = fetchFromGitHub { + owner = "ErikReider"; + repo = "SwayOSD"; + rev = "5c2176ae6a01a18fdc2b0f5d5f593737b5765914"; + hash = "sha256-rh42J6LWgNPOWYLaIwocU1JtQnA5P1jocN3ywVOfYoc="; + }; + + cargoHash = "sha256-ZcgrUcRQTcEYhw2mpJDuYDz3I/u/2Q+O60ajXYRMeow="; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ + gtk3 + gtk-layer-shell + libpulseaudio + ]; + + meta = with lib; { + description = "A GTK based on screen display for keyboard shortcuts"; + homepage = "https://github.com/ErikReider/SwayOSD"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ aleksana ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 013f7bda2c86..6845c07a0dc7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31098,6 +31098,7 @@ with pkgs; swaybg = callPackage ../applications/window-managers/sway/bg.nix { }; swayidle = callPackage ../applications/window-managers/sway/idle.nix { }; swaylock = callPackage ../applications/window-managers/sway/lock.nix { }; + swayosd = callPackage ../applications/window-managers/sway/osd.nix { }; swayws = callPackage ../applications/window-managers/sway/ws.nix { }; swaywsr = callPackage ../applications/window-managers/sway/wsr.nix { }; sway-contrib = recurseIntoAttrs (callPackages ../applications/window-managers/sway/contrib.nix { }); From e6376a45e6c93ac3bcc64724b7d6fd666a0fe3f9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 08:19:58 +0200 Subject: [PATCH 70/87] python310Packages.samsungtvws: add changelog to meta --- pkgs/development/python-modules/samsungtvws/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/samsungtvws/default.nix b/pkgs/development/python-modules/samsungtvws/default.nix index af56a5bd5bae..d1f5236639f3 100644 --- a/pkgs/development/python-modules/samsungtvws/default.nix +++ b/pkgs/development/python-modules/samsungtvws/default.nix @@ -63,6 +63,7 @@ buildPythonPackage rec { meta = with lib; { description = "Samsung Smart TV WS API wrapper"; homepage = "https://github.com/xchwarze/samsung-tv-ws-api"; + changelog = "https://github.com/xchwarze/samsung-tv-ws-api/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; }; From 1dada7b9eb248a56b98b5a6dd48d566fd785f6ad Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 08:45:10 +0200 Subject: [PATCH 71/87] python310Packages.pytrafikverket: 0.3.1 -> 0.3.3 Changelog: https://github.com/endor-force/pytrafikverket/releases/tag/0.3.3 --- pkgs/development/python-modules/pytrafikverket/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytrafikverket/default.nix b/pkgs/development/python-modules/pytrafikverket/default.nix index 4a0debfe0f3f..459285c66ee6 100644 --- a/pkgs/development/python-modules/pytrafikverket/default.nix +++ b/pkgs/development/python-modules/pytrafikverket/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "pytrafikverket"; - version = "0.3.1"; + version = "0.3.3"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-foTIzWk/Y1H6OK+OAIU5VPlb/+gevc8WP9TzpYtnWvM="; + hash = "sha256-Lq6YAYScBYRA2ltv+ohWfMasqohCH5zrnCi+sQbQWLI="; }; propagatedBuildInputs = [ From 98fc22f4f0d581c9a28bde267a596c50bcc0fb5e Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 10 May 2023 08:29:16 +0100 Subject: [PATCH 72/87] libfsm: 0.1pre2442 -> 0.1pre2987 Update to fix compatibility with modern `bmake`. While at it disabled parallel building to workaround install failures. ZHF: #230712 --- pkgs/development/libraries/libfsm/default.nix | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/pkgs/development/libraries/libfsm/default.nix b/pkgs/development/libraries/libfsm/default.nix index f1e704448de8..9840b875f331 100644 --- a/pkgs/development/libraries/libfsm/default.nix +++ b/pkgs/development/libraries/libfsm/default.nix @@ -1,21 +1,30 @@ -{ lib, stdenv, fetchFromGitHub +{ lib +, stdenv +, fetchFromGitHub , bmake +, docbook_xsl +, libxslt }: stdenv.mkDerivation rec { pname = "libfsm"; - version = "0.1pre2442_${builtins.substring 0 8 src.rev}"; + version = "0.1pre2987_${builtins.substring 0 8 src.rev}"; src = fetchFromGitHub { owner = "katef"; repo = pname; - rev = "9c5095f7364fa464efff6c81fad9b60b19dfcc99"; - sha256 = "1bs51agvrrwqid0slq2svj2yj7kkjdsnv3xsrk8zmf1jbgza6jrm"; + rev = "087e3389ad2cd5e5c40caeb40387e632567d7258"; + hash = "sha256-XWrZxnRbMB609l+sYFf8VsXy3NxqBsBPUrHgKLIyu/I="; fetchSubmodules = true; }; - nativeBuildInputs = [ bmake ]; + nativeBuildInputs = [ + bmake + docbook_xsl + libxslt # xsltproc + ]; enableParallelBuilding = true; + enableParallelInstalling = false; # note: build checks value of '$CC' to add some extra cflags, but we don't # necessarily know which 'stdenv' someone chose, so we leave it alone (e.g. From 11977034838420a3247f0164bbea8d57d6c97f57 Mon Sep 17 00:00:00 2001 From: Dan Callaghan Date: Wed, 10 May 2023 17:59:24 +1000 Subject: [PATCH 73/87] libjaylink: enable on darwin also --- pkgs/development/libraries/libjaylink/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libjaylink/default.nix b/pkgs/development/libraries/libjaylink/default.nix index 84ce6e9f2599..5d461940dcea 100644 --- a/pkgs/development/libraries/libjaylink/default.nix +++ b/pkgs/development/libraries/libjaylink/default.nix @@ -31,6 +31,6 @@ stdenv.mkDerivation rec { description = "libjaylink is a shared library written in C to access SEGGER J-Link and compatible devices."; license = licenses.gpl2Plus; maintainers = with maintainers; [ felixsinger ]; - platforms = platforms.linux; + platforms = platforms.unix; }; } From 74bfdd4fa5849400724a2584481aa9be1fd1b9df Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 10:23:29 +0200 Subject: [PATCH 74/87] python310Packages.netutils: disable failing tests --- pkgs/development/python-modules/netutils/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/netutils/default.nix b/pkgs/development/python-modules/netutils/default.nix index 3ca143638ca4..19a5be4077d2 100644 --- a/pkgs/development/python-modules/netutils/default.nix +++ b/pkgs/development/python-modules/netutils/default.nix @@ -44,8 +44,11 @@ buildPythonPackage rec { "test_is_fqdn_resolvable" "test_fqdn_to_ip" "test_tcp_ping" - # Skip SPhinx test + # Skip Sphinx test "test_sphinx_build" + # OSError: [Errno 22] Invalid argument + "test_compare_type5" + "test_encrypt_type5" ]; meta = with lib; { From 2f52d09a70f1a3e10fff0088549dfb0bf3b56a58 Mon Sep 17 00:00:00 2001 From: Tom Hall Date: Wed, 10 May 2023 09:36:10 +0100 Subject: [PATCH 75/87] osmscout-server: 2.2.2 -> 3.0.0 --- pkgs/applications/misc/osmscout-server/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/osmscout-server/default.nix b/pkgs/applications/misc/osmscout-server/default.nix index c463ade39862..6b7c5ac2c833 100644 --- a/pkgs/applications/misc/osmscout-server/default.nix +++ b/pkgs/applications/misc/osmscout-server/default.nix @@ -14,13 +14,13 @@ let in mkDerivation rec { pname = "osmscout-server"; - version = "2.2.2"; + version = "3.0.0"; src = fetchFromGitHub { owner = "rinigus"; repo = "osmscout-server"; rev = version; - sha256 = "sha256-ngB3c6rUQ/+AeaJHKAFRl9lCkUobLWSnsn030brB+Bw="; + hash = "sha256-jcg/0SKeLviEC+vszh5DployKDAI7N+a8lzvImzFTvY="; fetchSubmodules = true; }; From 69fce48b0d6654ab74618fcbf575a2e6d9498bac Mon Sep 17 00:00:00 2001 From: "Emil \"AngryAnt\" Johansen" Date: Tue, 9 May 2023 12:35:34 +0200 Subject: [PATCH 76/87] rusty-psn-gui: fix build, lib.optionals --- pkgs/applications/misc/rusty-psn/default.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/rusty-psn/default.nix b/pkgs/applications/misc/rusty-psn/default.nix index fbea2a7b8037..d9e713b0abf7 100644 --- a/pkgs/applications/misc/rusty-psn/default.nix +++ b/pkgs/applications/misc/rusty-psn/default.nix @@ -5,6 +5,11 @@ , makeDesktopItem , copyDesktopItems , pkg-config +, cmake +, fontconfig +, glib +, gtk3 +, freetype , openssl , xorg , libGL @@ -26,10 +31,18 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config + ] ++ lib.optionals withGui [ copyDesktopItems + cmake ]; - buildInputs = if withGui then [ + buildInputs = [ + openssl + ] ++ lib.optionals withGui [ + fontconfig + glib + gtk3 + freetype openssl xorg.libxcb xorg.libX11 @@ -39,8 +52,6 @@ rustPlatform.buildRustPackage rec { xorg.libxcb libGL libGL.dev - ] else [ - openssl ]; buildNoDefaultFeatures = true; From 3cd12a984f50444eec29a236761bac4b99e5b0fb Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Wed, 10 May 2023 11:29:37 +0200 Subject: [PATCH 77/87] apache-jena: 4.7.0 -> 4.8.0 Fixes CVE-2023-22665. https://lists.apache.org/thread/s0dmpsxcwqs57l4qfs415klkgmhdxq7s Announcement: https://lists.apache.org/thread/o5x5tls77t13c3mc93dp2h4fgh1hr6kp --- pkgs/servers/nosql/apache-jena/binary.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/nosql/apache-jena/binary.nix b/pkgs/servers/nosql/apache-jena/binary.nix index cd30a12fb3fe..504f970e90fc 100644 --- a/pkgs/servers/nosql/apache-jena/binary.nix +++ b/pkgs/servers/nosql/apache-jena/binary.nix @@ -2,10 +2,10 @@ stdenv.mkDerivation rec { pname = "apache-jena"; - version = "4.7.0"; + version = "4.8.0"; src = fetchurl { - url = "https://dlcdn.apache.org/jena/binaries/apache-jena-${version}.tar.gz"; - sha256 = "sha256-3tJRJ9UHsOYfWvwPZHp+hkRZxb0RODchJjQMAZ3lkuY="; + url = "mirror://apache/jena/binaries/apache-jena-${version}.tar.gz"; + hash = "sha256-kAbhH0E2C1ToxDQgFUqWxvknCeFZbtqFhOmiSJ//ciU="; }; nativeBuildInputs = [ makeWrapper From 87768c64b9bf62452b14af613d56dc3200b84782 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Wed, 10 May 2023 11:31:51 +0200 Subject: [PATCH 78/87] apache-jena-fuseki: 4.3.1 -> 4.8.0 Announcement: https://lists.apache.org/thread/o5x5tls77t13c3mc93dp2h4fgh1hr6kp --- pkgs/servers/nosql/apache-jena/fuseki-binary.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/nosql/apache-jena/fuseki-binary.nix b/pkgs/servers/nosql/apache-jena/fuseki-binary.nix index caec7449b644..9e911721a32a 100644 --- a/pkgs/servers/nosql/apache-jena/fuseki-binary.nix +++ b/pkgs/servers/nosql/apache-jena/fuseki-binary.nix @@ -2,10 +2,10 @@ stdenv.mkDerivation rec { pname = "apache-jena-fuseki"; - version = "4.3.1"; + version = "4.8.0"; src = fetchurl { - url = "https://dlcdn.apache.org/jena/binaries/apache-jena-fuseki-${version}.tar.gz"; - sha256 = "1r0vfa7d55lzw22yfx46mxxmz8x8pkr666vggqw2m1rzzj52z9nx"; + url = "mirror://apache/jena/binaries/apache-jena-fuseki-${version}.tar.gz"; + hash = "sha256-rJCY8vG1vfEGGA0gsIqNFXKl75O2Zp4zUIWSDfplpVE="; }; nativeBuildInputs = [ makeWrapper From 5d6a91a1b5cdc4ec8eec191e81f2677487a1a963 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 11:32:19 +0200 Subject: [PATCH 79/87] python310Packages.asyncsleepiq: 1.3.4 -> 1.3.5 Changelog: https://github.com/kbickar/asyncsleepiq/releases/tag/v1.3.5 --- pkgs/development/python-modules/asyncsleepiq/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/asyncsleepiq/default.nix b/pkgs/development/python-modules/asyncsleepiq/default.nix index ebd6c48ef2e5..fcfa15fcb1de 100644 --- a/pkgs/development/python-modules/asyncsleepiq/default.nix +++ b/pkgs/development/python-modules/asyncsleepiq/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "asyncsleepiq"; - version = "1.3.4"; + version = "1.3.5"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-eW6iSGuaZ/cQZKN55b6tHsBPdYglxGYt7OoxV7czB8w="; + hash = "sha256-CLBKFDvhErnWNEs7xWLha2QgUvKRDmj0y1CYYKri3ag="; }; propagatedBuildInputs = [ From db420951839e37e397cfcaadcddbd7dd1e9ba47d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 May 2023 11:37:18 +0200 Subject: [PATCH 80/87] python310Packages.upb-lib: 0.5.3 -> 0.5.4 --- pkgs/development/python-modules/upb-lib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/upb-lib/default.nix b/pkgs/development/python-modules/upb-lib/default.nix index 50b4d7a4d0a5..092cb5ed50b1 100644 --- a/pkgs/development/python-modules/upb-lib/default.nix +++ b/pkgs/development/python-modules/upb-lib/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "upb-lib"; - version = "0.5.3"; + version = "0.5.4"; disabled = pythonOlder "3.7"; src = fetchPypi { pname = "upb_lib"; inherit version; - hash = "sha256-I1lnIr8ptDCyK8r0bvFWFPUGRwoMsQcNnSCSwzdt1Bc="; + hash = "sha256-KEnSADj+sQtz37Xbi6fXoe2TN+F5Z9SYnlvCgXtxVnk="; }; propagatedBuildInputs = [ From 4a33d3980cb769e2c75deef77b03e72a06bc26fe Mon Sep 17 00:00:00 2001 From: Phillip Seeber Date: Wed, 10 May 2023 11:45:34 +0200 Subject: [PATCH 81/87] hdf4: enable fortran and netcdf support hdf4: fortran disabled by default hdf4: fix formatting hdf4: optional netcdf support hdf4: disable fortran by default --- pkgs/tools/misc/hdf4/default.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/misc/hdf4/default.nix b/pkgs/tools/misc/hdf4/default.nix index 3bde0466cdba..b6577a17bb19 100644 --- a/pkgs/tools/misc/hdf4/default.nix +++ b/pkgs/tools/misc/hdf4/default.nix @@ -12,6 +12,9 @@ , szip , javaSupport ? false , jdk +, fortranSupport ? false +, gfortran +, netcdfSupport ? false }: stdenv.mkDerivation rec { pname = "hdf"; @@ -50,7 +53,7 @@ stdenv.mkDerivation rec { cmake ] ++ lib.optionals stdenv.isDarwin [ fixDarwinDylibNames - ]; + ] ++ lib.optional fortranSupport gfortran; buildInputs = [ libjpeg @@ -75,9 +78,8 @@ stdenv.mkDerivation rec { "-DHDF4_BUILD_UTILS=ON" "-DHDF4_BUILD_WITH_INSTALL_NAME=OFF" "-DHDF4_ENABLE_JPEG_LIB_SUPPORT=ON" - "-DHDF4_ENABLE_NETCDF=OFF" + "-DHDF4_ENABLE_NETCDF=${if netcdfSupport then "ON" else "OFF"}" "-DHDF4_ENABLE_Z_LIB_SUPPORT=ON" - "-DHDF4_BUILD_FORTRAN=OFF" "-DJPEG_DIR=${libjpeg}" ] ++ lib.optionals javaSupport [ "-DHDF4_BUILD_JAVA=ON" @@ -85,7 +87,13 @@ stdenv.mkDerivation rec { ] ++ lib.optionals szipSupport [ "-DHDF4_ENABLE_SZIP_ENCODING=ON" "-DHDF4_ENABLE_SZIP_SUPPORT=ON" - ]; + ] ++ (if fortranSupport + then [ + "-DHDF4_BUILD_FORTRAN=ON" + "-DCMAKE_Fortran_FLAGS=-fallow-argument-mismatch" + ] + else [ "-DHDF4_BUILD_FORTRAN=OFF" ] + ); doCheck = true; From c6a6098d0e383bfa55dd049f12a56410f0672e85 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 10 May 2023 11:58:08 +0300 Subject: [PATCH 82/87] nimPackages.vmath: fix build on darwin --- pkgs/development/nim-packages/vmath/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/nim-packages/vmath/default.nix b/pkgs/development/nim-packages/vmath/default.nix index bb6e1c266ea5..4a19a9c49bb3 100644 --- a/pkgs/development/nim-packages/vmath/default.nix +++ b/pkgs/development/nim-packages/vmath/default.nix @@ -1,4 +1,4 @@ -{ lib, buildNimPackage, fetchFromGitHub }: +{ lib, stdenv, buildNimPackage, fetchFromGitHub }: buildNimPackage rec { pname = "vmath"; @@ -11,7 +11,7 @@ buildNimPackage rec { hash = "sha256-/v0lQIOMogTxFRtbssziW4W6VhMDepM6Si8igLgcx30="; }; - doCheck = true; + doCheck = !stdenv.isDarwin; meta = with lib; src.meta // { From a94d3b30ed4abff907aba3e427837cce5a580291 Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Wed, 10 May 2023 10:54:42 +0100 Subject: [PATCH 83/87] opentelemetry-collector: 0.76.1 -> 0.77.0 Removed otelcontribcol stub since it's been warning users for 2 releases Fixed description to not be self-referential Fixed aarch64-darwin build Diff: https://github.com/open-telemetry/opentelemetry-collector/compare/v0.76.1...v0.77.0 Changelog: https://github.com/open-telemetry/opentelemetry-collector/blob/v0.77.0/CHANGELOG.md --- .../misc/opentelemetry-collector/default.nix | 29 +++++------ .../update_go-m1cpu_fix_aarch64-darwin.patch | 52 +++++++++++++++++++ 2 files changed, 64 insertions(+), 17 deletions(-) create mode 100644 pkgs/tools/misc/opentelemetry-collector/update_go-m1cpu_fix_aarch64-darwin.patch diff --git a/pkgs/tools/misc/opentelemetry-collector/default.nix b/pkgs/tools/misc/opentelemetry-collector/default.nix index 51b539a1ece2..836f357ddfe3 100644 --- a/pkgs/tools/misc/opentelemetry-collector/default.nix +++ b/pkgs/tools/misc/opentelemetry-collector/default.nix @@ -1,28 +1,27 @@ -{ buildGoModule +{ lib +, buildGoModule , fetchFromGitHub -, lib -, writeScript }: -let - otelcontribcol = writeScript "otelcontribcol" '' - echo 'ERROR: otelcontribcol is now in `pkgs.opentelemetry-collector-contrib`, call the collector with `otelcorecol` or move to `pkgs.opentelemetry-collector-contrib`' >&2 - exit 1 - ''; -in buildGoModule rec { pname = "opentelemetry-collector"; - version = "0.76.1"; + version = "0.77.0"; src = fetchFromGitHub { owner = "open-telemetry"; repo = "opentelemetry-collector"; rev = "v${version}"; - sha256 = "sha256-e+IdEGrJzDRUaAViUSyXdkYv9Hfub0ytmh3pl1f/nGM="; + hash = "sha256-koPkEOtB5KnePdx67hJ/WNBojNDqKvf9kqYb59bwh8k="; }; # there is a nested go.mod sourceRoot = "source/cmd/otelcorecol"; - vendorHash = "sha256-8OkKPrK0xLWK5hIPaI7hgCGY0g7sWbaS/1HHqoTuqxk="; + vendorHash = "sha256-M1fLrQFrcfCRCcunkgEzUicVfi5Mz/Or6tFpcGfWf4E="; + + patches = [ + # remove when fixed upstream + # https://github.com/open-telemetry/opentelemetry-collector/issues/7668 + ./update_go-m1cpu_fix_aarch64-darwin.patch + ]; preBuild = '' # set the build version, can't be done via ldflags @@ -31,14 +30,10 @@ buildGoModule rec { ldflags = [ "-s" "-w" ]; - postInstall = '' - cp ${otelcontribcol} $out/bin/otelcontribcol - ''; - meta = with lib; { homepage = "https://github.com/open-telemetry/opentelemetry-collector"; changelog = "https://github.com/open-telemetry/opentelemetry-collector/blob/v${version}/CHANGELOG.md"; - description = "OpenTelemetry Collector offers a vendor-agnostic implementation on how to receive, process and export telemetry data"; + description = "A vendor-agnostic implementation on how to receive, process and export telemetry data"; longDescription = '' The OpenTelemetry Collector offers a vendor-agnostic implementation on how to receive, process and export telemetry data. In addition, it removes the diff --git a/pkgs/tools/misc/opentelemetry-collector/update_go-m1cpu_fix_aarch64-darwin.patch b/pkgs/tools/misc/opentelemetry-collector/update_go-m1cpu_fix_aarch64-darwin.patch new file mode 100644 index 000000000000..0a1ea9331b06 --- /dev/null +++ b/pkgs/tools/misc/opentelemetry-collector/update_go-m1cpu_fix_aarch64-darwin.patch @@ -0,0 +1,52 @@ +--- a/go.mod ++++ b/go.mod +@@ -19,7 +19,7 @@ require ( + go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.77.0 + go.opentelemetry.io/collector/receiver v0.77.0 + go.opentelemetry.io/collector/receiver/otlpreceiver v0.77.0 +- golang.org/x/sys v0.7.0 ++ golang.org/x/sys v0.8.0 + ) + + require ( +@@ -60,8 +60,8 @@ require ( + github.com/prometheus/procfs v0.9.0 // indirect + github.com/prometheus/statsd_exporter v0.22.7 // indirect + github.com/rs/cors v1.9.0 // indirect +- github.com/shirou/gopsutil/v3 v3.23.3 // indirect +- github.com/shoenig/go-m1cpu v0.1.4 // indirect ++ github.com/shirou/gopsutil/v3 v3.23.5-0.20230505121632-e045dc75ca1c // indirect ++ github.com/shoenig/go-m1cpu v0.1.6 // indirect + github.com/spf13/cobra v1.7.0 // indirect + github.com/spf13/pflag v1.0.5 // indirect + github.com/tklauser/go-sysconf v0.3.11 // indirect +--- a/go.sum ++++ b/go.sum +@@ -383,10 +383,18 @@ github.com/ryanuber/go-glob v1.0.0/go.mod h1:807d1WSdnB0XRJzKNil9Om6lcp/3a0v4qIH + github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= + github.com/shirou/gopsutil/v3 v3.23.3 h1:Syt5vVZXUDXPEXpIBt5ziWsJ4LdSAAxF4l/xZeQgSEE= + github.com/shirou/gopsutil/v3 v3.23.3/go.mod h1:lSBNN6t3+D6W5e5nXTxc8KIMMVxAcS+6IJlffjRRlMU= ++github.com/shirou/gopsutil/v3 v3.23.4 h1:hZwmDxZs7Ewt75DV81r4pFMqbq+di2cbt9FsQBqLD2o= ++github.com/shirou/gopsutil/v3 v3.23.4/go.mod h1:ZcGxyfzAMRevhUR2+cfhXDH6gQdFYE/t8j1nsU4mPI8= ++github.com/shirou/gopsutil/v3 v3.23.5-0.20230505121632-e045dc75ca1c h1:ZYIGwnQEbcRHlzQRm/ns8iJQgJU+drtg4cX39shs9lE= ++github.com/shirou/gopsutil/v3 v3.23.5-0.20230505121632-e045dc75ca1c/go.mod h1:LIiQgnFqJnplML7ahhMDo0wRqv6xMPNGNxGRDObehQ0= + github.com/shoenig/go-m1cpu v0.1.4 h1:SZPIgRM2sEF9NJy50mRHu9PKGwxyyTTJIWvCtgVbozs= + github.com/shoenig/go-m1cpu v0.1.4/go.mod h1:Wwvst4LR89UxjeFtLRMrpgRiyY4xPsejnVZym39dbAQ= ++github.com/shoenig/go-m1cpu v0.1.5/go.mod h1:Wwvst4LR89UxjeFtLRMrpgRiyY4xPsejnVZym39dbAQ= ++github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM= ++github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ= + github.com/shoenig/test v0.6.3 h1:GVXWJFk9PiOjN0KoJ7VrJGH6uLPnqxR7/fe3HUPfE0c= + github.com/shoenig/test v0.6.3/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k= ++github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k= + github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= + github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= + github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= +@@ -627,6 +635,8 @@ golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= + golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= + golang.org/x/sys v0.7.0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU= + golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= ++golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= ++golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= + golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= + golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= + golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= From bdf11cb5fa8399d62db97cef71ab4cc55fc419ae Mon Sep 17 00:00:00 2001 From: aleksana Date: Wed, 10 May 2023 17:56:55 +0800 Subject: [PATCH 84/87] pbpctrl: unstable-2023-02-07 -> 0.1.3 --- pkgs/applications/audio/pbpctrl/default.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/audio/pbpctrl/default.nix b/pkgs/applications/audio/pbpctrl/default.nix index 071a4468434c..15f75813f851 100644 --- a/pkgs/applications/audio/pbpctrl/default.nix +++ b/pkgs/applications/audio/pbpctrl/default.nix @@ -1,25 +1,23 @@ -{ rustPlatform +{ lib +, rustPlatform , fetchFromGitHub , pkg-config , dbus , protobuf -, lib }: rustPlatform.buildRustPackage rec { pname = "pbpctrl"; - - # https://github.com/qzed/pbpctrl/issues/4 - version = "unstable-2023-02-07"; + version = "0.1.3"; src = fetchFromGitHub { owner = "qzed"; repo = "${pname}"; - rev = "9fef4bb88046a9f00719b189f8e378c8dbdb8ee6"; - hash = "sha256-8YbsBqqITJ9bKzbGX6d/CSBb8wzr6bDzy8vsyntL1CA="; + rev = "v${version}"; + hash = "sha256-CYroQb6x2d4ay3RZUSiSrcGDF0IL3ETZtHAFt18sa5s="; }; - cargoHash = "sha256-ZxJjjaT/ZpEPxvO42UWBy3xW/V5dhXGsKn3KmuM89YA=="; + cargoHash = "sha256-+YtnPKbxZENL6/u36RFFZA6F+19qHDAVx6Q8FSB/LCU="; nativeBuildInputs = [ pkg-config protobuf ]; buildInputs = [ dbus ]; From f134012d9487143ad14d375e0f7965747e054ef8 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Wed, 10 May 2023 11:39:05 +0100 Subject: [PATCH 85/87] erofs-utils: 1.5 -> 1.6 Fix #230945 --- pkgs/os-specific/linux/erofs-utils/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/os-specific/linux/erofs-utils/default.nix b/pkgs/os-specific/linux/erofs-utils/default.nix index 547e6cc651ab..d84edfc56d95 100644 --- a/pkgs/os-specific/linux/erofs-utils/default.nix +++ b/pkgs/os-specific/linux/erofs-utils/default.nix @@ -1,15 +1,14 @@ -{ lib, stdenv, fetchgit, autoreconfHook, pkg-config, fuse, libuuid, lz4 }: +{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, fuse, libuuid, lz4 }: stdenv.mkDerivation rec { pname = "erofs-utils"; - version = "1.5"; + version = "1.6"; outputs = [ "out" "man" ]; - src = fetchgit { + src = fetchurl { url = - "https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git"; - rev = "v" + version; - sha256 = "sha256-vMWAmGMJp0XDuc4sbo6Y7gfCQVAo4rETea0Tkdbg82U="; + "https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot/erofs-utils-${version}.tar.gz"; + sha256 = "sha256-2/Gtrv8buFMrKacsip4ZGTjJOJlGdw3HY9PFnm8yBXE="; }; nativeBuildInputs = [ autoreconfHook pkg-config ]; @@ -19,7 +18,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Userspace utilities for linux-erofs file system"; - license = with licenses; [ gpl2 ]; + license = with licenses; [ gpl2Plus ]; maintainers = with maintainers; [ ehmry ]; platforms = platforms.linux; }; From 7611d852ac85016a83288ffe4e696f04cf6a0bf3 Mon Sep 17 00:00:00 2001 From: Jenny Date: Wed, 10 May 2023 12:58:49 +0200 Subject: [PATCH 86/87] oui: init at 0.1.8 (#231046) --- pkgs/tools/networking/oui/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/tools/networking/oui/default.nix diff --git a/pkgs/tools/networking/oui/default.nix b/pkgs/tools/networking/oui/default.nix new file mode 100644 index 000000000000..af9f564bf0f4 --- /dev/null +++ b/pkgs/tools/networking/oui/default.nix @@ -0,0 +1,22 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "oui"; + version = "0.1.8"; + + src = fetchFromGitHub { + owner = "thatmattlove"; + repo = "oui"; + rev = "v${version}"; + hash = "sha256-RLm8V2fLFvOwjnnq16ZmhwVdtgXPaehan7JTX3Xz30w="; + }; + + vendorHash = "sha256-TLVw4tnfvgK2h/Xj5LNNjDG4WQ83Bw8yBhZc16Tjmws="; + + meta = with lib; { + description = "MAC Address CLI Toolkit"; + homepage = "https://github.com/thatmattlove/oui"; + license = with licenses; [ bsd3 ]; + maintainers = [ maintainers.netali ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fe305d8943c6..35078261a178 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10822,6 +10822,8 @@ with pkgs; oscclip = callPackage ../tools/misc/oscclip { }; + oui = callPackage ../tools/networking/oui { }; + owncast = callPackage ../servers/owncast { }; update-dotdee = with python3Packages; toPythonApplication update-dotdee; From 99088aafa5547f9b1c85673a8d1976a8706ee95f Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 10 May 2023 08:14:49 +0100 Subject: [PATCH 87/87] bmake: 20230126 -> 20230414 --- pkgs/development/tools/build-managers/bmake/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/build-managers/bmake/default.nix b/pkgs/development/tools/build-managers/bmake/default.nix index 69506885a3bf..7b6e8a5123a2 100644 --- a/pkgs/development/tools/build-managers/bmake/default.nix +++ b/pkgs/development/tools/build-managers/bmake/default.nix @@ -10,11 +10,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "bmake"; - version = "20230126"; + version = "20230414"; src = fetchurl { url = "http://www.crufty.net/ftp/pub/sjg/${finalAttrs.pname}-${finalAttrs.version}.tar.gz"; - hash = "sha256-hk9yGFgs95Dsc7ILcQVCXLn/ozUiJUF3LwMTMGtqC8Q="; + hash = "sha256-KcsdJqrn3p3vkr2us6rUUg6JlRzpey518LibrhuVOZ8="; }; # Make tests work with musl