From 199b12ad3d69e2445ed2fbd53ad705d5e143e4ef Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 31 Dec 2022 01:19:18 +0000 Subject: [PATCH 01/63] netpbm: 11.0.2 -> 11.1.0 --- pkgs/tools/graphics/netpbm/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/graphics/netpbm/default.nix b/pkgs/tools/graphics/netpbm/default.nix index ad75d6667dab..304e9b76feee 100644 --- a/pkgs/tools/graphics/netpbm/default.nix +++ b/pkgs/tools/graphics/netpbm/default.nix @@ -20,14 +20,14 @@ stdenv.mkDerivation { # Determine version and revision from: # https://sourceforge.net/p/netpbm/code/HEAD/log/?path=/advanced pname = "netpbm"; - version = "11.0.2"; + version = "11.1.0"; outputs = [ "bin" "out" "dev" ]; src = fetchsvn { url = "https://svn.code.sf.net/p/netpbm/code/advanced"; - rev = "4468"; - sha256 = "EW96q9DsM1lQ3QZAmp0hZhQ6icsZFDGa3wYmjCQmBRE="; + rev = "4489"; + sha256 = "00qagNgNZ+9sedBme0WmJfedF4WST8EFeqUJ5Wx3yEQ="; }; nativeBuildInputs = [ From 3b2399bf26acc7ba9dd209286fb6824070371a8d Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Fri, 13 Jan 2023 20:13:49 +0000 Subject: [PATCH 02/63] python3Packages.graphite-web: switch to github source this includes the tests which will be useful when we enable them and also makes patches apply better --- .../python-modules/graphite-web/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/graphite-web/default.nix b/pkgs/development/python-modules/graphite-web/default.nix index 91def6f2886b..f5a59c6a4cd9 100644 --- a/pkgs/development/python-modules/graphite-web/default.nix +++ b/pkgs/development/python-modules/graphite-web/default.nix @@ -4,7 +4,7 @@ , cairocffi , django , django_tagging -, fetchPypi +, fetchFromGitHub , gunicorn , pyparsing , python-memcached @@ -24,9 +24,11 @@ buildPythonPackage rec { disabled = pythonOlder "3.7"; - src = fetchPypi { - inherit pname version; - hash = "sha256-Pxho1QWo2jJZYAMJx999bbELDVMr7Wp7wsssYPkc01o="; + src = fetchFromGitHub { + owner = "graphite-project"; + repo = pname; + rev = version; + hash = "sha256-2HgCBKwLfxJLKMopoIdsEW5k/j3kNAiifWDnJ98a7Qo="; }; propagatedBuildInputs = [ From 670f603a2d6601a76af1ab6317bf73449171a7ed Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Fri, 13 Jan 2023 20:15:48 +0000 Subject: [PATCH 03/63] python3Packages.graphite-web: add patches for CVE-2022-4730, CVE-2022-4729 & CVE-2022-4728 --- .../python-modules/graphite-web/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/development/python-modules/graphite-web/default.nix b/pkgs/development/python-modules/graphite-web/default.nix index f5a59c6a4cd9..babecf674f26 100644 --- a/pkgs/development/python-modules/graphite-web/default.nix +++ b/pkgs/development/python-modules/graphite-web/default.nix @@ -5,6 +5,7 @@ , django , django_tagging , fetchFromGitHub +, fetchpatch , gunicorn , pyparsing , python-memcached @@ -31,6 +32,19 @@ buildPythonPackage rec { hash = "sha256-2HgCBKwLfxJLKMopoIdsEW5k/j3kNAiifWDnJ98a7Qo="; }; + patches = [ + (fetchpatch { + name = "CVE-2022-4730.CVE-2022-4729.CVE-2022-4728.part-1.patch"; + url = "https://github.com/graphite-project/graphite-web/commit/9c626006eea36a9fd785e8f811359aebc9774970.patch"; + sha256 = "sha256-JMmdhLqsaRhUG2FsH+yPNl+cR7O2YLfKFliL2GU0aAk="; + }) + (fetchpatch { + name = "CVE-2022-4730.CVE-2022-4729.CVE-2022-4728.part-2.patch"; + url = "https://github.com/graphite-project/graphite-web/commit/2f178f490e10efc03cd1d27c72f64ecab224eb23.patch"; + sha256 = "sha256-NL7K5uekf3NlLa58aFFRPJT9ktjqBeNlWC4Htd0fRQ0="; + }) + ]; + propagatedBuildInputs = [ cairocffi django From 760d26e16dc42b02be93d09e33aa74085bf5a720 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Fri, 13 Jan 2023 20:18:55 +0000 Subject: [PATCH 04/63] python3Packages.graphite-web: remove whitenoise whitenoise support is broken with whitenoise>=6.0, and this is revealed when we enable the tests. See https://github.com/graphite-project/graphite-web/issues/2735 --- pkgs/development/python-modules/graphite-web/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/graphite-web/default.nix b/pkgs/development/python-modules/graphite-web/default.nix index babecf674f26..63ddd906e16e 100644 --- a/pkgs/development/python-modules/graphite-web/default.nix +++ b/pkgs/development/python-modules/graphite-web/default.nix @@ -15,7 +15,6 @@ , txamqp , urllib3 , whisper -, whitenoise }: buildPythonPackage rec { @@ -57,7 +56,6 @@ buildPythonPackage rec { txamqp urllib3 whisper - whitenoise ]; postPatch = '' From 5ccffc22c9688c7383ee79eb9b8868621b416fce Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Fri, 13 Jan 2023 20:19:30 +0000 Subject: [PATCH 05/63] python3Packages.graphite-web: enable tests --- .../python-modules/graphite-web/default.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pkgs/development/python-modules/graphite-web/default.nix b/pkgs/development/python-modules/graphite-web/default.nix index 63ddd906e16e..a82f9982cb3b 100644 --- a/pkgs/development/python-modules/graphite-web/default.nix +++ b/pkgs/development/python-modules/graphite-web/default.nix @@ -1,12 +1,14 @@ { lib , stdenv , buildPythonPackage +, python , cairocffi , django , django_tagging , fetchFromGitHub , fetchpatch , gunicorn +, mock , pyparsing , python-memcached , pythonOlder @@ -73,6 +75,23 @@ buildPythonPackage rec { --replace "join(WEBAPP_DIR, 'content')" "join('$out', 'webapp', 'content')" ''; + checkInputs = [ mock ]; + checkPhase = '' + runHook preCheck + + pushd webapp/ + # avoid confusion with installed module + rm -r graphite + # redis not practical in test environment + substituteInPlace tests/test_tags.py \ + --replace test_redis_tagdb _dont_test_redis_tagdb + + DJANGO_SETTINGS_MODULE=tests.settings ${python.interpreter} manage.py test + popd + + runHook postCheck + ''; + pythonImportsCheck = [ "graphite" ]; From 890bf782f3c059bf9305f12b00507d56fb3e134b Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Fri, 13 Jan 2023 20:24:32 +0000 Subject: [PATCH 06/63] python3Packages.graphite-web: unmark as broken on aarch64 and darwin WFM on both, tests pass --- pkgs/development/python-modules/graphite-web/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/graphite-web/default.nix b/pkgs/development/python-modules/graphite-web/default.nix index a82f9982cb3b..221b1cfbfae1 100644 --- a/pkgs/development/python-modules/graphite-web/default.nix +++ b/pkgs/development/python-modules/graphite-web/default.nix @@ -97,7 +97,6 @@ buildPythonPackage rec { ]; meta = with lib; { - broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; description = "Enterprise scalable realtime graphing"; homepage = "http://graphiteapp.org/"; license = licenses.asl20; From 088caf158c747e2f9850320fafadae0f5f6209c0 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Wed, 25 Jan 2023 10:53:49 +0000 Subject: [PATCH 07/63] gdrive: 2.1.0 -> 2.1.1 --- .../networking/gdrive/default.nix | 36 ++++++++++++------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/pkgs/applications/networking/gdrive/default.nix b/pkgs/applications/networking/gdrive/default.nix index b62bda3c469f..20ef4e682c7e 100644 --- a/pkgs/applications/networking/gdrive/default.nix +++ b/pkgs/applications/networking/gdrive/default.nix @@ -1,24 +1,34 @@ -{ lib, buildGoPackage, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, fetchpatch }: -buildGoPackage rec { +buildGoModule rec { pname = "gdrive"; - version = "2.1.0"; - rev = version; - - goPackagePath = "github.com/prasmussen/gdrive"; + version = "2.1.1"; src = fetchFromGitHub { - owner = "prasmussen"; - repo = "gdrive"; - sha256 = "0ywm4gdmrqzb1a99vg66a641r74p7lglavcpgkm6cc2gdwzjjfg7"; - inherit rev; + owner = "prasmussen"; + repo = "gdrive"; + rev = version; + hash = "sha256-2dJmGFHfGSroucn4WgiV2NExBs5wtMDe2kX1jDBwbRs="; }; + deleteVendor = true; + vendorHash = "sha256-sHNP1YwnZYu0UfgLx5+gxJmesY8Brt7rr9cptlyk9Bk="; + + patches = [ + # Add Go Modules support + (fetchpatch { + url = "https://github.com/prasmussen/gdrive/pull/585/commits/faa6fc3dc104236900caa75eb22e9ed2e5ecad42.patch"; + hash = "sha256-W8o2ZfhQFJISHfPavjx9sw5UB6xOZ7qRW4L0bHNddS8="; + }) + ]; + + ldflags = [ "-s" "-w" ]; + meta = with lib; { - homepage = "https://github.com/prasmussen/gdrive"; + homepage = "https://github.com/prasmussen/gdrive"; description = "A command line utility for interacting with Google Drive"; - platforms = platforms.unix; - license = licenses.mit; + license = licenses.mit; + platforms = platforms.unix; maintainers = [ maintainers.rzetterberg ]; }; } From 42f9cddde3c75562f446a1c359f147d05757a12f Mon Sep 17 00:00:00 2001 From: Stefan Tatschner Date: Wed, 11 Jan 2023 09:45:30 +0100 Subject: [PATCH 08/63] gallia: 1.0.3 -> 1.1.4 --- pkgs/tools/security/gallia/default.nix | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/pkgs/tools/security/gallia/default.nix b/pkgs/tools/security/gallia/default.nix index 0f5051db0a4d..d3b10e71c052 100644 --- a/pkgs/tools/security/gallia/default.nix +++ b/pkgs/tools/security/gallia/default.nix @@ -2,18 +2,19 @@ , stdenv , fetchFromGitHub , python3 +, cacert }: python3.pkgs.buildPythonApplication rec { pname = "gallia"; - version = "1.0.3"; + version = "1.1.4"; format = "pyproject"; src = fetchFromGitHub { owner = "Fraunhofer-AISEC"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-CoZ3niGuEjcaSyIGc0MIy95v64nTbhgqW/0uz4a/f1o="; + hash = "sha256-McHzHK404kDB992T2f84dZHDxujpPIz4qglYMmv3kTw="; }; nativeBuildInputs = with python3.pkgs; [ @@ -29,22 +30,19 @@ python3.pkgs.buildPythonApplication rec { construct msgspec pydantic + pygit2 tabulate - tomlkit - xdg + tomli zstandard ]; + SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt"; + nativeCheckInputs = with python3.pkgs; [ pytestCheckHook + pytest-asyncio ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'aiofiles = "^0.8.0"' 'aiofiles = ">=0.8.0"' \ - --replace 'zstandard = "^0.17.0"' 'zstandard = "*"' - ''; - pythonImportsCheck = [ "gallia" ]; @@ -54,10 +52,10 @@ python3.pkgs.buildPythonApplication rec { ''; meta = with lib; { - description = "Pentesting framework with the focus on the automotive domain"; + description = "Extendable Pentesting Framework for the Automotive Domain"; homepage = "https://github.com/Fraunhofer-AISEC/gallia"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; - broken = stdenv.isDarwin; + platforms = platforms.linux; }; } From 68a4f5300e3be232ffba94bba53849ea1303b383 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Thu, 26 Jan 2023 19:57:27 +0100 Subject: [PATCH 09/63] python310Packages.scooby: 0.7.0 -> 0.7.1 --- pkgs/development/python-modules/scooby/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/scooby/default.nix b/pkgs/development/python-modules/scooby/default.nix index bdcc62963a73..255342186229 100644 --- a/pkgs/development/python-modules/scooby/default.nix +++ b/pkgs/development/python-modules/scooby/default.nix @@ -6,11 +6,11 @@ buildPythonPackage rec { pname = "scooby"; - version = "0.7.0"; + version = "0.7.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-scD/uuAtepatt8Yn7b6PJMfSj9AT7iOy0HuVHyVvEhk="; + hash = "sha256-UgFPRoG8wylZMuDz2Utp5A5hlaaWWzTmiUExLOa2Nt4="; }; nativeBuildInputs = [ From 6648bf24abf6cf99744366848a1e21b0f90c9dd8 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Thu, 26 Jan 2023 21:45:03 +0100 Subject: [PATCH 10/63] python310Packages.fastparquet: 2022.12.0 -> 2023.1.0 --- pkgs/development/python-modules/fastparquet/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fastparquet/default.nix b/pkgs/development/python-modules/fastparquet/default.nix index 92bc5100256f..16e3bd7ed229 100644 --- a/pkgs/development/python-modules/fastparquet/default.nix +++ b/pkgs/development/python-modules/fastparquet/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "fastparquet"; - version = "2022.12.0"; + version = "2023.1.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "dask"; repo = pname; rev = version; - hash = "sha256-/DSe2vZwrHHTuAXWJh9M1wCes5c4/QAVUnJVEI4Evyw="; + hash = "sha256-p8JydnrDEl9W4clrOkd+np0NYGP3hVnq+lyyF/zaVk8="; }; nativeBuildInputs = [ From 686ad19923f00db2e7e8c707a777d8b71c3e8004 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 27 Jan 2023 04:20:00 +0000 Subject: [PATCH 11/63] nelua: 2022-11-20 -> 2023-01-21 --- pkgs/development/interpreters/nelua/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/nelua/default.nix b/pkgs/development/interpreters/nelua/default.nix index 85a980958da3..8030980b7788 100644 --- a/pkgs/development/interpreters/nelua/default.nix +++ b/pkgs/development/interpreters/nelua/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation { pname = "nelua"; - version = "unstable-2022-11-20"; + version = "unstable-2023-01-21"; src = fetchFromGitHub { owner = "edubart"; repo = "nelua-lang"; - rev = "63909dc834708a5bd7c21d65a6633880f40295db"; - hash = "sha256-GeknXYsdRUzihzF3qHcCgbcB3w8geiWe5O1Az+4UqMs="; + rev = "d10cc61bc54050b07874a8597f8df20534885105"; + hash = "sha256-HyNYqhPCQVBJqEcAUUXfvycXE8tWIMIUJJMTIV48ne8="; }; makeFlags = [ "PREFIX=$(out)" ]; From 1a96861bb3dcc60300cbce93091f7e8fe1c7a371 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 26 Jan 2023 20:01:50 +0100 Subject: [PATCH 12/63] python310Packages.scooby: add changelog to meta --- pkgs/development/python-modules/scooby/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/scooby/default.nix b/pkgs/development/python-modules/scooby/default.nix index 255342186229..968ba1dde1e9 100644 --- a/pkgs/development/python-modules/scooby/default.nix +++ b/pkgs/development/python-modules/scooby/default.nix @@ -22,6 +22,7 @@ buildPythonPackage rec { meta = with lib; { homepage = "https://github.com/banesullivan/scooby"; description = "A lightweight tool for reporting Python package versions and hardware resources"; + changelog = "https://github.com/banesullivan/scooby/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ wegank ]; }; From 58cf6e1a2f5217fe3c67f682f84c54da8ac75c30 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 27 Jan 2023 09:52:57 +0100 Subject: [PATCH 13/63] python310Packages.scooby: enable tests --- .../python-modules/scooby/default.nix | 51 ++++++++++++++++--- 1 file changed, 44 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/scooby/default.nix b/pkgs/development/python-modules/scooby/default.nix index 968ba1dde1e9..0bd037a74fc7 100644 --- a/pkgs/development/python-modules/scooby/default.nix +++ b/pkgs/development/python-modules/scooby/default.nix @@ -1,28 +1,65 @@ { lib +, beautifulsoup4 , buildPythonPackage -, fetchPypi +, fetchFromGitHub +, numpy +, pytest-console-scripts +, pytestCheckHook +, pythonOlder +, pyvips +, scipy , setuptools-scm }: buildPythonPackage rec { pname = "scooby"; version = "0.7.1"; + format = "setuptools"; - src = fetchPypi { - inherit pname version; - hash = "sha256-UgFPRoG8wylZMuDz2Utp5A5hlaaWWzTmiUExLOa2Nt4="; + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "banesullivan"; + repo = pname; + rev = "refs/tags/v${version}"; + hash = "sha256-wKbCIA6Xp+VYhcQ5ZpHo5usB+ksnMAJyv5naBvl4Cxo="; }; + SETUPTOOLS_SCM_PRETEND_VERSION = version; + nativeBuildInputs = [ setuptools-scm ]; - pythonImportsCheck = [ "scooby" ]; + nativeCheckInputs = [ + beautifulsoup4 + numpy + pytest-console-scripts + pytestCheckHook + pyvips + scipy + ]; + + preCheck = '' + export PATH="$PATH:$out/bin"; + ''; + + pythonImportsCheck = [ + "scooby" + ]; + + disabledTests = [ + # Tests have additions requirements (e.g., time and module) + "test_get_version" + "test_tracking" + "test_import_os_error" + "test_import_time" + ]; meta = with lib; { - homepage = "https://github.com/banesullivan/scooby"; - description = "A lightweight tool for reporting Python package versions and hardware resources"; changelog = "https://github.com/banesullivan/scooby/releases/tag/v${version}"; + description = "A lightweight tool for reporting Python package versions and hardware resources"; + homepage = "https://github.com/banesullivan/scooby"; license = licenses.mit; maintainers = with maintainers; [ wegank ]; }; From 744d35f6298ce1638c6de5ec1d752840b3d1bdd4 Mon Sep 17 00:00:00 2001 From: Shiryel Date: Sat, 28 Jan 2023 02:41:33 -0300 Subject: [PATCH 14/63] godot_4: 4.0-beta14 -> 4.0-beta16 --- pkgs/development/tools/godot/4/default.nix | 32 +++++++++------------ pkgs/development/tools/godot/4/xfixes.patch | 12 -------- 2 files changed, 14 insertions(+), 30 deletions(-) delete mode 100644 pkgs/development/tools/godot/4/xfixes.patch diff --git a/pkgs/development/tools/godot/4/default.nix b/pkgs/development/tools/godot/4/default.nix index abf87bd0ba19..5732b8f44f62 100644 --- a/pkgs/development/tools/godot/4/default.nix +++ b/pkgs/development/tools/godot/4/default.nix @@ -1,11 +1,12 @@ { stdenv , lib , fetchFromGitHub -, installShellFiles -, autoPatchelfHook , pkg-config +, autoPatchelfHook +, installShellFiles , scons , vulkan-loader +, libGL , libX11 , libXcursor , libXinerama @@ -14,7 +15,7 @@ , libXrender , libXi , libXfixes -, freetype +, libxkbcommon , alsa-lib , libpulseaudio , dbus @@ -24,9 +25,9 @@ , withPlatform ? "linuxbsd" , withTarget ? "editor" , withPrecision ? "single" -, withPulseaudio ? false +, withPulseaudio ? true , withDbus ? true -, withSpeechd ? false +, withSpeechd ? true , withFontconfig ? true , withUdev ? true , withTouch ? true @@ -42,7 +43,7 @@ let precision = withPrecision; # Floating-point precision level # Options from 'godot/platform/linuxbsd/detect.py' - pulseaudio = withPulseaudio; + pulseaudio = withPulseaudio; # Use PulseAudio dbus = withDbus; # Use D-Bus to handle screensaver and portal desktop settings speechd = withSpeechd; # Use Speech Dispatcher for Text-to-Speech support fontconfig = withFontconfig; # Use fontconfig for system fonts support @@ -52,13 +53,13 @@ let in stdenv.mkDerivation rec { pname = "godot"; - version = "4.0-beta14"; + version = "4.0-beta16"; src = fetchFromGitHub { owner = "godotengine"; repo = "godot"; - rev = "28a24639c3c6a95b5b9828f5f02bf0dc2f5ce54b"; - sha256 = "sha256-qAotCc2YUg8FMK+JFHi5B4OL/cAtvWO/pYRRz8RcNUY="; + rev = "518b9e5801a19229805fe837d7d0cf92920ad413"; + sha256 = "sha256-45x4moHOn/PWRazuJ/CBb3WYaPZqv4Sn8ZIugUSaVjY="; }; nativeBuildInputs = [ @@ -69,10 +70,11 @@ stdenv.mkDerivation rec { buildInputs = [ scons - ] - ++ runtimeDependencies; + ]; runtimeDependencies = [ + vulkan-loader + libGL libX11 libXcursor libXinerama @@ -81,8 +83,8 @@ stdenv.mkDerivation rec { libXrender libXi libXfixes + libxkbcommon alsa-lib - vulkan-loader ] ++ lib.optional withPulseaudio libpulseaudio ++ lib.optional withDbus dbus @@ -92,12 +94,6 @@ stdenv.mkDerivation rec { ++ lib.optional withFontconfig fontconfig.lib ++ lib.optional withUdev udev; - patches = [ - # Godot expects to find xfixes inside xi, but nix's pkg-config only - # gives the libs for the requested package (ignoring the propagated-build-inputs) - ./xfixes.patch - ]; - enableParallelBuilding = true; # Options from 'godot/SConstruct' and 'godot/platform/linuxbsd/detect.py' diff --git a/pkgs/development/tools/godot/4/xfixes.patch b/pkgs/development/tools/godot/4/xfixes.patch deleted file mode 100644 index df5c914d7fd6..000000000000 --- a/pkgs/development/tools/godot/4/xfixes.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py -index 844b15e9fb..0c8bee1757 100644 ---- a/platform/linuxbsd/detect.py -+++ b/platform/linuxbsd/detect.py -@@ -192,6 +192,7 @@ def configure(env: "Environment"): - env.ParseConfig("pkg-config xrandr --cflags") - env.ParseConfig("pkg-config xrender --cflags") - env.ParseConfig("pkg-config xi --cflags") -+ env.ParseConfig("pkg-config xfixes --cflags") - - if env["touch"]: - env.Append(CPPDEFINES=["TOUCH_ENABLED"]) From 95f653a2c43c2ad5b9f39e8259ec60841e838158 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Sat, 28 Jan 2023 13:22:22 +0100 Subject: [PATCH 15/63] rubyPackages.git: 1.12.0 -> 1.13.1 Fixes CVE-2022-46648 and CVE-2022-47318. Changelogs: https://github.com/ruby-git/ruby-git/releases/tag/v1.13.1 https://github.com/ruby-git/ruby-git/releases/tag/v1.13.0 --- pkgs/top-level/ruby-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/ruby-packages.nix b/pkgs/top-level/ruby-packages.nix index 4ae1a50eb757..d1bf5cf7b69e 100644 --- a/pkgs/top-level/ruby-packages.nix +++ b/pkgs/top-level/ruby-packages.nix @@ -1013,10 +1013,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1l6mvn60qa215rjy0zjymvjb0vcgnbi4vj9d80v4qq1n6b9ld9xy"; + sha256 = "sha256-bkSvvD2SClHJ5FyERpyqZaWp0im7NNhn+wplbmnZD84="; type = "gem"; }; - version = "1.12.0"; + version = "1.13.1"; }; github-pages = { dependencies = ["github-pages-health-check" "jekyll" "jekyll-avatar" "jekyll-coffeescript" "jekyll-commonmark-ghpages" "jekyll-default-layout" "jekyll-feed" "jekyll-gist" "jekyll-github-metadata" "jekyll-include-cache" "jekyll-mentions" "jekyll-optional-front-matter" "jekyll-paginate" "jekyll-readme-index" "jekyll-redirect-from" "jekyll-relative-links" "jekyll-remote-theme" "jekyll-sass-converter" "jekyll-seo-tag" "jekyll-sitemap" "jekyll-swiss" "jekyll-theme-architect" "jekyll-theme-cayman" "jekyll-theme-dinky" "jekyll-theme-hacker" "jekyll-theme-leap-day" "jekyll-theme-merlot" "jekyll-theme-midnight" "jekyll-theme-minimal" "jekyll-theme-modernist" "jekyll-theme-primer" "jekyll-theme-slate" "jekyll-theme-tactile" "jekyll-theme-time-machine" "jekyll-titles-from-headings" "jemoji" "kramdown" "kramdown-parser-gfm" "liquid" "mercenary" "minima" "nokogiri" "rouge" "terminal-table"]; From 013c9128d8bb9dba00dbb0e1abe6b8a0e11c5312 Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Sat, 28 Jan 2023 10:25:39 -0800 Subject: [PATCH 16/63] cargo-embed: 0.13.0 -> 0.14.2 --- .../tools/rust/cargo-embed/default.nix | 21 +++++++++---------- pkgs/top-level/all-packages.nix | 1 + 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-embed/default.nix b/pkgs/development/tools/rust/cargo-embed/default.nix index 03eecf8a31ba..098f2ab41395 100644 --- a/pkgs/development/tools/rust/cargo-embed/default.nix +++ b/pkgs/development/tools/rust/cargo-embed/default.nix @@ -1,28 +1,27 @@ { lib , stdenv , rustPlatform -, fetchFromGitHub +, fetchCrate , libusb1 , libftdi1 , pkg-config -, rustfmt +, DarwinTools , AppKit }: rustPlatform.buildRustPackage rec { pname = "cargo-embed"; - version = "0.13.0"; + version = "0.14.2"; - src = fetchFromGitHub { - owner = "probe-rs"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-UlQ7KJmzPWu0vVsYPIkYeqkFFhxe7mEMfUVN7iMaUw0="; + src = fetchCrate { + inherit pname version; + sha256 = "sha256-rSixQ9ZGO5iqreW+WKdHx0vlwacJzJ2L7qPWVjT3Xls="; }; - cargoSha256 = "sha256-RkYX5z764Kkr0xK7yYQ0lCw0/7KpmdJmKWqLzwkj4hs="; + cargoSha256 = "sha256-O/vMXWyNUdMyH2Pb6DK2AbqOMagmsMNgp5OyIyAiiqg="; + + nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.isDarwin [ DarwinTools ]; - nativeBuildInputs = [ pkg-config rustfmt ]; buildInputs = [ libusb1 libftdi1 ] ++ lib.optionals stdenv.isDarwin [ AppKit ]; buildFeatures = [ "ftdi" ]; @@ -30,7 +29,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A cargo extension for working with microcontrollers"; homepage = "https://probe.rs/"; - changelog = "https://github.com/probe-rs/cargo-embed/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/probe-rs/probe-rs/blob/v${version}/cargo-embed/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; maintainers = with maintainers; [ fooker newam ]; }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5c9a3a7787df..e8d4a5e82883 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15672,6 +15672,7 @@ with pkgs; cargo-diet = callPackage ../development/tools/rust/cargo-diet { }; cargo-embed = callPackage ../development/tools/rust/cargo-embed { inherit (darwin.apple_sdk.frameworks) AppKit; + inherit (darwin) DarwinTools; }; cargo-espmonitor = callPackage ../development/tools/rust/cargo-espmonitor { }; cargo-expand = callPackage ../development/tools/rust/cargo-expand { }; From 6e34cedf65d12287a5127e0c2de3a6ef7a2e8933 Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Sat, 28 Jan 2023 10:29:55 -0800 Subject: [PATCH 17/63] cargo-flash: 0.13.0 -> 0.14.2 --- .../tools/rust/cargo-flash/default.nix | 20 +++++++++---------- pkgs/top-level/all-packages.nix | 1 + 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-flash/default.nix b/pkgs/development/tools/rust/cargo-flash/default.nix index 537392a65bbe..86b0a7ed6fbf 100644 --- a/pkgs/development/tools/rust/cargo-flash/default.nix +++ b/pkgs/development/tools/rust/cargo-flash/default.nix @@ -1,33 +1,31 @@ { lib , stdenv , rustPlatform -, fetchFromGitHub +, fetchCrate , libusb1 , pkg-config -, rustfmt +, DarwinTools , AppKit }: rustPlatform.buildRustPackage rec { pname = "cargo-flash"; - version = "0.13.0"; + version = "0.14.2"; - src = fetchFromGitHub { - owner = "probe-rs"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-O6T1Wul0nJaTVp9MEOj9FT+FUt4oYfqR5pGFaAxuK30="; + src = fetchCrate { + inherit pname version; + sha256 = "sha256-7sWfMFFjFUdnoMV1O8mzyHAAS8Pvvf1xsY717ZeD7i8="; }; - cargoSha256 = "sha256-E2gBkr50hjkzY+ZVgMm7tpdwr9yuyFh65Ht6FAPvxYg="; + cargoSha256 = "sha256-yae+hh2jrQn6ryn/WPFZmiZrq7d+osegD/MyBk8OOLg="; - nativeBuildInputs = [ pkg-config rustfmt ]; + nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.isDarwin [ DarwinTools ]; buildInputs = [ libusb1 ] ++ lib.optionals stdenv.isDarwin [ AppKit ]; meta = with lib; { description = "A cargo extension for working with microcontrollers"; homepage = "https://probe.rs/"; - changelog = "https://github.com/probe-rs/cargo-flash/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/probe-rs/probe-rs/blob/v${version}/cargo-flash/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; maintainers = with maintainers; [ fooker newam ]; }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5c9a3a7787df..7cdbc23758b1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15679,6 +15679,7 @@ with pkgs; cargo-feature = callPackage ../development/tools/rust/cargo-feature { }; cargo-flash = callPackage ../development/tools/rust/cargo-flash { inherit (darwin.apple_sdk.frameworks) AppKit; + inherit (darwin) DarwinTools; }; cargo-fund = callPackage ../development/tools/rust/cargo-fund { inherit (darwin.apple_sdk.frameworks) Security; From eb0dcbcf13cebde91c44235dff765d94f12993de Mon Sep 17 00:00:00 2001 From: Madoura Date: Sat, 28 Jan 2023 12:45:32 -0600 Subject: [PATCH 18/63] rocfft: fix hydra workaround --- pkgs/development/libraries/rocfft/default.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pkgs/development/libraries/rocfft/default.nix b/pkgs/development/libraries/rocfft/default.nix index 375e6a7b432e..39d714ce84e8 100644 --- a/pkgs/development/libraries/rocfft/default.nix +++ b/pkgs/development/libraries/rocfft/default.nix @@ -135,6 +135,7 @@ in stdenv.mkDerivation { inherit (rocfft) pname version outputs src passthru meta; dontUnpack = true; + dontPatch = true; dontConfigure = true; dontBuild = true; @@ -155,4 +156,22 @@ in stdenv.mkDerivation { '' + '' runHook postInstall ''; + + # Fix paths + preFixup = '' + substituteInPlace $out/include/*.h $out/rocfft/include/*.h \ + --replace "${rocfft}" "$out" + + patchelf --set-rpath \ + $(patchelf --print-rpath $out/lib/librocfft.so | sed 's,${rocfft}/lib,'"$out/lib"',') \ + $out/lib/librocfft.so + '' + lib.optionalString buildTests '' + patchelf --set-rpath \ + $(patchelf --print-rpath $test/bin/rocfft-test | sed 's,${rocfft}/lib,'"$out/lib"',') \ + $test/bin/rocfft-test + '' + lib.optionalString buildBenchmarks '' + patchelf --set-rpath \ + $(patchelf --print-rpath $benchmark/bin/rocfft-rider | sed 's,${rocfft}/lib,'"$out/lib"',') \ + $benchmark/bin/rocfft-rider + ''; } From f813bf39a90e9dd8a816568b805f27fc202a000c Mon Sep 17 00:00:00 2001 From: Madoura Date: Sat, 28 Jan 2023 13:07:40 -0600 Subject: [PATCH 19/63] composable_kernel: fix hydra workaround --- .../libraries/composable_kernel/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/composable_kernel/default.nix b/pkgs/development/libraries/composable_kernel/default.nix index 9ced4e0a44d5..8b0ac955810e 100644 --- a/pkgs/development/libraries/composable_kernel/default.nix +++ b/pkgs/development/libraries/composable_kernel/default.nix @@ -28,8 +28,7 @@ let "example" ]; - # There is now a release, but it's cpu-only it seems to be for a very specific purpose - # Thus, we're sticking with the develop branch for now... + # ROCm 5.6 should release composable_kernel as stable with a tag in the future src = fetchFromGitHub { owner = "ROCmSoftwarePlatform"; repo = "composable_kernel"; @@ -53,6 +52,7 @@ let "-DCMAKE_CXX_COMPILER=hipcc" ] ++ lib.optionals (gpuTargets != [ ]) [ "-DGPU_TARGETS=${lib.concatStringsSep ";" gpuTargets}" + "-DAMDGPU_TARGETS=${lib.concatStringsSep ";" gpuTargets}" ] ++ lib.optionals buildTests [ "-DGOOGLETEST_DIR=${gtest.src}" # Custom linker names ]; @@ -82,7 +82,6 @@ let license = with licenses; [ mit ]; maintainers = teams.rocm.members; platforms = platforms.linux; - broken = buildExamples; # bin/example_grouped_gemm_xdl_bfp16] Error 139 }; }); @@ -93,6 +92,7 @@ in stdenv.mkDerivation { inherit (ck) pname version outputs src passthru meta; dontUnpack = true; + dontPatch = true; dontConfigure = true; dontBuild = true; @@ -109,4 +109,10 @@ in stdenv.mkDerivation { '' + '' runHook postInstall ''; + + # Fix paths + preFixup = '' + substituteInPlace $out/lib/cmake/composable_kernel/*.cmake \ + --replace "${ck}" "$out" + ''; } From 750cfd8f857feb5ca2009cedbd4f1a4ff05cca81 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 29 Jan 2023 00:38:37 +0100 Subject: [PATCH 20/63] maintainers: add rumpelsepp --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 7311dadb1eef..b8b7bb554580 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -12387,6 +12387,12 @@ githubId = 61306; name = "Rene Treffer"; }; + rumpelsepp = { + name = "Stefan Tatschner"; + email = "stefan@rumpelsepp.org"; + github = "rumpelsepp"; + githubId = 1961699; + }; rushmorem = { email = "rushmore@webenchanter.com"; github = "rushmorem"; From 6c9748bb96708dfefd8117887add3062c49e79e2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 29 Jan 2023 00:38:55 +0100 Subject: [PATCH 21/63] gallia: add rumpelsepp as maintainer --- pkgs/tools/security/gallia/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/security/gallia/default.nix b/pkgs/tools/security/gallia/default.nix index d3b10e71c052..f86d807d4309 100644 --- a/pkgs/tools/security/gallia/default.nix +++ b/pkgs/tools/security/gallia/default.nix @@ -55,7 +55,7 @@ python3.pkgs.buildPythonApplication rec { description = "Extendable Pentesting Framework for the Automotive Domain"; homepage = "https://github.com/Fraunhofer-AISEC/gallia"; license = with licenses; [ asl20 ]; - maintainers = with maintainers; [ fab ]; + maintainers = with maintainers; [ fab rumpelsepp ]; platforms = platforms.linux; }; } From 3432428bf71f3007b1796a8a3ea993b5866e8429 Mon Sep 17 00:00:00 2001 From: Tomo <68489118+tomodachi94@users.noreply.github.com> Date: Thu, 26 Jan 2023 06:57:34 +0000 Subject: [PATCH 22/63] csvq: init at 1.17.11 --- pkgs/development/tools/csvq/default.nix | 23 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/tools/csvq/default.nix diff --git a/pkgs/development/tools/csvq/default.nix b/pkgs/development/tools/csvq/default.nix new file mode 100644 index 000000000000..badc9aba08b3 --- /dev/null +++ b/pkgs/development/tools/csvq/default.nix @@ -0,0 +1,23 @@ +{ buildGoModule, fetchFromGitHub, lib }: + +buildGoModule rec { + pname = "csvq"; + version = "1.17.11"; + + src = fetchFromGitHub { + owner = "mithrandie"; + repo = "csvq"; + rev = "v${version}"; + sha256 = "sha256-jhj03xpWBcLVCCk1S9nsi8O6x1/IVwNT3voGfWBg2iw="; + }; + + vendorSha256 = "sha256-C+KQHSp4aho+DPlkaYegjYSaoSHaLiQOa1WJXIn9FdQ="; + + meta = with lib; { + description = "SQL-like query language for CSV"; + homepage = "https://mithrandie.github.io/csvq/"; + changelog = "https://github.com/mithrandie/csvq/releases/tag/v${version}"; + license = licenses.mit; + maintainers = with maintainers; [ tomodachi94 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2b7e2fad9bb4..b4cb745a9548 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4167,6 +4167,8 @@ with pkgs; csv2latex = callPackage ../tools/misc/csv2latex { }; + csvq = callPackage ../development/tools/csvq { }; + csvs-to-sqlite = callPackage ../tools/misc/csvs-to-sqlite { }; cucumber = callPackage ../development/tools/cucumber {}; From e97dfa6d25ea7c09f7cdbc206fc803acc8098618 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 29 Jan 2023 00:43:36 +0000 Subject: [PATCH 23/63] mill: 0.10.10 -> 0.10.11 --- pkgs/development/tools/build-managers/mill/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/build-managers/mill/default.nix b/pkgs/development/tools/build-managers/mill/default.nix index 966937deffa8..6ede440cc611 100644 --- a/pkgs/development/tools/build-managers/mill/default.nix +++ b/pkgs/development/tools/build-managers/mill/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "mill"; - version = "0.10.10"; + version = "0.10.11"; src = fetchurl { url = "https://github.com/com-lihaoyi/mill/releases/download/${version}/${version}-assembly"; - hash = "sha256-Qen3z2qbgyHHYUscBh7Udc1/c82WDLnDIsZJF+tcR5M="; + hash = "sha256-B47C7sqOqiHa/2kC5lk/J1pXK61l1M5umVKaCfVO7cc="; }; nativeBuildInputs = [ makeWrapper ]; From c359c14c32b471d4f964ad062dc974a81246bbb4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 29 Jan 2023 02:36:44 +0100 Subject: [PATCH 24/63] tts: 0.9.0 -> 0.10.2 https://github.com/coqui-ai/TTS/releases/tag/v0.10.2 https://github.com/coqui-ai/TTS/releases/tag/v0.10.1 https://github.com/coqui-ai/TTS/releases/tag/v0.10.0 --- pkgs/tools/audio/tts/default.nix | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/audio/tts/default.nix b/pkgs/tools/audio/tts/default.nix index 0a084498a96d..3e6bed334c29 100644 --- a/pkgs/tools/audio/tts/default.nix +++ b/pkgs/tools/audio/tts/default.nix @@ -1,6 +1,7 @@ { lib , python3 , fetchFromGitHub +, fetchpatch , espeak-ng }: @@ -24,7 +25,7 @@ let src = super.fetchPypi { pname = "librosa"; inherit version; - sha256 = "c53d05e768ae4a3e553ae21c2e5015293e5efbfd5c12d497f1104cb519cca6b3"; + hash = "sha256-xT0F52iuSj5VOuIcLlAVKT5e+/1cEtSX8RBMtRnMprM="; }; }); }; @@ -32,16 +33,29 @@ let in python.pkgs.buildPythonApplication rec { pname = "tts"; - version = "0.9.0"; + version = "0.10.2"; format = "pyproject"; src = fetchFromGitHub { owner = "coqui-ai"; repo = "TTS"; - rev = "v${version}"; - sha256 = "sha256-p4I583Rs/4eig7cnOcJjri2ugOLAeF2nvPIvMZrN1Ss="; + rev = "refs/tags/v${version}"; + hash = "sha256-IcuRhsURgEYIuS7ldZtxAy4Z/XNDehTGsOfYW+DhScg="; }; + patches = [ + # Use packaging.version for version comparisons + (fetchpatch { + url = "https://github.com/coqui-ai/TTS/commit/77a9ef8ac97ea1b0f7f8d8287dba69a74fdf22ce.patch"; + hash = "sha256-zWJmINyxw2efhR9KIVkDPHao5703zlpCKwdzOh/1APY="; + }) + # Fix espeak version detection logic + (fetchpatch { + url = "https://github.com/coqui-ai/TTS/commit/0031df0143b069d7db59ba04d1adfafcc1a92f47.patch"; + hash = "sha256-6cL9YqWrB+0QomINpA9BxdYmEDpXF03udGEchydQmBA="; + }) + ]; + postPatch = let relaxedConstraints = [ "cython" @@ -64,6 +78,7 @@ python.pkgs.buildPythonApplication rec { nativeBuildInputs = with python.pkgs; [ cython + packaging ]; propagatedBuildInputs = with python.pkgs; [ @@ -82,6 +97,7 @@ python.pkgs.buildPythonApplication rec { mecab-python3 nltk numba + packaging pandas pypinyin pysbd @@ -134,6 +150,8 @@ python.pkgs.buildPythonApplication rec { "test_run_all_models" "test_synthesize" "test_voice_conversion" + "test_multi_speaker_multi_lingual_model" + "test_single_speaker_model" # Mismatch between phonemes "test_text_to_ids_phonemes_with_eos_bos_and_blank" # Takes too long @@ -151,6 +169,7 @@ python.pkgs.buildPythonApplication rec { "tests/tts_tests/test_glow_tts_d-vectors_train.py" "tests/tts_tests/test_glow_tts_speaker_emb_train.py" "tests/tts_tests/test_glow_tts_train.py" + "tests/tts_tests/test_overflow_train.py" "tests/tts_tests/test_speedy_speech_train.py" "tests/tts_tests/test_tacotron2_d-vectors_train.py" "tests/tts_tests/test_tacotron2_speaker_emb_train.py" From f799d93ac179f8dd7b06d867d129fc6e7498c4fd Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 28 Jan 2023 23:02:19 -0300 Subject: [PATCH 25/63] bmake: 20220928 -> 20230126 --- pkgs/development/tools/build-managers/bmake/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/build-managers/bmake/default.nix b/pkgs/development/tools/build-managers/bmake/default.nix index cac4b3c650b8..fbe933f6b6d4 100644 --- a/pkgs/development/tools/build-managers/bmake/default.nix +++ b/pkgs/development/tools/build-managers/bmake/default.nix @@ -8,13 +8,13 @@ , pkgsMusl # for passthru.tests }: -stdenv.mkDerivation (finalAttrs: { +stdenv.mkDerivation (self: { pname = "bmake"; - version = "20220928"; + version = "20230126"; src = fetchurl { - url = "http://www.crufty.net/ftp/pub/sjg/${finalAttrs.pname}-${finalAttrs.version}.tar.gz"; - hash = "sha256-yAS3feP+uOMd7ipMn7Hp7CTFo0dk56KBXIi07QFlDpA="; + url = "http://www.crufty.net/ftp/pub/sjg/${self.pname}-${self.version}.tar.gz"; + hash = "sha256-hk9yGFgs95Dsc7ILcQVCXLn/ozUiJUF3LwMTMGtqC8Q="; }; # Make tests work with musl From b228bcbe5d4ad6bf6ca6398cbb0ef34f56330c83 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sun, 29 Jan 2023 10:39:46 +0800 Subject: [PATCH 26/63] pantheon.appcenter: 7.0.0 -> 7.1.0 --- pkgs/desktops/pantheon/apps/appcenter/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/pantheon/apps/appcenter/default.nix b/pkgs/desktops/pantheon/apps/appcenter/default.nix index 4fb9768ef7ee..4d3c09a9f204 100644 --- a/pkgs/desktops/pantheon/apps/appcenter/default.nix +++ b/pkgs/desktops/pantheon/apps/appcenter/default.nix @@ -25,13 +25,13 @@ stdenv.mkDerivation rec { pname = "appcenter"; - version = "7.0.0"; + version = "7.1.0"; src = fetchFromGitHub { owner = "elementary"; repo = pname; rev = version; - sha256 = "sha256-fRurEkatWbtGiTRNe6tA2NyYk1IRCBW8SKBSUm4FrO4="; + sha256 = "sha256-ToRY27qB/cNKjKW22MTEojxxOXMBfO1LUusy/pXKJ9A="; }; patches = [ From b20821a6ea14daa43975ce47199f26b49eec327b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 29 Jan 2023 03:02:02 +0000 Subject: [PATCH 27/63] rssguard: 4.2.7 -> 4.3.1 --- pkgs/applications/networking/feedreaders/rssguard/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/feedreaders/rssguard/default.nix b/pkgs/applications/networking/feedreaders/rssguard/default.nix index a5debadc8005..f1225f87eefb 100644 --- a/pkgs/applications/networking/feedreaders/rssguard/default.nix +++ b/pkgs/applications/networking/feedreaders/rssguard/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "rssguard"; - version = "4.2.7"; + version = "4.3.1"; src = fetchFromGitHub { owner = "martinrotter"; repo = pname; rev = version; - sha256 = "sha256-X5hZspl9IekhC8XXpZS285cmVZek2oxIV3tYOz/ZBec="; + sha256 = "sha256-hfUtxPGPhPC2VgGLLIaYHlEMpXHAPZ5fkLL0glhyQcY="; }; buildInputs = [ qtwebengine qttools ]; From 61f10941dbca6552fc77e4be7373991f57d882f5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 29 Jan 2023 05:42:24 +0000 Subject: [PATCH 28/63] bgpq4: 1.7 -> 1.8 --- pkgs/tools/networking/bgpq4/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/bgpq4/default.nix b/pkgs/tools/networking/bgpq4/default.nix index 8b8659f28151..0ec15e9c35c3 100644 --- a/pkgs/tools/networking/bgpq4/default.nix +++ b/pkgs/tools/networking/bgpq4/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "bgpq4"; - version = "1.7"; + version = "1.8"; src = fetchFromGitHub { owner = "bgp"; repo = pname; rev = version; - sha256 = "sha256-0gqd/bEj8ZDpf/3J2iZnGswTO6k8aJOuRiZXMZLm7zo="; + sha256 = "sha256-y1Btpp1xzjAezLaIJBF2+ghMgC/p8mHS/hStGIaKb1o="; }; nativeBuildInputs = [ From a529fe4dca0b308c62477ad16d17ad8ef8a0ac74 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Sun, 29 Jan 2023 15:49:19 +1000 Subject: [PATCH 29/63] containerd: 1.6.15 -> 1.6.16 https://github.com/containerd/containerd/releases/tag/v1.6.16 --- pkgs/applications/virtualization/containerd/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/virtualization/containerd/default.nix b/pkgs/applications/virtualization/containerd/default.nix index 40a1e671cc56..d95b37ef1d30 100644 --- a/pkgs/applications/virtualization/containerd/default.nix +++ b/pkgs/applications/virtualization/containerd/default.nix @@ -10,16 +10,16 @@ buildGoModule rec { pname = "containerd"; - version = "1.6.15"; + version = "1.6.16"; src = fetchFromGitHub { owner = "containerd"; repo = "containerd"; rev = "v${version}"; - sha256 = "sha256-Vlftq//mLYZPoT2R/lHJA6wLnqiuC+Cpy4lGQC8jCPA="; + hash = "sha256-p2I188MGoxnd7dBAMQ0bM5+GT8z3y9S4cZW2Q99DyzY="; }; - vendorSha256 = null; + vendorHash = null; nativeBuildInputs = [ go-md2man installShellFiles util-linux ]; From e713cf56f2532863e9fdda38c2c7e9b80fcab9fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 28 Jan 2023 21:21:05 -0800 Subject: [PATCH 30/63] deltachat-desktop: use electron_22 --- .../deltachat-desktop/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/deltachat-desktop/default.nix b/pkgs/applications/networking/instant-messengers/deltachat-desktop/default.nix index bd3d75bd66bb..805aadfc40a9 100644 --- a/pkgs/applications/networking/instant-messengers/deltachat-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/deltachat-desktop/default.nix @@ -1,7 +1,7 @@ { lib , buildNpmPackage , copyDesktopItems -, electron_18 +, electron_22 , buildGoModule , esbuild , fetchFromGitHub @@ -57,7 +57,15 @@ in buildNpmPackage rec { hash = "sha256-XOGfKa0eGVZKKKC0Pm2kw48XWWcrxCyDdYzCSKp+wco="; }; - npmDepsHash = "sha256-ZMXXBDVT5rHTzHOrKAUAezL/1UTMdzbBllG69kxg55M="; + patches = [ + (fetchpatch { + name = "bump-electron-to-22.1.0.patch"; + url = "https://github.com/deltachat/deltachat-desktop/commit/944d2735cda6cd5a95cb83c57484fbaf16720a9c.patch"; + hash = "sha256-kaKi32eFQ3hGLZLjiXmH9qs4GXezcDQ7zTdT2+D8NcQ="; + }) + ]; + + npmDepsHash = "sha256-J3/S/jYQvO/U8StDtYI+jozon0d4VCdeqFX6x1hHzMo="; nativeBuildInputs = [ makeWrapper @@ -105,7 +113,7 @@ in buildNpmPackage rec { $out/lib/node_modules/deltachat-desktop/html-dist/fonts done - makeWrapper ${electron_18}/bin/electron $out/bin/deltachat \ + makeWrapper ${electron_22}/bin/electron $out/bin/deltachat \ --set LD_PRELOAD ${sqlcipher}/lib/libsqlcipher${stdenv.hostPlatform.extensions.sharedLibrary} \ --add-flags $out/lib/node_modules/deltachat-desktop From f8fa5d30c616ea34989d4636565f21a03b62d4e4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 29 Jan 2023 06:15:10 +0000 Subject: [PATCH 31/63] pekwm: 0.2.1 -> 0.3.0 --- pkgs/applications/window-managers/pekwm/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/window-managers/pekwm/default.nix b/pkgs/applications/window-managers/pekwm/default.nix index 6f1a37f9379a..2ec46e42cbf3 100644 --- a/pkgs/applications/window-managers/pekwm/default.nix +++ b/pkgs/applications/window-managers/pekwm/default.nix @@ -18,13 +18,13 @@ stdenv.mkDerivation rec { pname = "pekwm"; - version = "0.2.1"; + version = "0.3.0"; src = fetchFromGitHub { owner = "pekdon"; repo = "pekwm"; rev = "release-${version}"; - hash= "sha256-voHPstdcd4CHnAdD3PMxca0A6MyMYJi8Ik0UlFB0vG0="; + hash= "sha256-hA+TBAs9NMcc5DKIkzyUHWck3Xht+yeCO54xJ6oXXuQ="; }; nativeBuildInputs = [ From e17eb8b5e5ba4e3413f681dc2d4cbc2325b56426 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 29 Jan 2023 07:24:49 +0100 Subject: [PATCH 32/63] =?UTF-8?q?ocamlPackages.ca-certs-nss:=203.77=20?= =?UTF-8?q?=E2=86=92=203.86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/ca-certs-nss/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/ocaml-modules/ca-certs-nss/default.nix b/pkgs/development/ocaml-modules/ca-certs-nss/default.nix index 3e5119b1739e..73f6838501a6 100644 --- a/pkgs/development/ocaml-modules/ca-certs-nss/default.nix +++ b/pkgs/development/ocaml-modules/ca-certs-nss/default.nix @@ -14,17 +14,16 @@ buildDunePackage rec { pname = "ca-certs-nss"; - version = "3.77"; + version = "3.86"; - minimumOCamlVersion = "4.08"; + minimalOCamlVersion = "4.08"; + duneVersion = "3"; src = fetchurl { url = "https://github.com/mirage/ca-certs-nss/releases/download/v${version}/ca-certs-nss-${version}.tbz"; - sha256 = "sha256-Ezos9A2AQOo43R9akVbJ5l+euTDtguzMfH63YXo9hvc="; + hash = "sha256-3b20vYBP9T2uR17Vxyilfs/9C72WVUrgR7T582V++lQ="; }; - useDune2 = true; - propagatedBuildInputs = [ mirage-crypto mirage-clock From 5b360aa5a4f9dc7e0e053461ba8b21b6db3df735 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 29 Jan 2023 07:24:54 +0100 Subject: [PATCH 33/63] ocamlPackages.x509: use Dune 3 --- pkgs/development/ocaml-modules/x509/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/x509/default.nix b/pkgs/development/ocaml-modules/x509/default.nix index 91a478df8844..9bfe9489444c 100644 --- a/pkgs/development/ocaml-modules/x509/default.nix +++ b/pkgs/development/ocaml-modules/x509/default.nix @@ -10,9 +10,11 @@ buildDunePackage rec { pname = "x509"; version = "0.16.2"; + duneVersion = "3"; + src = fetchurl { url = "https://github.com/mirleft/ocaml-x509/releases/download/v${version}/x509-${version}.tbz"; - sha256 = "sha256-Zf/ZZjUAkeWe04XLmqMKgbxN/qe/Z1mpKM82veXVf2I="; + hash = "sha256-Zf/ZZjUAkeWe04XLmqMKgbxN/qe/Z1mpKM82veXVf2I="; }; nativeCheckInputs = [ alcotest cstruct-unix ]; From 9e36180b8b769dfe2c9c78ade61b61b0c7d72458 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 29 Jan 2023 06:38:58 +0000 Subject: [PATCH 34/63] git-chglog: 0.15.1 -> 0.15.2 --- pkgs/applications/version-management/git-chglog/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/version-management/git-chglog/default.nix b/pkgs/applications/version-management/git-chglog/default.nix index b427acf960ec..6259bad88063 100644 --- a/pkgs/applications/version-management/git-chglog/default.nix +++ b/pkgs/applications/version-management/git-chglog/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "git-chglog"; - version = "0.15.1"; + version = "0.15.2"; src = fetchFromGitHub { owner = "git-chglog"; repo = "git-chglog"; rev = "v${version}"; - sha256 = "sha256-UlhJ004ceXpdB/9296cL2sbBYsjV8D+3YS1vmFgnko8="; + sha256 = "sha256-VB3JYXz50B/SkA/q1iET7p5uhArrF8JyhAWhcxLVsg8="; }; - vendorSha256 = "sha256-FLFPcmkrhZ+/UX1xpexsDv3cgC/Ocj4qTFJOX+rmdyQ="; + vendorHash = "sha256-/5s9Dvce0JWu8DaUlrtnkN6N5esEmkFvOgq0tVLZGnM="; ldflags = [ "-s" "-w" "-X=main.Version=v${version}" ]; From d9986a53eefc890b55fd01eb88b990c0bcd7471d Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 29 Jan 2023 07:44:40 +0100 Subject: [PATCH 35/63] wayland: mark as broken on darwin --- pkgs/development/libraries/wayland/default.nix | 2 +- pkgs/top-level/all-packages.nix | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/wayland/default.nix b/pkgs/development/libraries/wayland/default.nix index bb764d641436..8d229678a3c8 100644 --- a/pkgs/development/libraries/wayland/default.nix +++ b/pkgs/development/libraries/wayland/default.nix @@ -8,7 +8,7 @@ , wayland-scanner , expat , libxml2 -, withLibraries ? stdenv.isLinux +, withLibraries ? true , libffi , withDocumentation ? withLibraries && stdenv.hostPlatform == stdenv.buildPlatform , graphviz-nox diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5c9a3a7787df..c1d9915d0a6e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9018,7 +9018,17 @@ with pkgs; memtester = callPackage ../tools/system/memtester { }; - mesa-demos = callPackage ../tools/graphics/mesa-demos { }; + mesa-demos = + let + wayland' = wayland.override { withLibraries = stdenv.isLinux; }; + in + callPackage ../tools/graphics/mesa-demos { + wayland = wayland'; + wayland-protocols = wayland-protocols.override { + wayland = wayland'; + wayland-scanner = wayland'.bin; + }; + }; mhonarc = perlPackages.MHonArc; From 7e88ef7fefd010b6ee397d58fb451c786d58676a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 29 Jan 2023 06:46:26 +0000 Subject: [PATCH 36/63] pure-maps: 3.1.1 -> 3.2.0 --- pkgs/applications/misc/pure-maps/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/pure-maps/default.nix b/pkgs/applications/misc/pure-maps/default.nix index 793e5291d5b5..0220778277c1 100644 --- a/pkgs/applications/misc/pure-maps/default.nix +++ b/pkgs/applications/misc/pure-maps/default.nix @@ -6,13 +6,13 @@ mkDerivation rec { pname = "pure-maps"; - version = "3.1.1"; + version = "3.2.0"; src = fetchFromGitHub { owner = "rinigus"; repo = "pure-maps"; rev = version; - hash = "sha256-ZPW2hNnaRfv5aTXqku7hPShN0leOuVEJ3T/OOTzwgXQ="; + hash = "sha256-07Jk5ufYbBAa/UY1B0IoyuOAVt15rGCxCRXu3OeYyWU="; fetchSubmodules = true; }; From d1c6a408d0653c9123fa246ae0fa89ed1e8a43ab Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 29 Jan 2023 06:51:59 +0000 Subject: [PATCH 37/63] htpdate: 1.3.6 -> 1.3.7 --- pkgs/tools/networking/htpdate/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/htpdate/default.nix b/pkgs/tools/networking/htpdate/default.nix index e821163f2298..936e582a1a4f 100644 --- a/pkgs/tools/networking/htpdate/default.nix +++ b/pkgs/tools/networking/htpdate/default.nix @@ -1,14 +1,14 @@ { stdenv, lib, fetchFromGitHub }: stdenv.mkDerivation rec { - version = "1.3.6"; + version = "1.3.7"; pname = "htpdate"; src = fetchFromGitHub { owner = "twekkel"; repo = pname; rev = "v${version}"; - sha256 = "sha256-0NLlBNYTJ+hmQLH/UYwIOIbq3G1sDo/A03xFHsXdzig="; + sha256 = "sha256-XdqQQw87gvWvdx150fQhnCio478PNCQBMw/g/l/T1ZA="; }; makeFlags = [ From f60e098400fdb9836d968f331c1ab0ed4b5c0883 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 29 Jan 2023 08:03:23 +0100 Subject: [PATCH 38/63] bugdom: 1.3.2 -> 1.3.3 --- pkgs/games/bugdom/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/games/bugdom/default.nix b/pkgs/games/bugdom/default.nix index 75bcad2f0db1..9bceef012907 100644 --- a/pkgs/games/bugdom/default.nix +++ b/pkgs/games/bugdom/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "bugdom"; - version = "1.3.2"; + version = "1.3.3"; src = fetchFromGitHub { owner = "jorio"; repo = pname; rev = version; - sha256 = "sha256-pgms2mipW1zol35LVCuU5+7mN7CBiVGFvu1CJ3CrGU0="; + hash = "sha256-oe7xxvoL82YF+EoIJDK6AfN3PmpqeGRlIsbaGx8xGeM="; fetchSubmodules = true; }; @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { # Passing this in cmakeFlags doesn't work because the path is hard-coded for Darwin substituteInPlace cmake/FindSDL2.cmake \ --replace 'set(SDL2_LIBRARIES' 'set(SDL2_LIBRARIES "${SDL2}/lib/libSDL2.dylib") #' + # Expects plutil, which we don't have + sed -i '/plutil/d' CMakeLists.txt ''; buildInputs = [ @@ -43,7 +45,7 @@ stdenv.mkDerivation rec { '' + (if stdenv.hostPlatform.isDarwin then '' mkdir -p $out/{bin,Applications} mv {,$out/Applications/}Bugdom.app - ln -s $out/{Applications/Bugdom.app/Contents/MacOS,bin}/Bugdom + makeWrapper $out/{Applications/Bugdom.app/Contents/MacOS,bin}/Bugdom '' else '' mkdir -p $out/share/bugdom mv Data $out/share/bugdom From 6b9b9b559ed1e7dd6dfc680aa82fe72d4df1af1e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 29 Jan 2023 07:13:01 +0000 Subject: [PATCH 39/63] python310Packages.pytradfri: 11.0.0 -> 12.0.1 --- pkgs/development/python-modules/pytradfri/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytradfri/default.nix b/pkgs/development/python-modules/pytradfri/default.nix index 46e9b3843af5..e6a8357e01ab 100644 --- a/pkgs/development/python-modules/pytradfri/default.nix +++ b/pkgs/development/python-modules/pytradfri/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "pytradfri"; - version = "11.0.0"; + version = "12.0.1"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "home-assistant-libs"; repo = "pytradfri"; rev = "refs/tags/${version}"; - hash = "sha256-+OOmoh2HLKiHAqOIH2aB4CZcW/ND/0bszgkcdRMYBlc="; + hash = "sha256-ov5Z9frYxdbPxqUedwXPYZEinCgQ0ge1jcX6UFdQMHw="; }; propagatedBuildInputs = [ From e35fa37cfcd13ecccb5f25b6228671ab9b6e7366 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 29 Jan 2023 08:19:58 +0100 Subject: [PATCH 40/63] kicad.base: expose binaries on darwin --- pkgs/applications/science/electronics/kicad/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/science/electronics/kicad/default.nix b/pkgs/applications/science/electronics/kicad/default.nix index dcc13cf99cc6..9765d2fcc1e4 100644 --- a/pkgs/applications/science/electronics/kicad/default.nix +++ b/pkgs/applications/science/electronics/kicad/default.nix @@ -15,7 +15,7 @@ , pname ? "kicad" , stable ? true , withOCC ? true -, withNgspice ? true +, withNgspice ? !stdenv.isDarwin , libngspice , withScripting ? true , python3 @@ -170,6 +170,7 @@ stdenv.mkDerivation rec { # $out and $program_PYTHONPATH don't exist when makeWrapperArgs gets set? installPhase = let + bin = if stdenv.isDarwin then "*.app/Contents/MacOS" else "bin"; tools = [ "kicad" "pcbnew" "eeschema" "gerbview" "pcb_calculator" "pl_editor" "bitmap2component" ]; utils = [ "dxf2idf" "idf2vrml" "idfcyl" "idfrect" "kicad2step" ]; in @@ -181,13 +182,13 @@ stdenv.mkDerivation rec { # wrap each of the directly usable tools (map - (tool: "makeWrapper ${base}/bin/${tool} $out/bin/${tool} $makeWrapperArgs" + (tool: "makeWrapper ${base}/${bin}/${tool} $out/bin/${tool} $makeWrapperArgs" + optionalString (withScripting) " --set PYTHONPATH \"$program_PYTHONPATH\"" ) tools) # link in the CLI utils - (map (util: "ln -s ${base}/bin/${util} $out/bin/${util}") utils) + (map (util: "ln -s ${base}/${bin}/${util} $out/bin/${util}") utils) "runHook postInstall" ]) From 2e4f4911bf9e07c0934f7f634cbde67a7a61b7b6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 29 Jan 2023 07:31:52 +0000 Subject: [PATCH 41/63] python310Packages.upb-lib: 0.5.2 -> 0.5.3 --- 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 310480a49ab4..50b4d7a4d0a5 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.2"; + version = "0.5.3"; disabled = pythonOlder "3.7"; src = fetchPypi { pname = "upb_lib"; inherit version; - hash = "sha256-/TNKsno0JJtxBY9HCPQfp7OhlfkOP6sJI51rgp2ujDg="; + hash = "sha256-I1lnIr8ptDCyK8r0bvFWFPUGRwoMsQcNnSCSwzdt1Bc="; }; propagatedBuildInputs = [ From a6fb5666b315667c5b978ba2504bccbebe180fe1 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 29 Jan 2023 08:52:45 +0100 Subject: [PATCH 42/63] rapidjson: disable tests on darwin --- pkgs/development/libraries/rapidjson/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/rapidjson/default.nix b/pkgs/development/libraries/rapidjson/default.nix index 9d8db78e0215..b67824b5cc55 100644 --- a/pkgs/development/libraries/rapidjson/default.nix +++ b/pkgs/development/libraries/rapidjson/default.nix @@ -43,7 +43,7 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DGTEST_SOURCE_DIR=${gtest.dev}/include" ]; nativeCheckInputs = [ valgrind ]; - doCheck = !stdenv.hostPlatform.isStatic; + doCheck = !stdenv.hostPlatform.isStatic && !stdenv.isDarwin; meta = with lib; { description = "Fast JSON parser/generator for C++ with both SAX/DOM style API"; From b9e61893416c7b08266293d112ae1cff479c8b09 Mon Sep 17 00:00:00 2001 From: Florian Date: Sun, 29 Jan 2023 09:11:48 +0100 Subject: [PATCH 43/63] Octoprint vcgencmd patch (#213201) * octoprint: add tmpfile.d rule for read-access to /dev/vchiq for vcgencmd fixes #210629 Signed-off-by: Florian Brandes * Update pkgs/applications/misc/octoprint/default.nix --------- Signed-off-by: Florian Brandes Co-authored-by: Nick Cao --- nixos/modules/services/misc/octoprint.nix | 3 +++ pkgs/applications/misc/octoprint/default.nix | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/nixos/modules/services/misc/octoprint.nix b/nixos/modules/services/misc/octoprint.nix index c216c6fa2b77..43e0ce0c21d3 100644 --- a/nixos/modules/services/misc/octoprint.nix +++ b/nixos/modules/services/misc/octoprint.nix @@ -106,6 +106,9 @@ in systemd.tmpfiles.rules = [ "d '${cfg.stateDir}' - ${cfg.user} ${cfg.group} - -" + # this will allow octoprint access to raspberry specific hardware to check for throttling + # read-only will not work: "VCHI initialization failed" error + "a /dev/vchiq - - - - u:octoprint:rw" ]; systemd.services.octoprint = { diff --git a/pkgs/applications/misc/octoprint/default.nix b/pkgs/applications/misc/octoprint/default.nix index 4b445c6b3083..12d0a5e38fe6 100644 --- a/pkgs/applications/misc/octoprint/default.nix +++ b/pkgs/applications/misc/octoprint/default.nix @@ -82,6 +82,10 @@ let # requires octoprint itself during tests doCheck = false; + postPatch = '' + substituteInPlace octoprint_pi_support/__init__.py \ + --replace /usr/bin/vcgencmd ${self.pkgs.libraspberrypi}/bin/vcgencmd + ''; }; } ) From f75928f743771a45af270cee7848a07a2635f5b6 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Sun, 29 Jan 2023 00:18:17 -0800 Subject: [PATCH 44/63] python310Packages.altair: 4.2.0 -> 4.2.2 (#213319) --- pkgs/development/python-modules/altair/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/altair/default.nix b/pkgs/development/python-modules/altair/default.nix index 55925b8e0a92..63ee77d22163 100644 --- a/pkgs/development/python-modules/altair/default.nix +++ b/pkgs/development/python-modules/altair/default.nix @@ -18,12 +18,12 @@ buildPythonPackage rec { pname = "altair"; - version = "4.2.0"; + version = "4.2.2"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "d87d9372e63b48cd96b2a6415f0cf9457f50162ab79dc7a31cd7e024dd840026"; + sha256 = "sha256-OTmaJnxJsw0QLBBBHmerJjdBVqhLGuufzRUUBCm6ScU="; }; propagatedBuildInputs = [ From 407b029dde2f8f01c116b46d387676ec8d35dace Mon Sep 17 00:00:00 2001 From: Tomo <68489118+Tomodachi94@users.noreply.github.com> Date: Sat, 28 Jan 2023 13:06:23 -0800 Subject: [PATCH 45/63] discord-gamesdk: init at 3.2.1 --- .../libraries/discord-gamesdk/default.nix | 41 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 43 insertions(+) create mode 100644 pkgs/development/libraries/discord-gamesdk/default.nix diff --git a/pkgs/development/libraries/discord-gamesdk/default.nix b/pkgs/development/libraries/discord-gamesdk/default.nix new file mode 100644 index 000000000000..513eebe7124f --- /dev/null +++ b/pkgs/development/libraries/discord-gamesdk/default.nix @@ -0,0 +1,41 @@ +{ lib +, stdenv +, fetchzip +, autoPatchelfHook +}: + +stdenv.mkDerivation rec { + pname = "discord-gamesdk"; + version = "3.2.1"; + + src = fetchzip { + url = "https://dl-game-sdk.discordapp.net/${version}/discord_game_sdk.zip"; + sha256 = "sha256-83DgL9y3lHLLJ8vgL3EOVk2Tjcue64N+iuDj/UpSdLc="; + stripRoot = false; + }; + + nativeBuildInputs = [ + autoPatchelfHook + ]; + + installPhase = + let + processor = stdenv.hostPlatform.uname.processor; + sharedLibrary = stdenv.hostPlatform.extensions.sharedLibrary; + in + '' + runHook preInstall + + install -Dm555 lib/${processor}/discord_game_sdk${sharedLibrary} $out/lib/discord_game_sdk${sharedLibrary} + + runHook postInstall + ''; + + meta = with lib; { + homepage = "https://discord.com/developers/docs/game-sdk/sdk-starter-guide"; + description = "Library to allow other programs to interact with the Discord desktop application"; + license = licenses.unfree; + maintainers = with maintainers; [ tomodachi94 ]; + platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" "x86_64-windows" ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2b7e2fad9bb4..04d42e9379ff 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19242,6 +19242,8 @@ with pkgs; discordchatexporter-cli = callPackage ../tools/backup/discordchatexporter-cli { }; + discord-gamesdk = callPackage ../development/libraries/discord-gamesdk { }; + discord-rpc = callPackage ../development/libraries/discord-rpc { inherit (darwin.apple_sdk.frameworks) AppKit; }; From 388b6fa516c7549aa731864323cd25dacddcf83b Mon Sep 17 00:00:00 2001 From: zendo Date: Sun, 29 Jan 2023 16:54:06 +0800 Subject: [PATCH 46/63] lxgw-neoxihei: init at 1.005 --- pkgs/data/fonts/lxgw-neoxihei/default.nix | 32 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/data/fonts/lxgw-neoxihei/default.nix diff --git a/pkgs/data/fonts/lxgw-neoxihei/default.nix b/pkgs/data/fonts/lxgw-neoxihei/default.nix new file mode 100644 index 000000000000..9d05689657e0 --- /dev/null +++ b/pkgs/data/fonts/lxgw-neoxihei/default.nix @@ -0,0 +1,32 @@ +{ lib +, fetchurl +, stdenvNoCC +}: + +stdenvNoCC.mkDerivation rec { + pname = "lxgw-neoxihei"; + version = "1.005"; + + src = fetchurl { + url = "https://github.com/lxgw/LxgwNeoXiHei/releases/download/v${version}/LXGWNeoXiHei.ttf"; + hash = "sha256-IvbbeBjpFz9zHt3mHu5vY8sLETKnvOMv7eHjANQ2GlA="; + }; + + dontUnpack = true; + + installPhase = '' + runHook preInstall + + install -Dm644 $src $out/share/fonts/truetype/LXGWNeoXiHei.ttf + + runHook postInstall + ''; + + meta = with lib; { + description = "A Simplified Chinese sans-serif font derived from IPAex Gothic"; + homepage = "https://github.com/lxgw/LxgwNeoXiHei"; + license = licenses.ipa; + platforms = platforms.all; + maintainers = with maintainers; [ zendo ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e80b17093aeb..30d9f61fc864 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27236,6 +27236,8 @@ with pkgs; inherit (plasma5Packages) breeze-icons; }; + lxgw-neoxihei = callPackage ../data/fonts/lxgw-neoxihei { }; + lxgw-wenkai = callPackage ../data/fonts/lxgw-wenkai { }; maia-icon-theme = libsForQt5.callPackage ../data/icons/maia-icon-theme { }; From 7453c464ebe9c5c08e4b1b4b76a69e2f7fcf3014 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 29 Jan 2023 10:31:33 +0100 Subject: [PATCH 47/63] python310Packages.pytradfri: add changelog to meta --- pkgs/development/python-modules/pytradfri/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/pytradfri/default.nix b/pkgs/development/python-modules/pytradfri/default.nix index e6a8357e01ab..822af461dc01 100644 --- a/pkgs/development/python-modules/pytradfri/default.nix +++ b/pkgs/development/python-modules/pytradfri/default.nix @@ -45,6 +45,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python package to communicate with the IKEA Trådfri ZigBee Gateway"; homepage = "https://github.com/home-assistant-libs/pytradfri"; + changelog = "https://github.com/home-assistant-libs/pytradfri/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; }; From 1762ad8be0a898ecb500d5bfd537d35078efce84 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 29 Jan 2023 10:31:58 +0100 Subject: [PATCH 48/63] python310Packages.pytradfri: update disabled --- pkgs/development/python-modules/pytradfri/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pytradfri/default.nix b/pkgs/development/python-modules/pytradfri/default.nix index 822af461dc01..58b3ea9f2ec9 100644 --- a/pkgs/development/python-modules/pytradfri/default.nix +++ b/pkgs/development/python-modules/pytradfri/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { version = "12.0.1"; format = "setuptools"; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "home-assistant-libs"; From ad134b2b80a0fc0f88e624240422e913ec2dee73 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 29 Jan 2023 10:34:08 +0100 Subject: [PATCH 49/63] python310Packages.boschshcpy: 0.2.48 -> 0.2.51 Diff: https://github.com/tschamm/boschshcpy/compare/0.2.48...0.2.51 --- pkgs/development/python-modules/boschshcpy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/boschshcpy/default.nix b/pkgs/development/python-modules/boschshcpy/default.nix index 4f17d17c0d52..1c614663209e 100644 --- a/pkgs/development/python-modules/boschshcpy/default.nix +++ b/pkgs/development/python-modules/boschshcpy/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "boschshcpy"; - version = "0.2.48"; + version = "0.2.51"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "tschamm"; repo = pname; rev = version; - sha256 = "sha256-EPS9kqlognIoMnpgmFl32FVT1ahyliizLzGfgE3N24Y="; + sha256 = "sha256-HTVs1fC+Rex3U96R66zY43Q4GnRKZlfaY4D9Lbv5aQg="; }; propagatedBuildInputs = [ From bc4190becda35b89b09a26eb596b52af36ebaa1d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 19 Dec 2022 22:23:21 +0100 Subject: [PATCH 50/63] python310Packages.govee-ble: add changelog to meta --- pkgs/development/python-modules/govee-ble/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/govee-ble/default.nix b/pkgs/development/python-modules/govee-ble/default.nix index 3e1bb1c8a7d1..e3093f7afa40 100644 --- a/pkgs/development/python-modules/govee-ble/default.nix +++ b/pkgs/development/python-modules/govee-ble/default.nix @@ -51,6 +51,7 @@ buildPythonPackage rec { meta = with lib; { description = "Library for Govee BLE devices"; homepage = "https://github.com/Bluetooth-Devices/govee-ble"; + changelog = "https://github.com/bluetooth-devices/govee-ble/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; From bdddb61a545780d6b3171ec9b8be43200a3d813c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 29 Jan 2023 10:35:49 +0100 Subject: [PATCH 51/63] python310Packages.govee-ble: 0.21.1 -> 0.22.0 Diff: https://github.com/Bluetooth-Devices/govee-ble/compare/refs/tags/v0.21.1...v0.22.0 Changelog: https://github.com/bluetooth-devices/govee-ble/blob/v0.22.0/CHANGELOG.md --- pkgs/development/python-modules/govee-ble/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/govee-ble/default.nix b/pkgs/development/python-modules/govee-ble/default.nix index e3093f7afa40..233d0bbbce81 100644 --- a/pkgs/development/python-modules/govee-ble/default.nix +++ b/pkgs/development/python-modules/govee-ble/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "govee-ble"; - version = "0.21.1"; + version = "0.22.0"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-F5BUt+A5IF010PT/OvkINrMyK8tZ+uqml3CqNWpaM0c="; + hash = "sha256-HAUHNxO7dfocazGhcvvcqbZot/RkAP50DrsEkocOugI="; }; nativeBuildInputs = [ From a43bf996345038848f0a88b0f846b58fde38953a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 29 Jan 2023 10:41:16 +0100 Subject: [PATCH 52/63] python310Packages.pyuptimerobot: add changelog to meta --- pkgs/development/python-modules/pyuptimerobot/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyuptimerobot/default.nix b/pkgs/development/python-modules/pyuptimerobot/default.nix index 8dc976fa8c40..5e13ab7093e8 100644 --- a/pkgs/development/python-modules/pyuptimerobot/default.nix +++ b/pkgs/development/python-modules/pyuptimerobot/default.nix @@ -18,8 +18,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "ludeeus"; repo = pname; - rev = version; - sha256 = "sha256-QZm8FlUm17Vv80hB3iai54QcVlhSrq2AvbdBaRWDyok="; + rev = "refs/tags/${version}"; + hash = "sha256-QZm8FlUm17Vv80hB3iai54QcVlhSrq2AvbdBaRWDyok="; }; propagatedBuildInputs = [ @@ -45,6 +45,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python API wrapper for Uptime Robot"; homepage = "https://github.com/ludeeus/pyuptimerobot"; + changelog = "https://github.com/ludeeus/pyuptimerobot/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; From 37b4356a4334fb6a2bb1cdd63f8933f4fd4da1b1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 29 Jan 2023 10:42:16 +0100 Subject: [PATCH 53/63] python310Packages.pyuptimerobot: 22.2.0 -> 23.1.0 Diff: https://github.com/ludeeus/pyuptimerobot/compare/refs/tags/22.2.0...23.1.0 Changelog: https://github.com/ludeeus/pyuptimerobot/releases/tag/23.1.0 --- .../python-modules/pyuptimerobot/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/pyuptimerobot/default.nix b/pkgs/development/python-modules/pyuptimerobot/default.nix index 5e13ab7093e8..8b6af6dc5d92 100644 --- a/pkgs/development/python-modules/pyuptimerobot/default.nix +++ b/pkgs/development/python-modules/pyuptimerobot/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "pyuptimerobot"; - version = "22.2.0"; + version = "23.1.0"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -19,9 +19,15 @@ buildPythonPackage rec { owner = "ludeeus"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-QZm8FlUm17Vv80hB3iai54QcVlhSrq2AvbdBaRWDyok="; + hash = "sha256-hy/hmXxxEb44X8JUszoA1YF/41y7GkQqC4uS+Pax6WA="; }; + postPatch = '' + # Upstream doesn't set version in the repo + substituteInPlace setup.py \ + --replace 'version="main",' 'version="${version}",' + ''; + propagatedBuildInputs = [ aiohttp ]; @@ -32,12 +38,6 @@ buildPythonPackage rec { pytest-asyncio ]; - postPatch = '' - # Upstream doesn't set version in the repo - substituteInPlace setup.py \ - --replace 'version="main",' 'version="${version}",' - ''; - pythonImportsCheck = [ "pyuptimerobot" ]; From 7ec7c3fed7bddc39871a38ec11586e4a2fe774b3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 29 Jan 2023 10:45:21 +0100 Subject: [PATCH 54/63] python310Packages.pytautulli: add changelog to meta --- pkgs/development/python-modules/pytautulli/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pytautulli/default.nix b/pkgs/development/python-modules/pytautulli/default.nix index 849d1e29a172..f05f3a999da4 100644 --- a/pkgs/development/python-modules/pytautulli/default.nix +++ b/pkgs/development/python-modules/pytautulli/default.nix @@ -18,8 +18,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "ludeeus"; repo = pname; - rev = version; - sha256 = "sha256-zODU3aN+8Fdw/GQ/EfZhn6kOuLDARKgLULzRw2+b2BM="; + rev = "refs/tags/${version}"; + hash = "sha256-zODU3aN+8Fdw/GQ/EfZhn6kOuLDARKgLULzRw2+b2BM="; }; postPatch = '' @@ -34,9 +34,12 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + pytestCheckHook + ]; + + checkInputs = [ aresponses pytest-asyncio - pytestCheckHook ]; pytestFlagsArray = [ @@ -50,6 +53,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python module to get information from Tautulli"; homepage = "https://github.com/ludeeus/pytautulli"; + changelog = "https://github.com/ludeeus/pytautulli/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; From f3625b72c23917ebf35d66482aa82f0029387933 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 29 Jan 2023 10:45:46 +0100 Subject: [PATCH 55/63] python310Packages.pytautulli: 21.11.0 -> 23.1.0 Diff: https://github.com/ludeeus/pytautulli/compare/refs/tags/21.11.0...23.1.0 Changelog: https://github.com/ludeeus/pytautulli/releases/tag/23.1.0 --- pkgs/development/python-modules/pytautulli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytautulli/default.nix b/pkgs/development/python-modules/pytautulli/default.nix index f05f3a999da4..a9e5ff4510c0 100644 --- a/pkgs/development/python-modules/pytautulli/default.nix +++ b/pkgs/development/python-modules/pytautulli/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "pytautulli"; - version = "21.11.0"; + version = "23.1.0"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "ludeeus"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-zODU3aN+8Fdw/GQ/EfZhn6kOuLDARKgLULzRw2+b2BM="; + hash = "sha256-wNR97rGmm/Tmx/o0+r6BTL1muNv25nq9nZaE8/SAi14="; }; postPatch = '' From 173d592454fdaa50e58848fe78b00e71079433b9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 29 Jan 2023 10:59:34 +0100 Subject: [PATCH 56/63] python310Packages.prayer-times-calculator: add changelog to meta --- .../python-modules/prayer-times-calculator/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/prayer-times-calculator/default.nix b/pkgs/development/python-modules/prayer-times-calculator/default.nix index d686ac3bd0b0..d6ecd0304171 100644 --- a/pkgs/development/python-modules/prayer-times-calculator/default.nix +++ b/pkgs/development/python-modules/prayer-times-calculator/default.nix @@ -8,13 +8,15 @@ buildPythonPackage rec { pname = "prayer-times-calculator"; version = "0.0.7"; + format = "setuptools"; + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "uchagani"; repo = pname; rev = "refs/tags/${version}"; - sha256 = "sha256-fIfv10oi5Lv1dj5Y5CYI94/UdWG3bAY/ENCiMTkO0RE="; + hash = "sha256-fIfv10oi5Lv1dj5Y5CYI94/UdWG3bAY/ENCiMTkO0RE="; }; propagatedBuildInputs = [ @@ -24,11 +26,14 @@ buildPythonPackage rec { # Project has no tests doCheck = false; - pythonImportsCheck = [ "prayer_times_calculator" ]; + pythonImportsCheck = [ + "prayer_times_calculator" + ]; meta = with lib; { description = "Python client for the Prayer Times API"; homepage = "https://github.com/uchagani/prayer-times-calculator"; + changelog = "https://github.com/uchagani/prayer-times-calculator/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; From eda787858ebbba92bc664faace17aa45ff59a407 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 29 Jan 2023 11:00:06 +0100 Subject: [PATCH 57/63] python310Packages.prayer-times-calculator: 0.0.7 -> 0.0.8 Diff: https://github.com/uchagani/prayer-times-calculator/compare/refs/tags/0.0.7...0.0.8 Changelog: https://github.com/uchagani/prayer-times-calculator/releases/tag/0.0.8 --- .../python-modules/prayer-times-calculator/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/prayer-times-calculator/default.nix b/pkgs/development/python-modules/prayer-times-calculator/default.nix index d6ecd0304171..7e96bf4196b4 100644 --- a/pkgs/development/python-modules/prayer-times-calculator/default.nix +++ b/pkgs/development/python-modules/prayer-times-calculator/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "prayer-times-calculator"; - version = "0.0.7"; + version = "0.0.8"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -16,7 +16,7 @@ buildPythonPackage rec { owner = "uchagani"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-fIfv10oi5Lv1dj5Y5CYI94/UdWG3bAY/ENCiMTkO0RE="; + hash = "sha256-Zk7lzZUfojJrsrLRS9cf9AhEfGGsxZJo2MnIIOv6Ezk="; }; propagatedBuildInputs = [ From f5de62a6c7b9b6a8a98776f1fa65ca7ca6733509 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 29 Jan 2023 11:02:53 +0100 Subject: [PATCH 58/63] python310Packages.identify: 2.5.15 -> 2.5.16 Diff: https://github.com/pre-commit/identify/compare/v2.5.15...v2.5.16 --- pkgs/development/python-modules/identify/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/identify/default.nix b/pkgs/development/python-modules/identify/default.nix index 00b6e6ba9aba..c0db14ca1fdd 100644 --- a/pkgs/development/python-modules/identify/default.nix +++ b/pkgs/development/python-modules/identify/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "identify"; - version = "2.5.15"; + version = "2.5.16"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "pre-commit"; repo = pname; rev = "v${version}"; - sha256 = "sha256-5M51eWdER9/K15H2yUQjvXMjzYNwx9BLIKSW/ToDU5g="; + sha256 = "sha256-4A+3O3z2bdJ/bUcIy9H8HTxaARxWJ7uDM4gD+dRFLtE="; }; nativeCheckInputs = [ From 5a1b73d8e012dd2efa74fad56481ebad0d3bbe55 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 29 Jan 2023 11:35:14 +0100 Subject: [PATCH 59/63] suil: fix build on x86_64-darwin --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 84588a3fb207..aeb4d8ad0f62 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23259,7 +23259,7 @@ with pkgs; subtitleeditor = callPackage ../applications/video/subtitleeditor { }; - suil = callPackage ../development/libraries/audio/suil { }; + suil = darwin.apple_sdk_11_0.callPackage ../development/libraries/audio/suil { }; sundials = callPackage ../development/libraries/sundials { python = python3; From 6f024f8dd380c1a4f3205ba8ab4e08462dfa44bb Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 25 Jan 2023 15:00:41 +0000 Subject: [PATCH 60/63] libvirt-glib: fix cross --- .../libraries/libvirt-glib/default.nix | 33 ++++++++++++++----- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/pkgs/development/libraries/libvirt-glib/default.nix b/pkgs/development/libraries/libvirt-glib/default.nix index 8f84cd0eab80..566a1c1b83fa 100644 --- a/pkgs/development/libraries/libvirt-glib/default.nix +++ b/pkgs/development/libraries/libvirt-glib/default.nix @@ -5,21 +5,23 @@ , meson , ninja , pkg-config -, gobject-introspection , gettext -, gtk-doc -, docbook-xsl-nons , vala , libcap_ng , libvirt , libxml2 +, withIntrospection ? stdenv.hostPlatform == stdenv.buildPlatform +, gobject-introspection +, withDocs ? stdenv.hostPlatform == stdenv.buildPlatform +, gtk-doc +, docbook-xsl-nons }: stdenv.mkDerivation rec { pname = "libvirt-glib"; version = "4.0.0"; - outputs = [ "out" "dev" "devdoc" ]; + outputs = [ "out" "dev" ] ++ lib.optional withDocs "devdoc"; src = fetchurl { url = "https://libvirt.org/sources/glib/${pname}-${version}.tar.xz"; @@ -39,22 +41,35 @@ stdenv.mkDerivation rec { ninja pkg-config gettext - gtk-doc - docbook-xsl-nons vala gobject-introspection + ] ++ lib.optionals withIntrospection [ + gobject-introspection + ] ++ lib.optionals withDocs [ + gtk-doc + docbook-xsl-nons ]; - buildInputs = (lib.optionals stdenv.isLinux [ - libcap_ng - ]) ++ [ + buildInputs = [ libvirt libxml2 + ] ++ lib.optionals stdenv.isLinux [ + libcap_ng + ] ++ lib.optionals withIntrospection [ gobject-introspection ]; strictDeps = true; + # The build system won't let us build with docs or introspection + # unless we're building natively, but will still do a mandatory + # check for the dependencies for those things unless we explicitly + # disable the options. + mesonFlags = [ + (lib.mesonEnable "docs" withDocs) + (lib.mesonEnable "introspection" withIntrospection) + ]; + # https://gitlab.com/libvirt/libvirt-glib/-/issues/4 NIX_CFLAGS_COMPILE = [ "-Wno-error=pointer-sign" ]; From 212c28ec39dd19ceb51cb7a3a9606567364f6c14 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 24 Jan 2023 15:20:04 +0000 Subject: [PATCH 61/63] rav1e: use libgit2 from Nixpkgs This is a native build input because it's used at build time by the "built" crate, which tries to embed git info and build timestamps into the binary (ugh). This fixes cross-compilation from x86_64 to aarch64, because git2's build.rs tries to use -m64, which is x86_64-only. --- pkgs/tools/video/rav1e/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/video/rav1e/default.nix b/pkgs/tools/video/rav1e/default.nix index f75c38111a57..32d9cc9d3d7d 100644 --- a/pkgs/tools/video/rav1e/default.nix +++ b/pkgs/tools/video/rav1e/default.nix @@ -3,8 +3,11 @@ , stdenv , rustPlatform , fetchCrate -, nasm +, pkg-config , cargo-c +, libgit2 +, nasm +, zlib , libiconv , Security }: @@ -24,7 +27,9 @@ in rustPlatform.buildRustPackage rec { auditable = true; # TODO: remove when this is the default - nativeBuildInputs = [ nasm cargo-c ]; + depsBuildBuild = [ pkg-config ]; + + nativeBuildInputs = [ cargo-c libgit2 nasm zlib ]; buildInputs = lib.optionals stdenv.isDarwin [ libiconv From 1d86b75742a5b00b619be724b87414bb20eb3d13 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 25 Jan 2023 10:11:54 +0000 Subject: [PATCH 62/63] systemtap: mark supported only for Glibc platforms Uses obstack, a GNU API not implemented by other Linux libcs. --- pkgs/development/tools/profiling/systemtap/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/profiling/systemtap/default.nix b/pkgs/development/tools/profiling/systemtap/default.nix index cadf9b9eeb16..84f1670e6dff 100644 --- a/pkgs/development/tools/profiling/systemtap/default.nix +++ b/pkgs/development/tools/profiling/systemtap/default.nix @@ -42,7 +42,7 @@ in runCommand "systemtap-${kernel.version}-${version}" { homepage = "https://sourceware.org/systemtap/"; description = "Provides a scripting language for instrumentation on a live kernel plus user-space"; license = lib.licenses.gpl2; - platforms = lib.platforms.linux; + platforms = lib.systems.inspect.patterns.isGnu; }; } '' mkdir -p $out/bin From 6fe87d158629a850d6f679392094b6a0ef66af1a Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 25 Jan 2023 10:12:34 +0000 Subject: [PATCH 63/63] linuxPackages.perf: only use systemtap where available Fixes pkgsMusl.perf. --- pkgs/os-specific/linux/kernel/perf/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/perf/default.nix b/pkgs/os-specific/linux/kernel/perf/default.nix index ae028b980ce2..c1f6fd03a2e1 100644 --- a/pkgs/os-specific/linux/kernel/perf/default.nix +++ b/pkgs/os-specific/linux/kernel/perf/default.nix @@ -108,7 +108,6 @@ stdenv.mkDerivation { libunwind zlib openssl - systemtap.stapBuild numactl python3 perl @@ -116,6 +115,7 @@ stdenv.mkDerivation { ] ++ (if (lib.versionAtLeast kernel.version "5.19") then [ libbfd libopcodes ] else [ libbfd_2_38 libopcodes_2_38 ]) + ++ lib.optional (lib.meta.availableOn stdenv.hostPlatform systemtap) systemtap.stapBuild ++ lib.optional withGtk gtk2 ++ lib.optional withZstd zstd ++ lib.optional withLibcap libcap