From adb2e740cfbc5d0f91e21d5ebf91441c70ccbf96 Mon Sep 17 00:00:00 2001 From: prtzl Date: Sun, 9 Oct 2022 00:38:43 +0200 Subject: [PATCH 01/50] gcc-arm-embedded: 10.3 -> 11.3.rel1 --- 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 8b50599c35c9..af50e1b10f1d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13956,7 +13956,7 @@ with pkgs; gcc-arm-embedded-9 = callPackage ../development/compilers/gcc-arm-embedded/9 {}; gcc-arm-embedded-10 = callPackage ../development/compilers/gcc-arm-embedded/10 {}; gcc-arm-embedded-11 = callPackage ../development/compilers/gcc-arm-embedded/11 {}; - gcc-arm-embedded = gcc-arm-embedded-10; + gcc-arm-embedded = gcc-arm-embedded-11; # Has to match the default gcc so that there are no linking errors when # using C/C++ libraries in D packages From 152ed82e8f880d732565d63634d7333e48eb7a83 Mon Sep 17 00:00:00 2001 From: Rouven Czerwinski Date: Thu, 20 Oct 2022 14:07:54 +0200 Subject: [PATCH 02/50] xwayland: 22.1.3 -> 22.1.5 Package bump: - Grabs are now deactivated on Xwayland, leaving them to the compositor - Memleak and length-check fixes for xkb - Fix for kinetic scrolling - Delayed wl_surface destruction to fix a race --- pkgs/servers/x11/xorg/xwayland.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/x11/xorg/xwayland.nix b/pkgs/servers/x11/xorg/xwayland.nix index 134e992a56c8..56218a357221 100644 --- a/pkgs/servers/x11/xorg/xwayland.nix +++ b/pkgs/servers/x11/xorg/xwayland.nix @@ -43,11 +43,11 @@ stdenv.mkDerivation rec { pname = "xwayland"; - version = "22.1.3"; + version = "22.1.5"; src = fetchurl { url = "mirror://xorg/individual/xserver/${pname}-${version}.tar.xz"; - sha256 = "sha256-pxLre84yzZNN82gUtd0EaqZwiZwW/pjyr7ADV4+GocU="; + sha256 = "sha256-4xesHxGfgyFlSSF2FCCQHkq9lVhajHY84mrzsEWsFnI="; }; depsBuildBuild = [ From 9fef864d5f2cb8b46bdd618c1a9478dc917add12 Mon Sep 17 00:00:00 2001 From: Sergey Lukjanov Date: Wed, 23 Nov 2022 13:57:45 -0800 Subject: [PATCH 03/50] grafana: 9.2.5 -> 9.2.6 https://github.com/grafana/grafana/releases/tag/v9.2.6 --- pkgs/servers/monitoring/grafana/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/grafana/default.nix b/pkgs/servers/monitoring/grafana/default.nix index 33ac32993f45..9db78b35765a 100644 --- a/pkgs/servers/monitoring/grafana/default.nix +++ b/pkgs/servers/monitoring/grafana/default.nix @@ -2,7 +2,7 @@ buildGoModule rec { pname = "grafana"; - version = "9.2.5"; + version = "9.2.6"; excludedPackages = [ "alert_webhook_listener" "clean-swagger" "release_publisher" "slow_proxy" "slow_proxy_mac" "macaron" "devenv" ]; @@ -10,12 +10,12 @@ buildGoModule rec { rev = "v${version}"; owner = "grafana"; repo = "grafana"; - sha256 = "sha256-9vMGC40iBl21cnKCrUosHQTf7tju1Nj2v4+yoX6jHwo="; + sha256 = "sha256-1ETiJbxVzCWALLtaA5lsCNQPd9x2ayWfUOf4b8pHSLE="; }; srcStatic = fetchurl { url = "https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz"; - sha256 = "sha256-DfmU3xMVZtWBHrgCbC+tTzDrFWLB2bfJE+fXSkmPgO8="; + sha256 = "sha256-aQ8OvxClSN9fdodxVqnqFhDYRpc38rsx3H8oja2PV4A="; }; vendorSha256 = "sha256-dPvXVMfTBeCEaxRH3mj0mqBWikE3tcEcQfOMFMfBD6o="; From c5f01dc25fceec2e0e9b06f7d61d84f9904f59b7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 23 Nov 2022 22:58:47 +0100 Subject: [PATCH 04/50] python310Packages.pyotgw: 2.1.2 -> 2.1.3 Changelog: https://github.com/mvn23/pyotgw/blob/2.1.3/CHANGELOG.md --- pkgs/development/python-modules/pyotgw/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyotgw/default.nix b/pkgs/development/python-modules/pyotgw/default.nix index 7e6807854180..303e12f01404 100644 --- a/pkgs/development/python-modules/pyotgw/default.nix +++ b/pkgs/development/python-modules/pyotgw/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "pyotgw"; - version = "2.1.2"; + version = "2.1.3"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "mvn23"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-qUwpW9C9VqsbDNa9zqa/BZtMuzmPU21Au/q0iGRkBNY="; + hash = "sha256-XIwBGjvIulKLmYZIorKIJwoHTNOIYYX8US2Na8MZ2LA="; }; propagatedBuildInputs = [ From e11030af6e7ea135291ebe151879bd1259e2ba73 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Nov 2022 09:36:51 +0100 Subject: [PATCH 05/50] python310Packages.angr: remove unicorn override (fixes #120113) --- .../python-modules/angr/default.nix | 21 +++---------------- 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/pkgs/development/python-modules/angr/default.nix b/pkgs/development/python-modules/angr/default.nix index 4c9fd9d44fc4..2ffb75430c6f 100644 --- a/pkgs/development/python-modules/angr/default.nix +++ b/pkgs/development/python-modules/angr/default.nix @@ -22,28 +22,13 @@ , pycparser , pythonOlder , pyvex -, sympy -, sqlalchemy , rpyc , sortedcontainers +, sqlalchemy +, sympy , unicorn }: -let - # Only the pinned release in setup.py works properly - unicorn' = unicorn.overridePythonAttrs (old: rec { - pname = "unicorn"; - version = "1.0.2-rc4"; - src = fetchFromGitHub { - owner = "unicorn-engine"; - repo = pname; - rev = version; - sha256 = "17nyccgk7hpc4hab24yn57f1xnmr7kq4px98zbp2bkwcrxny8gwy"; - }; - doCheck = false; - }); -in - buildPythonPackage rec { pname = "angr"; version = "9.2.25"; @@ -82,7 +67,7 @@ buildPythonPackage rec { sortedcontainers sqlalchemy sympy - unicorn' + unicorn ]; setupPyBuildFlags = lib.optionals stdenv.isLinux [ From b4708beff841e565e389c7b0d98366e8538c8e3f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Nov 2022 09:39:15 +0100 Subject: [PATCH 06/50] python310Packages.archinfo: 9.2.25 -> 9.2.26 --- 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 dd1f76fa9709..47dc3c22a799 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.25"; + version = "9.2.26"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "v${version}"; - hash = "sha256-9uOv7h5UUWIZTWB7A+7ikG6ReE1FBHIeNAVY6QBhzmE="; + hash = "sha256-aiOJxdQnpNa4zCHRysyw9JsW9GQTHha8lup8VErgiDA="; }; nativeBuildInputs = [ From a9419b6439117e943e817b1d236700ed13053d37 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Nov 2022 09:39:19 +0100 Subject: [PATCH 07/50] python310Packages.ailment: 9.2.25 -> 9.2.26 --- 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 ec0b4cfb570f..6ad9cd017ed9 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.25"; + version = "9.2.26"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "v${version}"; - hash = "sha256-AXMqCNnN63sCi5IlichNQhgXKxONnue//8ECi77Gf8Q="; + hash = "sha256-/M0D252/YaJhmyJv51sOoAUCDbcxbIndF8mw9ATtYMQ="; }; nativeBuildInputs = [ From 047b2c3f33688c9d61a109dab31db10cbbd53583 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Nov 2022 09:39:23 +0100 Subject: [PATCH 08/50] python310Packages.pyvex: 9.2.25 -> 9.2.26 --- 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 b513cba8a32a..0224ffeb43a0 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.25"; + version = "9.2.26"; format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-7AcotD80GlBDiVtNPXlCUSNbZXybHoqWH92CxTfajhE="; + hash = "sha256-stxFT4oM4qLHXFJ2+kTNVgcjQ77239Gg0rp6T76wVBU="; }; nativeBuildInputs = [ From d2bb5fbb6e40193dfb538628bbcc9abdcbd49af7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Nov 2022 09:39:28 +0100 Subject: [PATCH 09/50] python310Packages.claripy: 9.2.25 -> 9.2.26 --- 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 86448c07f4e2..7c3296cbd720 100644 --- a/pkgs/development/python-modules/claripy/default.nix +++ b/pkgs/development/python-modules/claripy/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "claripy"; - version = "9.2.25"; + version = "9.2.26"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "v${version}"; - hash = "sha256-zDc7TlMtheekLHUuZS7gFieaWRrs+iD/9ko6ECdHiks="; + hash = "sha256-niJaHsvIX7NFA+pWufTA6j+Jvj6LcGlC+RaLNFn7yBo="; }; nativeBuildInputs = [ From 23bca5f6d2e9c93cc8ad6ac6005d094b6795a064 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Nov 2022 09:39:32 +0100 Subject: [PATCH 10/50] python310Packages.cle: 9.2.25 -> 9.2.26 --- 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 1281a7a62cb1..038062982f85 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.25"; + version = "9.2.26"; # 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 = "v${version}"; - hash = "sha256-4igNQqH3mU8Gyk8vpPKp3a4BCyRezmJ5dfZhR5KwyAo="; + hash = "sha256-o6JGxEiG4HD4leAf1+NOEDQ5gkmRaDXl2SZtcVtH6f0="; }; nativeBuildInputs = [ From 53ec84d1160d5c8d4479ae6769b5efdb6569ee15 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Nov 2022 09:39:38 +0100 Subject: [PATCH 11/50] python310Packages.angr: 9.2.25 -> 9.2.26 --- 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 2ffb75430c6f..91d4ff4211f8 100644 --- a/pkgs/development/python-modules/angr/default.nix +++ b/pkgs/development/python-modules/angr/default.nix @@ -31,7 +31,7 @@ buildPythonPackage rec { pname = "angr"; - version = "9.2.25"; + version = "9.2.26"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -40,7 +40,7 @@ buildPythonPackage rec { owner = pname; repo = pname; rev = "v${version}"; - hash = "sha256-BxhCQZl/hsqaKzjieAreiOePUcmWGNn63jD0mZ9vFNE="; + hash = "sha256-6NqxJETKBDUmOOM+RjD3gdvqfsXFqoHhhaL55D+Ajz8="; }; propagatedBuildInputs = [ From 2dc0434dcc0481f3c99bc1668a10a1359ab027c5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Nov 2022 12:21:02 +0100 Subject: [PATCH 12/50] threatest: init at 1.1.0 --- pkgs/tools/security/threatest/default.nix | 26 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/tools/security/threatest/default.nix diff --git a/pkgs/tools/security/threatest/default.nix b/pkgs/tools/security/threatest/default.nix new file mode 100644 index 000000000000..8af45fd580de --- /dev/null +++ b/pkgs/tools/security/threatest/default.nix @@ -0,0 +1,26 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "threatest"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "DataDog"; + repo = pname; + rev = "refs/tags/v${version}"; + hash = "sha256-ehyE19VGSLykJUOXoYMFr2Y82Bwpj2ZK5//VJybVAtk="; + }; + + vendorHash = "sha256-vTzgxByZ2BC7nuq/+LJV7LR0KsUxh1EbHFe81PwqCJc="; + + meta = with lib; { + description = "Framework for end-to-end testing threat detection rules"; + homepage = "https://github.com/DataDog/threatest"; + changelog = "https://github.com/DataDog/threatest/releases/tag/v${version}"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 173dd01288bd..1f3d20f8c7ca 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12033,6 +12033,8 @@ with pkgs; thinkpad-scripts = python3.pkgs.callPackage ../tools/misc/thinkpad-scripts { }; + threatest = callPackage ../tools/security/threatest { }; + threema-desktop = callPackage ../applications/networking/instant-messengers/threema-desktop { }; tidy-viewer = callPackage ../tools/text/tidy-viewer { }; From 8e116f42e4865f5ec27ecc680836817fd2a3bc82 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Thu, 24 Nov 2022 18:57:48 +0800 Subject: [PATCH 13/50] gnome.mutter: Revert clutter optimization causing issues on X11 This fixes "GNOME terminal freezes when maximized". Part of https://src.fedoraproject.org/rpms/mutter/c/89161ff. --- pkgs/desktops/gnome/core/mutter/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/desktops/gnome/core/mutter/default.nix b/pkgs/desktops/gnome/core/mutter/default.nix index e5bb71d394ee..1789b98928b3 100644 --- a/pkgs/desktops/gnome/core/mutter/default.nix +++ b/pkgs/desktops/gnome/core/mutter/default.nix @@ -65,6 +65,16 @@ let self = stdenv.mkDerivation rec { url = "https://gitlab.gnome.org/GNOME/mutter/-/commit/285a5a4d54ca83b136b787ce5ebf1d774f9499d5.patch"; sha256 = "/npUE3idMSTVlFptsDpZmGWjZ/d2gqruVlJKq4eF4xU="; }) + + # Revert clutter optimization causing issues on X11 + # https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2667 + # Will be replaced with a proper fix in 43.2 + # https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6054 + (fetchpatch { + url = "https://gitlab.gnome.org/GNOME/mutter/-/commit/7e7a639cc5132cf3355e861235f325540fe56548.patch"; + sha256 = "NYoKCRh5o1Q15c11a79Hk5tGKq/jOa+e6GpgBjPEepo="; + revert = true; + }) ]; mesonFlags = [ From 9bf73cedb7831a2827ec3e84eebed40b8bea817e Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Thu, 24 Nov 2022 22:31:23 +0800 Subject: [PATCH 14/50] gnome.mutter: Backport edge resistance fix This fixes "Snapping window to the edges sometimes doesn't work". Part of https://src.fedoraproject.org/rpms/mutter/c/89161ff. --- pkgs/desktops/gnome/core/mutter/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/desktops/gnome/core/mutter/default.nix b/pkgs/desktops/gnome/core/mutter/default.nix index 1789b98928b3..3cba6b652cce 100644 --- a/pkgs/desktops/gnome/core/mutter/default.nix +++ b/pkgs/desktops/gnome/core/mutter/default.nix @@ -75,6 +75,13 @@ let self = stdenv.mkDerivation rec { sha256 = "NYoKCRh5o1Q15c11a79Hk5tGKq/jOa+e6GpgBjPEepo="; revert = true; }) + + # Backport edge resistance fix (should be part of 43.2) + # https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2687 + (fetchpatch { + url = "https://gitlab.gnome.org/GNOME/mutter/-/commit/accf532a29ea9a1d70880dfaa1834050aa3ae7be.patch"; + sha256 = "XAHcPGQFWfZujlqO/cvUryojPCMBBSxeIG06BesDQQw="; + }) ]; mesonFlags = [ From f31024ffc3a0cb1823780643c2832e20f014a1b2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Nov 2022 17:46:28 +0100 Subject: [PATCH 15/50] python310Packages.google-reauth: init at 0.1.1 --- .../python-modules/google-reauth/default.nix | 46 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 48 insertions(+) create mode 100644 pkgs/development/python-modules/google-reauth/default.nix diff --git a/pkgs/development/python-modules/google-reauth/default.nix b/pkgs/development/python-modules/google-reauth/default.nix new file mode 100644 index 000000000000..bdb7d78d7d4a --- /dev/null +++ b/pkgs/development/python-modules/google-reauth/default.nix @@ -0,0 +1,46 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, mock +, oauth2client +, pytestCheckHook +, pythonOlder +, pyu2f +}: + +buildPythonPackage rec { + pname = "google-reauth"; + version = "0.1.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "Google"; + repo = "google-reauth-python"; + rev = "refs/tags/${version}"; + hash = "sha256-J7GVh+iY+69rFzf4hN/KLFZMZ1/S3CL5TZ7SsP5Oy3g="; + }; + + propagatedBuildInputs = [ + oauth2client + pyu2f + ]; + + checkInputs = [ + mock + pytestCheckHook + ]; + + pythonImportsCheck = [ + "google_reauth" + ]; + + meta = with lib; { + description = "Auth plugin allowing use the use of OAuth 2.0 credentials for Google Cloud Storage"; + homepage = "https://github.com/Google/google-reauth-python"; + changelog = "https://github.com/google/google-reauth-python/releases/tag/${version}"; + license = with licenses; [ asl20 ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6935f3efff29..efe6d856a098 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3901,6 +3901,8 @@ self: super: with self; { google-re2 = callPackage ../development/python-modules/google-re2 { }; + google-reauth = callPackage ../development/python-modules/google-reauth { }; + google-resumable-media = callPackage ../development/python-modules/google-resumable-media { }; googletrans = callPackage ../development/python-modules/googletrans { }; From 04576632978a7fa6c465b725dc1b592d4c407c4c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Nov 2022 16:21:32 +0100 Subject: [PATCH 16/50] python310Packages.retry_decorator: switch to pytestCheckHook - add pythonImportsCheck - add changelog to meta - disable on older Python releases --- .../retry_decorator/default.nix | 31 ++++++++++++++----- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/retry_decorator/default.nix b/pkgs/development/python-modules/retry_decorator/default.nix index c2f91c8fe1b1..2a90adbd8058 100644 --- a/pkgs/development/python-modules/retry_decorator/default.nix +++ b/pkgs/development/python-modules/retry_decorator/default.nix @@ -1,21 +1,36 @@ { lib , buildPythonPackage -, fetchPypi +, fetchFromGitHub +, pytestCheckHook +, pythonOlder }: buildPythonPackage rec { - pname = "retry_decorator"; + pname = "retry-decorator"; version = "1.1.1"; + format = "setuptools"; - src = fetchPypi { - inherit pname version; - sha256 = "e1e8ad02e518fe11073f2ea7d80b6b8be19daa27a60a1838aff7c731ddcf2ebe"; + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "pnpnpn"; + repo = pname; + rev = "refs/tags/v${version}"; + hash = "sha256-0dZq4YbPcH4ItyMnpF7B20YYLtzwniJClBK9gRndU1M="; }; + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "retry_decorator" + ]; + meta = with lib; { + description = "Decorator for retrying when exceptions occur"; homepage = "https://github.com/pnpnpn/retry-decorator"; - description = "Retry Decorator for python functions"; - license = licenses.mit; + changelog = "https://github.com/pnpnpn/retry-decorator/releases/tag/v${version}"; + license = with licenses; [ asl20 ]; }; - } From 68abb937978c83c1d820afbb5cdd992c6780c449 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Nov 2022 17:01:14 +0100 Subject: [PATCH 17/50] python310Packages.google-apitools: init at 0.5.32 --- .../google-apitools/default.nix | 70 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 72 insertions(+) create mode 100644 pkgs/development/python-modules/google-apitools/default.nix diff --git a/pkgs/development/python-modules/google-apitools/default.nix b/pkgs/development/python-modules/google-apitools/default.nix new file mode 100644 index 000000000000..24b37fd722e7 --- /dev/null +++ b/pkgs/development/python-modules/google-apitools/default.nix @@ -0,0 +1,70 @@ +{ lib +, buildPythonPackage +, fasteners +, fetchFromGitHub +, gflags +, httplib2 +, mock +, oauth2client +, pytestCheckHook +, pythonOlder +, six +}: + +buildPythonPackage rec { + pname = "google-apitools"; + version = "0.5.32"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "google"; + repo = "apitools"; + rev = "refs/tags/v${version}"; + hash = "sha256-Z9BTDU6KKCcjspVLi5mJqVZMYEapnMXLPL5BXsIKZAw="; + }; + + propagatedBuildInputs = [ + fasteners + httplib2 + oauth2client + six + ]; + + passthru.optional-dependencies = { + cli = [ + gflags + ]; + }; + + checkInputs = [ + mock + pytestCheckHook + ]; + + pythonImportsCheck = [ + "apitools" + ]; + + disabledTests = [ + # AttributeError: 'FieldList' object has no attribute '_FieldList__field' + "testPickle" + "testDecodeBadBase64BytesField" + "testConvertIdThatNeedsEscaping" + "testGeneration" + ]; + + disabledTestPaths = [ + # Samples are partially postfixed with test + "samples" + ]; + + meta = with lib; { + description = "Collection of utilities to make it easier to build client-side tools"; + homepage = "https://github.com/google/apitools"; + changelog = "https://github.com/google/apitools/releases/tag/v${version}"; + license = with licenses; [ asl20 ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index efe6d856a098..0e1a93b31c29 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3785,6 +3785,8 @@ self: super: with self; { google-api-python-client = callPackage ../development/python-modules/google-api-python-client { }; + google-apitools = callPackage ../development/python-modules/google-apitools { }; + googleapis-common-protos = callPackage ../development/python-modules/googleapis-common-protos { }; google-auth = callPackage ../development/python-modules/google-auth { }; From 7dfe967b9a6352a32a419273761e5c72a21be075 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Nov 2022 17:26:37 +0100 Subject: [PATCH 18/50] python310Packages.gcs-oauth2-boto-plugin: init at 3.0 --- .../gcs-oauth2-boto-plugin/default.nix | 66 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 68 insertions(+) create mode 100644 pkgs/development/python-modules/gcs-oauth2-boto-plugin/default.nix diff --git a/pkgs/development/python-modules/gcs-oauth2-boto-plugin/default.nix b/pkgs/development/python-modules/gcs-oauth2-boto-plugin/default.nix new file mode 100644 index 000000000000..321a6a1de65d --- /dev/null +++ b/pkgs/development/python-modules/gcs-oauth2-boto-plugin/default.nix @@ -0,0 +1,66 @@ +{ lib +, boto +, buildPythonPackage +, fasteners +, fetchFromGitHub +, freezegun +, google-reauth +, httplib2 +, oauth2client +, pyopenssl +, pytestCheckHook +, pythonOlder +, pythonRelaxDepsHook +, retry_decorator +, rsa +, six +}: + +buildPythonPackage rec { + pname = "gcs-oauth2-boto-plugin"; + version = "3.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "GoogleCloudPlatform"; + repo = pname; + rev = "refs/tags/v${version}"; + sha256 = "sha256-slTxh2j9VhLiSyiTmJIFFakzpzH/+mgilDRxx0VqqKQ="; + }; + + postPatch = '' + substituteInPlace setup.py \ + --replace "rsa==4.7.2" "rsa" \ + --replace "version='2.7'" "version='${version}'" + ''; + + propagatedBuildInputs = [ + boto + freezegun + google-reauth + httplib2 + oauth2client + pyopenssl + retry_decorator + rsa + six + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "gcs_oauth2_boto_plugin" + ]; + + meta = with lib; { + description = "Auth plugin allowing use the use of OAuth 2.0 credentials for Google Cloud Storage"; + homepage = "https://github.com/GoogleCloudPlatform/gcs-oauth2-boto-plugin"; + changelog = "https://github.com/GoogleCloudPlatform/gcs-oauth2-boto-plugin/releases/tag/v${version}"; + license = with licenses; [ asl20 ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0e1a93b31c29..a3db70985fdf 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3601,6 +3601,8 @@ self: super: with self; { gcovr = callPackage ../development/python-modules/gcovr { }; + gcs-oauth2-boto-plugin = callPackage ../development/python-modules/gcs-oauth2-boto-plugin { }; + gcsfs = callPackage ../development/python-modules/gcsfs { }; gdal = toPythonModule (pkgs.gdal.override { python3 = python; }); From 57221810c3ccd978ae4a3c2d6f67d45f52ed3522 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Nov 2022 18:36:26 +0100 Subject: [PATCH 19/50] python310Packages.pontos: add changelog to meta --- pkgs/development/python-modules/pontos/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/pontos/default.nix b/pkgs/development/python-modules/pontos/default.nix index 7d78b0d3520d..418967f2b22b 100644 --- a/pkgs/development/python-modules/pontos/default.nix +++ b/pkgs/development/python-modules/pontos/default.nix @@ -69,6 +69,7 @@ buildPythonPackage rec { meta = with lib; { description = "Collection of Python utilities, tools, classes and functions"; homepage = "https://github.com/greenbone/pontos"; + changelog = "https://github.com/greenbone/pontos/releases/tag/v${version}"; license = with licenses; [ gpl3Plus ]; maintainers = with maintainers; [ fab ]; }; From 4ce442922a7dee63a475e1520f6811b071e3d1c4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Nov 2022 18:42:15 +0100 Subject: [PATCH 20/50] python310Packages.pontos: 22.10.0 -> 22.11.0 Changelog: https://github.com/greenbone/pontos/releases/tag/v22.11.0 --- .../development/python-modules/pontos/default.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/pontos/default.nix b/pkgs/development/python-modules/pontos/default.nix index 418967f2b22b..4d207628cf8e 100644 --- a/pkgs/development/python-modules/pontos/default.nix +++ b/pkgs/development/python-modules/pontos/default.nix @@ -7,6 +7,7 @@ , packaging , poetry-core , pytestCheckHook +, typing-extensions , pythonOlder , rich , tomlkit @@ -14,7 +15,7 @@ buildPythonPackage rec { pname = "pontos"; - version = "22.10.0"; + version = "22.11.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -23,7 +24,7 @@ buildPythonPackage rec { owner = "greenbone"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-z+oJakeZARnyZrkkNjLlyFcOB73u9+G0tXhbI13neyc="; + hash = "sha256-WGtHMQ+8hACt8SMyO0zO80ASlfykJfHQOtNwyk1fsFE="; }; nativeBuildInputs = [ @@ -35,19 +36,17 @@ buildPythonPackage rec { httpx packaging rich + typing-extensions tomlkit - ]; + ] ++ lib.optionals (pythonOlder "3.8") [ + typing-extensions + ] ++ httpx.optional-dependencies.http2; checkInputs = [ git pytestCheckHook ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'packaging = "^20.3"' 'packaging = "*"' - ''; - disabledTests = [ "PrepareTestCase" # Signing fails From 1872a3931d20ce0a10654b1c02a46637dacd7255 Mon Sep 17 00:00:00 2001 From: mdarocha Date: Wed, 23 Nov 2022 20:18:39 +0100 Subject: [PATCH 21/50] wasabiwallet: fixup bad dependencies causing app not to run Also add a wrapper script that sets the proper environment variables, instead of trying to find all executable binaries. --- .../blockchains/wasabiwallet/default.nix | 30 ++++++++++++------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/blockchains/wasabiwallet/default.nix b/pkgs/applications/blockchains/wasabiwallet/default.nix index 70c67db31c99..ad5cbcdd10bd 100644 --- a/pkgs/applications/blockchains/wasabiwallet/default.nix +++ b/pkgs/applications/blockchains/wasabiwallet/default.nix @@ -1,8 +1,11 @@ { lib, stdenv +, autoPatchelfHook +, makeWrapper , fetchurl , makeDesktopItem , curl , dotnetCorePackages +, lttng-ust_2_12 , fontconfig , krb5 , openssl @@ -11,15 +14,18 @@ }: let - dotnet-runtime = dotnetCorePackages.runtime_5_0; - libPath = lib.makeLibraryPath [ + dotnet-runtime = dotnetCorePackages.runtime_6_0; + # These libraries are dynamically loaded by the application, + # and need to be present in LD_LIBRARY_PATH + runtimeLibs = [ curl - dotnet-runtime fontconfig.lib krb5 openssl stdenv.cc.cc.lib xorg.libX11 + xorg.libICE + xorg.libSM zlib ]; in @@ -33,7 +39,6 @@ stdenv.mkDerivation rec { }; dontBuild = true; - dontPatchELF = true; desktopItem = makeDesktopItem { name = "wasabi"; @@ -44,16 +49,19 @@ stdenv.mkDerivation rec { categories = [ "Network" "Utility" ]; }; + nativeBuildInputs = [ autoPatchelfHook makeWrapper ]; + buildInputs = runtimeLibs ++ [ + lttng-ust_2_12 + ]; + installPhase = '' mkdir -p $out/opt/${pname} $out/bin $out/share/applications cp -Rv . $out/opt/${pname} - cd $out/opt/${pname} - for i in $(find . -type f -name '*.so') wassabee - do - patchelf --set-rpath ${libPath} $i - done - patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" wassabee - ln -s $out/opt/${pname}/wassabee $out/bin/${pname} + + makeWrapper "${dotnet-runtime}/bin/dotnet" "$out/bin/${pname}" \ + --add-flags "$out/opt/${pname}/WalletWasabi.Fluent.Desktop.dll" \ + --suffix "LD_LIBRARY_PATH" : "${lib.makeLibraryPath runtimeLibs}" + cp -v $desktopItem/share/applications/* $out/share/applications ''; From a21593d84d75369ff9684a3a34a921efabca224a Mon Sep 17 00:00:00 2001 From: mdarocha Date: Wed, 23 Nov 2022 20:21:21 +0100 Subject: [PATCH 22/50] wasabiwallet: 2.0.1.3 -> 2.0.2 --- pkgs/applications/blockchains/wasabiwallet/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/wasabiwallet/default.nix b/pkgs/applications/blockchains/wasabiwallet/default.nix index ad5cbcdd10bd..30edd74d031d 100644 --- a/pkgs/applications/blockchains/wasabiwallet/default.nix +++ b/pkgs/applications/blockchains/wasabiwallet/default.nix @@ -31,11 +31,11 @@ let in stdenv.mkDerivation rec { pname = "wasabiwallet"; - version = "2.0.1.3"; + version = "2.0.2"; src = fetchurl { url = "https://github.com/zkSNACKs/WalletWasabi/releases/download/v${version}/Wasabi-${version}.tar.gz"; - sha256 = "sha256-cATqg/n4/BDQtuCVjHAx3EfMLmlX5EjeQ01gavy/L8o="; + sha256 = "sha256-0DFl+UFxQckRM2qXFqDpKaRQ5sIMUbNj7l3zKPKAOnQ="; }; dontBuild = true; From cd0956bb593db0764e75e749b8f50d4f344edbf8 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Fri, 25 Nov 2022 06:14:54 +0000 Subject: [PATCH 23/50] dashing: use buildGoModule --- pkgs/tools/misc/dashing/default.nix | 22 ++--- pkgs/tools/misc/dashing/deps.nix | 129 ---------------------------- 2 files changed, 12 insertions(+), 139 deletions(-) delete mode 100644 pkgs/tools/misc/dashing/deps.nix diff --git a/pkgs/tools/misc/dashing/default.nix b/pkgs/tools/misc/dashing/default.nix index 6dfa3f2b7796..4b960c3fa54a 100644 --- a/pkgs/tools/misc/dashing/default.nix +++ b/pkgs/tools/misc/dashing/default.nix @@ -1,26 +1,28 @@ -{ lib, buildGoPackage, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, testers, dashing }: -buildGoPackage rec { +buildGoModule rec { pname = "dashing"; version = "0.4.0"; - goPackagePath = "github.com/technosophos/dashing"; - src = fetchFromGitHub { owner = "technosophos"; repo = pname; rev = version; - sha256 = "0mhv0w5q5vpynbfi21n5i3yw2165bppdlg0amvbv86n9z4c21h89"; + hash = "sha256-CcEgGPnJGrTXrgo82u5dxQTB/YjFBhHdsv7uggsHG1Y="; }; - goDeps = ./deps.nix; + vendorHash = "sha256-XeUFmzf6y0S82gMOzkj4AUNFkVvkVOwauYpqY4jeWLM="; - ldflags = [ "-X main.version=${version}" ]; + ldflags = [ "-s" "-w" "-X main.version=${version}" ]; + + passthru.tests.version = testers.testVersion { + package = dashing; + }; meta = with lib; { description = "A Dash Generator Script for Any HTML"; - homepage = "https://github.com/technosophos/dashing"; - license = licenses.mit; - maintainers = [ ]; + homepage = "https://github.com/technosophos/dashing"; + license = licenses.mit; + maintainers = with maintainers; [ aaronjheng ]; }; } diff --git a/pkgs/tools/misc/dashing/deps.nix b/pkgs/tools/misc/dashing/deps.nix deleted file mode 100644 index a87de8674ff1..000000000000 --- a/pkgs/tools/misc/dashing/deps.nix +++ /dev/null @@ -1,129 +0,0 @@ -# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix) -[ - { - goPackagePath = "github.com/BurntSushi/toml"; - fetch = { - type = "git"; - url = "https://github.com/BurntSushi/toml"; - rev = "v0.3.1"; - sha256 = "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6"; - }; - } - { - goPackagePath = "github.com/andybalholm/cascadia"; - fetch = { - type = "git"; - url = "https://github.com/andybalholm/cascadia"; - rev = "903109d295d5"; - sha256 = "1zprh6wfyf4f5c6nw1bgyyfx3niydsnbdyvpi18fc378wmh4hlq4"; - }; - } - { - goPackagePath = "github.com/cpuguy83/go-md2man"; - fetch = { - type = "git"; - url = "https://github.com/cpuguy83/go-md2man"; - rev = "f79a8a8ca69d"; - sha256 = "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv"; - }; - } - { - goPackagePath = "github.com/mattn/go-sqlite3"; - fetch = { - type = "git"; - url = "https://github.com/mattn/go-sqlite3"; - rev = "v2.0.1"; - sha256 = "1i3v0j5144iir1n31nahbq9rs2picraphyh5qx9n9rz1d5w1v8zy"; - }; - } - { - goPackagePath = "github.com/pmezard/go-difflib"; - fetch = { - type = "git"; - url = "https://github.com/pmezard/go-difflib"; - rev = "v1.0.0"; - sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"; - }; - } - { - goPackagePath = "github.com/russross/blackfriday"; - fetch = { - type = "git"; - url = "https://github.com/russross/blackfriday"; - rev = "v2.0.1"; - sha256 = "0nlz7isdd4rgnwzs68499hlwicxz34j2k2a0b8jy0y7ycd2bcr5j"; - }; - } - { - goPackagePath = "github.com/shurcooL/sanitized_anchor_name"; - fetch = { - type = "git"; - url = "https://github.com/shurcooL/sanitized_anchor_name"; - rev = "v1.0.0"; - sha256 = "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f"; - }; - } - { - goPackagePath = "github.com/urfave/cli"; - fetch = { - type = "git"; - url = "https://github.com/urfave/cli"; - rev = "v2.0.0"; - sha256 = "0ybpg48s08sm46xsbb42yk14zrsm7pr9808khh6f9fca7s3c7fns"; - }; - } - { - goPackagePath = "golang.org/x/crypto"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/crypto"; - rev = "c2843e01d9a2"; - sha256 = "01xgxbj5r79nmisdvpq48zfy8pzaaj90bn6ngd4nf33j9ar1dp8r"; - }; - } - { - goPackagePath = "golang.org/x/net"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/net"; - rev = "e7e4b65ae663"; - sha256 = "0phil62b9cqvllhfjqqm1jpyk2dxg1dvd88pq2044nc3sxni7w8b"; - }; - } - { - goPackagePath = "golang.org/x/sys"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/sys"; - rev = "d0b11bdaac8a"; - sha256 = "18yfsmw622l7gc5sqriv5qmck6903vvhivpzp8i3xfy3z33dybdl"; - }; - } - { - goPackagePath = "golang.org/x/text"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/text"; - rev = "v0.3.0"; - sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19"; - }; - } - { - goPackagePath = "gopkg.in/check.v1"; - fetch = { - type = "git"; - url = "https://gopkg.in/check.v1"; - rev = "20d25e280405"; - sha256 = "0k1m83ji9l1a7ng8a7v40psbymxasmssbrrhpdv2wl4rhs0nc3np"; - }; - } - { - goPackagePath = "gopkg.in/yaml.v2"; - fetch = { - type = "git"; - url = "https://gopkg.in/yaml.v2"; - rev = "v2.2.2"; - sha256 = "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa"; - }; - } -] From c11026056884330e3811bbd7171cd020f54c2428 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Thu, 24 Nov 2022 20:01:33 -0600 Subject: [PATCH 24/50] sapling: set LOCALE_ARCHIVE properly Without this, `sl` simply fails on any non-NixOS machine with an immediate failure, as it can't set the locale properly. As usual, this can be fixed by setting LOCALE_ARCHIVE for glibc explicitly. With this, `sl` works out of the box on NixOS and non-NixOS machines. Also add myself as a maintainer. Signed-off-by: Austin Seipp --- pkgs/applications/version-management/sapling/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/version-management/sapling/default.nix b/pkgs/applications/version-management/sapling/default.nix index d964a9b5167c..ef7a64f968a3 100644 --- a/pkgs/applications/version-management/sapling/default.nix +++ b/pkgs/applications/version-management/sapling/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, python3Packages, fetchFromGitHub, fetchurl, sd, curl, pkg-config, openssl, rustPlatform, fetchYarnDeps, yarn, nodejs, fixup_yarn_lock }: +{ lib, stdenv, python3Packages, fetchFromGitHub, fetchurl, sd, curl, pkg-config, openssl, rustPlatform, fetchYarnDeps, yarn, nodejs, fixup_yarn_lock, glibcLocales }: let inherit (lib.importJSON ./deps.json) links version versionHash; @@ -85,6 +85,11 @@ let sed -i "s|https://files.pythonhosted.org/packages/[[:alnum:]]*/[[:alnum:]]*/[[:alnum:]]*/|file://$NIX_BUILD_TOP/$sourceRoot/hack_pydeps/|g" $sourceRoot/setup.py ''; + postFixup = '' + wrapProgram $out/bin/sl \ + --set LOCALE_ARCHIVE "${glibcLocales}/lib/locale/locale-archive" + ''; + nativeBuildInputs = [ curl pkg-config @@ -130,7 +135,7 @@ stdenv.mkDerivation { description = "A Scalable, User-Friendly Source Control System"; homepage = "https://sapling-scm.com"; license = licenses.gpl2Only; - maintainers = with maintainers; [ pbar ]; + maintainers = with maintainers; [ pbar thoughtpolice ]; platforms = platforms.linux; mainProgram = "sl"; }; From 8d7badd689d814ff7b95d5c7ec751c0a6e511f9a Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Thu, 24 Nov 2022 20:40:37 -0600 Subject: [PATCH 25/50] sapling: add a simple checkPhase Signed-off-by: Austin Seipp --- pkgs/applications/version-management/sapling/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/applications/version-management/sapling/default.nix b/pkgs/applications/version-management/sapling/default.nix index ef7a64f968a3..93c67d10bcbc 100644 --- a/pkgs/applications/version-management/sapling/default.nix +++ b/pkgs/applications/version-management/sapling/default.nix @@ -131,6 +131,15 @@ stdenv.mkDerivation { runHook postInstall ''; + # just a simple check phase, until we have a running test suite. this should + # help catch issues like lack of a LOCALE_ARCHIVE setting (see GH PR #202760) + doCheck = true; + checkPhase = '' + echo -n "testing sapling version; should be \"${version}\"... " + ${sapling}/bin/sl version | grep -qw "${version}" + echo "OK!" + ''; + meta = with lib; { description = "A Scalable, User-Friendly Source Control System"; homepage = "https://sapling-scm.com"; From 6df0b07e41b273416dc9dcaa7f9ea991c3db8c20 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 25 Nov 2022 06:37:08 +0000 Subject: [PATCH 26/50] babashka: 1.0.165 -> 1.0.166 --- pkgs/development/interpreters/clojure/babashka.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/clojure/babashka.nix b/pkgs/development/interpreters/clojure/babashka.nix index 22ec5806d5be..c44628401a80 100644 --- a/pkgs/development/interpreters/clojure/babashka.nix +++ b/pkgs/development/interpreters/clojure/babashka.nix @@ -2,11 +2,11 @@ buildGraalvmNativeImage rec { pname = "babashka"; - version = "1.0.165"; + version = "1.0.166"; src = fetchurl { url = "https://github.com/babashka/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar"; - sha256 = "sha256-sFLJVNyx0IFfPjxbYzSthRdF77sRHeNGFXHzKH22HfY="; + sha256 = "sha256-MrUs6pXu/+QodQl7eatXwmMMsgarxMy2q4o51cxugBA="; }; executable = "bb"; From 6f7d967e289bbae8d9fbc3d9564f7235188b3186 Mon Sep 17 00:00:00 2001 From: Boey Maun Suang Date: Wed, 16 Nov 2022 01:15:24 +1100 Subject: [PATCH 27/50] gnat11: Fix by building with older gnatboot GCC's installation instructions strongly recommend using an older version of GNAT to build GNAT, as "[m]ore recent versions of GNAT than the version built are not guaranteed to work and will often fail during the build with compilation errors." [1] The recent upgrade of gnatboot to a 12.1 release in commit bc640dc unfortunately resulted in such a failure for gnat11 [2], resulting in the same errors as GCC bug 103357 [3], which was marked WONTFIX for the reason above. This patch therefore reverts gnat11 to being built with an earlier 11.x gnatboot version, while keeping the updated 12.1 gnatboot to build gnat12 (which is fine because the latter is currently version 12.2). Fixing gnat11 is also a step towards re-enabling the coreboot-toolchain-* packages to be built with Ada support. To facilitate such explicit version dependencies while retaining the meaning of the existing gnatboot package, and in the fashion of the existing gcc packages, this patch also creates the packages gnatboot11 and gnatboot12 with gnatboot made an alias of gnatboot12. [1]: https://gcc.gnu.org/install/prerequisites.html [2]: https://github.com/NixOS/nixpkgs/pull/182414#issuecomment-1204432909 [3]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103357 --- .../compilers/gnatboot/default.nix | 19 +++++++++++++++++-- pkgs/top-level/all-packages.nix | 8 +++++--- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/pkgs/development/compilers/gnatboot/default.nix b/pkgs/development/compilers/gnatboot/default.nix index 4e1301e47a95..65f6269e2f00 100644 --- a/pkgs/development/compilers/gnatboot/default.nix +++ b/pkgs/development/compilers/gnatboot/default.nix @@ -1,14 +1,29 @@ { stdenv, lib, autoPatchelfHook, fetchzip, xz, ncurses5, readline, gmp, mpfr , expat, libipt, zlib, dejagnu, sourceHighlight, python3, elfutils, guile, glibc +, majorVersion }: +let + versionMap = { + "11" = { + version = "11.2.0-4"; + hash = "sha256-8fMBJp6igH+Md5jE4LMubDmC4GLt4A+bZG/Xcz2LAJQ="; + }; + "12" = { + version = "12.1.0-2"; + hash = "sha256-EPDPOOjWJnJsUM7GGxj20/PXumjfLoMIEFX1EDtvWVY="; + }; + }; + +in with versionMap.${majorVersion}; + stdenv.mkDerivation rec { pname = "gnatboot"; - version = "12.1.0-2"; + inherit version; src = fetchzip { url = "https://github.com/alire-project/GNAT-FSF-builds/releases/download/gnat-${version}/gnat-x86_64-linux-${version}.tar.gz"; - hash = "sha256-EPDPOOjWJnJsUM7GGxj20/PXumjfLoMIEFX1EDtvWVY="; + inherit hash; }; nativeBuildInputs = [ diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index aa0c6b4c803a..ab549f5f9e48 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14191,7 +14191,7 @@ with pkgs; gnatboot = if stdenv.hostPlatform == stdenv.targetPlatform && stdenv.buildPlatform == stdenv.hostPlatform - then buildPackages.gnatboot + then buildPackages.gnatboot11 else buildPackages.gnat11; }); @@ -14207,11 +14207,13 @@ with pkgs; gnatboot = if stdenv.hostPlatform == stdenv.targetPlatform && stdenv.buildPlatform == stdenv.hostPlatform - then buildPackages.gnatboot + then buildPackages.gnatboot12 else buildPackages.gnat12; }); - gnatboot = wrapCC (callPackage ../development/compilers/gnatboot { }); + gnatboot = gnatboot12; + gnatboot11 = wrapCC (callPackage ../development/compilers/gnatboot { majorVersion = "11"; }); + gnatboot12 = wrapCC (callPackage ../development/compilers/gnatboot { majorVersion = "12"; }); gnu-smalltalk = callPackage ../development/compilers/gnu-smalltalk { }; From 71f6d1f56b640e5bb4a68e7a87265675cc9072a5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 25 Nov 2022 08:57:22 +0100 Subject: [PATCH 28/50] python310Packages.rns: add changelog to meta --- pkgs/development/python-modules/rns/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/rns/default.nix b/pkgs/development/python-modules/rns/default.nix index a219977348fa..da38e6987078 100644 --- a/pkgs/development/python-modules/rns/default.nix +++ b/pkgs/development/python-modules/rns/default.nix @@ -37,6 +37,7 @@ buildPythonPackage rec { meta = with lib; { description = "Cryptography-based networking stack for wide-area networks"; homepage = "https://github.com/markqvist/Reticulum"; + changelog = "https://github.com/markqvist/Reticulum/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; From aedbb22378c8f0b218fd2b0598415e97d70292f4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 25 Nov 2022 08:59:58 +0100 Subject: [PATCH 29/50] python310Packages.nomadnet: add changelog to meta --- pkgs/development/python-modules/nomadnet/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/nomadnet/default.nix b/pkgs/development/python-modules/nomadnet/default.nix index 075aebbd6b2e..5d15b9d5cf25 100644 --- a/pkgs/development/python-modules/nomadnet/default.nix +++ b/pkgs/development/python-modules/nomadnet/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "markqvist"; repo = "NomadNet"; - rev = version; + rev = "refs/tags/${version}"; hash = "sha256-ycQWvJnYvuNtXxNWjuLXD+TghscCIuOZMmch02M9C00="; }; @@ -37,6 +37,7 @@ buildPythonPackage rec { meta = with lib; { description = "Off-grid, resilient mesh communication"; homepage = "https://github.com/markqvist/NomadNet"; + changelog = "https://github.com/markqvist/NomadNet/releases/tag/${version}"; license = licenses.gpl3Only; maintainers = with maintainers; [ fab ]; }; From 9aef10cf59e853edac47c6da9eda5e083163f4c1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 25 Nov 2022 09:01:22 +0100 Subject: [PATCH 30/50] python310Packages.rns: 0.4.1 -> 0.4.2 Changelog: https://github.com/markqvist/Reticulum/releases/tag/0.4.2 --- pkgs/development/python-modules/rns/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/rns/default.nix b/pkgs/development/python-modules/rns/default.nix index da38e6987078..2ae91cff1a62 100644 --- a/pkgs/development/python-modules/rns/default.nix +++ b/pkgs/development/python-modules/rns/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "rns"; - version = "0.4.1"; + version = "0.4.2"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "markqvist"; repo = "Reticulum"; rev = "refs/tags/${version}"; - hash = "sha256-bUhVnkFgfwhHe8zFLICOXHluecp0hZlD10I1AtpWO8o="; + hash = "sha256-EvlGi/HlaPq3SYJDtGLwV58BKi7EZDCSAAxlSUqwztk="; }; propagatedBuildInputs = [ From 9e0e98d087033692115a9065fa51593f4dd75e69 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 25 Nov 2022 09:02:19 +0100 Subject: [PATCH 31/50] python310Packages.lxmf: 0.2.5 -> 0.2.6 Changelog: https://github.com/markqvist/LXMF/releases/tag/0.2.6 --- pkgs/development/python-modules/lxmf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/lxmf/default.nix b/pkgs/development/python-modules/lxmf/default.nix index 03c45c3982d1..080ce9338933 100644 --- a/pkgs/development/python-modules/lxmf/default.nix +++ b/pkgs/development/python-modules/lxmf/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "lxmf"; - version = "0.2.5"; + version = "0.2.6"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -16,7 +16,7 @@ buildPythonPackage rec { owner = "markqvist"; repo = "lxmf"; rev = "refs/tags/${version}"; - hash = "sha256-2BtnTS4Vb6Nj39YbRYUXXk7F/g15wglpeWV9+ZWNV0c="; + hash = "sha256-3kjg0Q7nXMSjBq2suPtIUvUEGCJr6pTo53ZbjMC5uZ0="; }; propagatedBuildInputs = [ From 5037e98639e640180aa7e192de78d9b5ffd142d7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 25 Nov 2022 09:03:06 +0100 Subject: [PATCH 32/50] python310Packages.nomadnet: 0.2.7 -> 0.2.8 Changelog: https://github.com/markqvist/NomadNet/releases/tag/0.2.8 --- pkgs/development/python-modules/nomadnet/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nomadnet/default.nix b/pkgs/development/python-modules/nomadnet/default.nix index 5d15b9d5cf25..eeb9ebe59e21 100644 --- a/pkgs/development/python-modules/nomadnet/default.nix +++ b/pkgs/development/python-modules/nomadnet/default.nix @@ -5,11 +5,12 @@ , lxmf , urwid , pythonOlder +, qrcode }: buildPythonPackage rec { pname = "nomadnet"; - version = "0.2.7"; + version = "0.2.8"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,13 +19,14 @@ buildPythonPackage rec { owner = "markqvist"; repo = "NomadNet"; rev = "refs/tags/${version}"; - hash = "sha256-ycQWvJnYvuNtXxNWjuLXD+TghscCIuOZMmch02M9C00="; + hash = "sha256-Vzi+v+M0LfptNq/6nc3usnf3YLzBwYcij2hAt835Or8="; }; propagatedBuildInputs = [ rns lxmf urwid + qrcode ]; # Module has no tests From 720980d334e93889956ededa053c6c2477211b0d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 25 Nov 2022 09:20:50 +0100 Subject: [PATCH 33/50] python310Packages.pbnub: add changelog to meta --- pkgs/development/python-modules/pubnub/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/pubnub/default.nix b/pkgs/development/python-modules/pubnub/default.nix index bee8e8353632..93f7f8cbc26d 100644 --- a/pkgs/development/python-modules/pubnub/default.nix +++ b/pkgs/development/python-modules/pubnub/default.nix @@ -52,6 +52,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python-based APIs for PubNub"; homepage = "https://github.com/pubnub/python"; + changelog = "https://github.com/pubnub/python/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; From ba26dcfcc7988f792a2ec21df71c6f34c4c553ca Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 25 Nov 2022 09:21:50 +0100 Subject: [PATCH 34/50] python310Packages.pubnub: 7.0.1 -> 7.0.2 Changelog: https://github.com/pubnub/python/releases/tag/7.0.2 --- pkgs/development/python-modules/pubnub/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pubnub/default.nix b/pkgs/development/python-modules/pubnub/default.nix index 93f7f8cbc26d..b3c8c2367856 100644 --- a/pkgs/development/python-modules/pubnub/default.nix +++ b/pkgs/development/python-modules/pubnub/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "pubnub"; - version = "7.0.1"; + version = "7.0.2"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = pname; repo = "python"; rev = "refs/tags/${version}"; - hash = "sha256-rOpTPj9g9WKc8MLX4HqsZit7yvTtDqha7ImewW/tH7g="; + hash = "sha256-LVkP9og9Xru1Xuw4boI2pLwZ0RE2RvtUx0AHoJa6o9c="; }; propagatedBuildInputs = [ From 0e4349d1eb3b02a9a12c893058873aaa0e3979a7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 25 Nov 2022 08:25:16 +0000 Subject: [PATCH 35/50] buildah-unwrapped: 1.28.0 -> 1.28.1 --- pkgs/development/tools/buildah/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/buildah/default.nix b/pkgs/development/tools/buildah/default.nix index 69377b212928..b181724321d0 100644 --- a/pkgs/development/tools/buildah/default.nix +++ b/pkgs/development/tools/buildah/default.nix @@ -15,13 +15,13 @@ buildGoModule rec { pname = "buildah"; - version = "1.28.0"; + version = "1.28.1"; src = fetchFromGitHub { owner = "containers"; repo = "buildah"; rev = "v${version}"; - sha256 = "sha256-Q8IqyI6okTaXKDoYvaTcIv+wy4aiHXOjFkKBxTn4wwk="; + sha256 = "sha256-WAFWLpBr+Lfy3etPgSrdo6iitCawIPCf8UwvnW24LRI="; }; outputs = [ "out" "man" ]; From a61568004fbd4d480fcb4ddee03fd12200860743 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 25 Nov 2022 10:05:59 +0100 Subject: [PATCH 36/50] grype: 0.53.0 -> 0.53.1 Changelog: https://github.com/anchore/grype/releases/tag/v0.53.1 --- pkgs/tools/security/grype/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/grype/default.nix b/pkgs/tools/security/grype/default.nix index e55b72103433..df49bd6671c1 100644 --- a/pkgs/tools/security/grype/default.nix +++ b/pkgs/tools/security/grype/default.nix @@ -8,13 +8,13 @@ buildGoModule rec { pname = "grype"; - version = "0.53.0"; + version = "0.53.1"; src = fetchFromGitHub { owner = "anchore"; repo = pname; rev = "v${version}"; - sha256 = "sha256-um+uyY8kPkouF/9Kms0xZYhgYeZC/pE6w+JCVcKWdpI="; + hash = "sha256-14SkLv/9xydO8uCpKdQSrbr1hY55DMuer91P4YUnkic="; # populate values that require us to use git. By doing this in postFetch we # can delete .git afterwards and maintain better reproducibility of the src. leaveDotGit = true; @@ -27,13 +27,15 @@ buildGoModule rec { ''; }; proxyVendor = true; - vendorSha256 = "sha256-BP5Tvv5s74uxjVcEC0QPaw2tGPmkOjZmyCrPwwoz7o4="; + + vendorHash = "sha256-L5ucftMsChGwNoIft8gxg52sNrZyMifuLr0QvSHiCs0="; nativeBuildInputs = [ installShellFiles ]; subPackages = [ "." ]; + excludedPackages = "test/integration"; ldflags = [ From 26541daa23e80e6c3611a35b0cb31593689b2615 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 25 Nov 2022 10:12:50 +0100 Subject: [PATCH 37/50] python310Packages.gradient-utils: relax pymongo constraint --- .../python-modules/gradient-utils/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/gradient-utils/default.nix b/pkgs/development/python-modules/gradient-utils/default.nix index e81d815e8c20..a0637e7d9e57 100644 --- a/pkgs/development/python-modules/gradient-utils/default.nix +++ b/pkgs/development/python-modules/gradient-utils/default.nix @@ -21,8 +21,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Paperspace"; repo = pname; - rev = "v${version}"; - sha256 = "19plkgwwfs6298vjplgsvhirixi3jbngq5y07x9c0fjxk39fa2dk"; + rev = "refs/tags/v${version}"; + hash = "sha256-swnl0phdOsBSP8AX/OySI/aYI9z60Ss3SsJox/mb9KY="; }; nativeBuildInputs = [ @@ -42,9 +42,12 @@ buildPythonPackage rec { ]; postPatch = '' + # https://github.com/Paperspace/gradient-utils/issues/68 + # https://github.com/Paperspace/gradient-utils/issues/72 substituteInPlace pyproject.toml \ --replace 'wheel = "^0.35.1"' 'wheel = "*"' \ - --replace 'prometheus-client = ">=0.8,<0.10"' 'prometheus-client = "*"' + --replace 'prometheus-client = ">=0.8,<0.10"' 'prometheus-client = "*"' \ + --replace 'pymongo = "^3.11.0"' 'pymongo = ">=3.11.0"' ''; preCheck = '' @@ -64,7 +67,7 @@ buildPythonPackage rec { description = "Python utils and helpers library for Gradient"; homepage = "https://github.com/Paperspace/gradient-utils"; license = licenses.mit; - platforms = platforms.unix; maintainers = with maintainers; [ freezeboy ]; + platforms = platforms.unix; }; } From 005cf8a5bde74f95c1226edd7bb97c8519bc263d Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 24 Nov 2022 12:18:27 +0100 Subject: [PATCH 38/50] frama-c: add missing runtime dependency --- pkgs/development/tools/analysis/frama-c/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/tools/analysis/frama-c/default.nix b/pkgs/development/tools/analysis/frama-c/default.nix index 869222e560b8..9dba3692ad3a 100644 --- a/pkgs/development/tools/analysis/frama-c/default.nix +++ b/pkgs/development/tools/analysis/frama-c/default.nix @@ -8,6 +8,7 @@ let mkocamlpath = p: "${p}/lib/ocaml/${ocamlPackages.ocaml.version}/site-lib"; runtimeDeps = with ocamlPackages; [ apron.dev + bigarray-compat biniou camlzip easy-format From dade32b409ebb1ada3ca0f6f32b8aefd1260d42f Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Fri, 25 Nov 2022 10:27:49 +0100 Subject: [PATCH 39/50] miniupnpc: use cmake for build this fixes strange linking issues on darwin when any attempt to link with libminiupnpc ends with "Killed: 9" --- pkgs/tools/networking/miniupnpc/default.nix | 5 ++--- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/networking/miniupnpc/default.nix b/pkgs/tools/networking/miniupnpc/default.nix index e3a97d1b4a6d..74406f2947da 100644 --- a/pkgs/tools/networking/miniupnpc/default.nix +++ b/pkgs/tools/networking/miniupnpc/default.nix @@ -1,8 +1,7 @@ { lib , stdenv , fetchurl -, which -, cctools +, cmake }: stdenv.mkDerivation rec { @@ -14,7 +13,7 @@ stdenv.mkDerivation rec { sha256 = "0jrc84lkc7xb53rb8dbswxrxj21ndj1iiclmk3r9wkp6xm55w6j8"; }; - nativeBuildInputs = lib.optionals stdenv.isDarwin [ which cctools ]; + nativeBuildInputs = [ cmake ]; patches = lib.optional stdenv.isFreeBSD ./freebsd.patch; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7ba6ca94e1f4..7949255efe61 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9318,9 +9318,7 @@ with pkgs; minissdpd = callPackage ../tools/networking/minissdpd { }; - miniupnpc = callPackage ../tools/networking/miniupnpc { - inherit (darwin) cctools; - }; + miniupnpc = callPackage ../tools/networking/miniupnpc { }; miniupnpd = callPackage ../tools/networking/miniupnpd { }; From 318510cca64a728c05879864b4d894a8eb502348 Mon Sep 17 00:00:00 2001 From: Sergey Lukjanov Date: Thu, 24 Nov 2022 12:23:14 -0800 Subject: [PATCH 40/50] prometheus: 2.40.2 -> 2.40.3 https://github.com/prometheus/prometheus/releases/tag/v2.40.3 --- pkgs/servers/monitoring/prometheus/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/prometheus/default.nix b/pkgs/servers/monitoring/prometheus/default.nix index b302d83dffdc..2d2439b4c234 100644 --- a/pkgs/servers/monitoring/prometheus/default.nix +++ b/pkgs/servers/monitoring/prometheus/default.nix @@ -31,10 +31,10 @@ }: let - version = "2.40.2"; + version = "2.40.3"; webUiStatic = fetchurl { url = "https://github.com/prometheus/prometheus/releases/download/v${version}/prometheus-web-ui-${version}.tar.gz"; - sha256 = "sha256-U8hAtuCx+yi4dlbS07orKJGf/GE4V50nlt3VPyEkznk="; + sha256 = "sha256-dvMts9uJNLSp8Qho+yKMLPTy/1c2RgfeEn3UQLIZNc4="; }; in buildGoModule rec { @@ -45,7 +45,7 @@ buildGoModule rec { rev = "v${version}"; owner = "prometheus"; repo = "prometheus"; - sha256 = "sha256-QVPLTJdGaJINFNtq63qVWVkk2cvpbdwRN5H0Y5kf00M="; + sha256 = "sha256-Jg8loH0Sji1MmDXUnMtvLTHjNGmkrzZApxvpe2+OqtU="; }; vendorSha256 = "sha256-aRVoEgP84ITQ1D0PsFVJUKH/Uin7s80iQCwzgrfpjoM="; From df50f73b57faf99dee99a6647256fdf7739d9b2e Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Fri, 25 Nov 2022 10:32:34 +0100 Subject: [PATCH 41/50] nixos/hedgedoc: configuration -> settings in option's description `configuration` has been renamed to `settings` and our docs should reflect that. --- nixos/modules/services/web-apps/hedgedoc.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/web-apps/hedgedoc.nix b/nixos/modules/services/web-apps/hedgedoc.nix index e26dee68615e..e51da7ee866a 100644 --- a/nixos/modules/services/web-apps/hedgedoc.nix +++ b/nixos/modules/services/web-apps/hedgedoc.nix @@ -999,8 +999,8 @@ in ``` # snippet of HedgeDoc-related config - services.hedgedoc.configuration.dbURL = "postgres://hedgedoc:\''${DB_PASSWORD}@db-host:5432/hedgedocdb"; - services.hedgedoc.configuration.minio.secretKey = "$MINIO_SECRET_KEY"; + services.hedgedoc.settings.dbURL = "postgres://hedgedoc:\''${DB_PASSWORD}@db-host:5432/hedgedocdb"; + services.hedgedoc.settings.minio.secretKey = "$MINIO_SECRET_KEY"; ``` ``` From c8fcb7aeb88bbbecaca0f859457369c4014e2f67 Mon Sep 17 00:00:00 2001 From: kilianar <105428155+kilianar@users.noreply.github.com> Date: Fri, 25 Nov 2022 10:47:01 +0100 Subject: [PATCH 42/50] direnv: 2.32.1 -> 2.32.2 (#202723) https://github.com/direnv/direnv/releases/tag/v2.32.2 --- pkgs/tools/misc/direnv/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/direnv/default.nix b/pkgs/tools/misc/direnv/default.nix index 534e77bd2439..a6b598a9cbb9 100644 --- a/pkgs/tools/misc/direnv/default.nix +++ b/pkgs/tools/misc/direnv/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "direnv"; - version = "2.32.1"; + version = "2.32.2"; src = fetchFromGitHub { owner = "direnv"; repo = "direnv"; rev = "v${version}"; - sha256 = "sha256-xweCJtGp+id2ledK5ddoXoKJp57KUvwHuqhrIo8ch8Q="; + sha256 = "sha256-Ql/Q9SoCNy2JKt/32RIMx08rbGvrthdgTpFIFx4m1p4="; }; - vendorSha256 = "sha256-u/LukIOYRudFYOrrlZTMtDAlM3+WjoSBiueR7aySSVU="; + vendorSha256 = "sha256-eQaQ77pOYC8q+IA26ArEhHQ0DCU093TbzaYhdV3UydE="; # we have no bash at the moment for windows BASH_PATH = From d3c7bb65d008314bd4dc60de1f049ac39866b4ea Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Fri, 25 Nov 2022 09:50:10 +0000 Subject: [PATCH 43/50] deno: 1.28.1 -> 1.28.2 --- pkgs/development/web/deno/default.nix | 6 +++--- pkgs/development/web/deno/update/librusty_v8.ts | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/development/web/deno/default.nix b/pkgs/development/web/deno/default.nix index 9f81fe32fc55..c27b3b645e3f 100644 --- a/pkgs/development/web/deno/default.nix +++ b/pkgs/development/web/deno/default.nix @@ -17,15 +17,15 @@ rustPlatform.buildRustPackage rec { pname = "deno"; - version = "1.28.1"; + version = "1.28.2"; src = fetchFromGitHub { owner = "denoland"; repo = pname; rev = "v${version}"; - sha256 = "sha256-pphXLH81xous4C/mTkay9mfk3PgIT7HcY+br9uckJlQ="; + sha256 = "sha256-gmDR8KNpx+M66Rv8fooTQOY42ekYl+KwIQ/5jDvYQho="; }; - cargoSha256 = "sha256-DEWLIGskfvuEZhLvtdPprlmncZRcJBBBjYRuk4oFVkk="; + cargoSha256 = "sha256-emf6Q3WQM8W0yPvuNXPeuRC7FOt8QJ/+b5kMzyd3ZCU="; postPatch = '' # upstream uses lld on aarch64-darwin for faster builds diff --git a/pkgs/development/web/deno/update/librusty_v8.ts b/pkgs/development/web/deno/update/librusty_v8.ts index 7ee4c855741f..d9d57d2908db 100644 --- a/pkgs/development/web/deno/update/librusty_v8.ts +++ b/pkgs/development/web/deno/update/librusty_v8.ts @@ -1,10 +1,8 @@ import * as toml from "https://deno.land/std@0.148.0/encoding/toml.ts"; import { - genValueRegExp, getExistingVersion, logger, run, - versionRegExp, write, } from "./common.ts"; @@ -25,9 +23,9 @@ const getLibrustyV8Version = async ( repo: string, version: string, ) => - fetch(`https://github.com/${owner}/${repo}/raw/${version}/core/Cargo.toml`) + fetch(`https://github.com/${owner}/${repo}/raw/${version}/Cargo.toml`) .then((res) => res.text()) - .then((txt) => toml.parse(txt).dependencies.v8.version); + .then((txt) => toml.parse(txt).workspace.dependencies.v8.version); const fetchArchShaTasks = (version: string, arches: Architecture[]) => arches.map( From 610183429cfd276c3de45b9720735a52d5df8882 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Fri, 25 Nov 2022 11:09:15 +0100 Subject: [PATCH 44/50] bitcoin: remove hardeningDisable for aarch64-darwin not required since dade32b409ebb1ada3ca0f6f32b8aefd1260d42f --- pkgs/applications/blockchains/bitcoin/default.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/applications/blockchains/bitcoin/default.nix b/pkgs/applications/blockchains/bitcoin/default.nix index 04695b724511..4f0e8215f5e6 100644 --- a/pkgs/applications/blockchains/bitcoin/default.nix +++ b/pkgs/applications/blockchains/bitcoin/default.nix @@ -72,10 +72,6 @@ stdenv.mkDerivation rec { "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin" ]; - # fix "Killed: 9 test/test_bitcoin" - # https://github.com/NixOS/nixpkgs/issues/179474 - hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "fortify" "stackprotector" ]; - checkInputs = [ python3 ]; doCheck = true; From 18d8cf38d96dce3b41db7b18abd1e22abae8aee2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 25 Nov 2022 10:02:53 +0000 Subject: [PATCH 45/50] cppcheck: 2.9.2 -> 2.9.3 --- pkgs/development/tools/analysis/cppcheck/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/cppcheck/default.nix b/pkgs/development/tools/analysis/cppcheck/default.nix index 73b1385a00de..1a8183ebab8d 100644 --- a/pkgs/development/tools/analysis/cppcheck/default.nix +++ b/pkgs/development/tools/analysis/cppcheck/default.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation rec { pname = "cppcheck"; - version = "2.9.2"; + version = "2.9.3"; src = fetchFromGitHub { owner = "danmar"; repo = "cppcheck"; rev = version; - hash = "sha256-76JMC9kjeQO4ZuRQ4Kv7J141xy0M7kDTWWjQtJ/d5r0="; + hash = "sha256-AaZzr5r+tpG5M40HSx45KCUBPhN/nSpXxS5H3FuSx2c="; }; buildInputs = [ pcre From 6d9a36c0eb74e15a3d010264d2232f89213b850f Mon Sep 17 00:00:00 2001 From: Ryan Horiguchi Date: Fri, 25 Nov 2022 11:52:25 +0100 Subject: [PATCH 46/50] adguardhome: 0.107.18 -> 0.107.19 --- pkgs/servers/adguardhome/bins.nix | 20 ++++++++++---------- pkgs/servers/adguardhome/default.nix | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pkgs/servers/adguardhome/bins.nix b/pkgs/servers/adguardhome/bins.nix index c175787fdce3..101a37bd2415 100644 --- a/pkgs/servers/adguardhome/bins.nix +++ b/pkgs/servers/adguardhome/bins.nix @@ -1,23 +1,23 @@ { fetchurl, fetchzip }: { x86_64-darwin = fetchzip { - sha256 = "sha256-XzM+ZAlpT33AQd7etCXZQos9Ifg7oM9DkzncP+EBvoo="; - url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.18/AdGuardHome_darwin_amd64.zip"; + sha256 = "sha256-R9Ggjl9Qw1F2n2U7uGcLqgjwrLoUjlO8KUsI4sQf/JU="; + url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.19/AdGuardHome_darwin_amd64.zip"; }; aarch64-darwin = fetchzip { - sha256 = "sha256-9pMZVSqU6Rqet73Lg/JBzX1PWmR9nxUSmKD6E4fAxSw="; - url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.18/AdGuardHome_darwin_arm64.zip"; + sha256 = "sha256-MStBeDsqHK+m91DBTIAzaleIL0GNhqdslIvPOmtOaDQ="; + url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.19/AdGuardHome_darwin_arm64.zip"; }; i686-linux = fetchurl { - sha256 = "sha256-AVFQpruoScSTFpsK3+7e1hXaJaKlK5dQ+8uga5+dHRY="; - url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.18/AdGuardHome_linux_386.tar.gz"; + sha256 = "sha256-bkUSxifnSfDZk2kmp23n6KBlqa70CrBIKuCF+EEHTwk="; + url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.19/AdGuardHome_linux_386.tar.gz"; }; x86_64-linux = fetchurl { - sha256 = "sha256-ncVQc8zJy9i8TNmDIjLQh58I3gIfTLgDwctBFD1HR2I="; - url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.18/AdGuardHome_linux_amd64.tar.gz"; + sha256 = "sha256-dHj91ZYhHTA8XoZ8oUhDQzu6Fpg0n/CBqDZux0QnwXI="; + url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.19/AdGuardHome_linux_amd64.tar.gz"; }; aarch64-linux = fetchurl { - sha256 = "sha256-tzc67MHg6idLW5b69zLZw/76tP6YEMlWNPosrsD4uTA="; - url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.18/AdGuardHome_linux_arm64.tar.gz"; + sha256 = "sha256-f5nXnLkL6yvkE9kUnHdsD+MQhUjbkQGmVj7Nr/znBrw="; + url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.19/AdGuardHome_linux_arm64.tar.gz"; }; } diff --git a/pkgs/servers/adguardhome/default.nix b/pkgs/servers/adguardhome/default.nix index cd977fa511d6..9b9df3072d54 100644 --- a/pkgs/servers/adguardhome/default.nix +++ b/pkgs/servers/adguardhome/default.nix @@ -7,7 +7,7 @@ in stdenv.mkDerivation rec { pname = "adguardhome"; - version = "0.107.18"; + version = "0.107.19"; src = sources.${system} or (throw "Source for ${pname} is not available for ${system}"); installPhase = '' From c48484a81f8c6688af78b384fbd0a9b9f412cf47 Mon Sep 17 00:00:00 2001 From: Vonfry Date: Fri, 25 Nov 2022 19:35:09 +0800 Subject: [PATCH 47/50] fcitx5: 5.0.20 -> 5.0.21 --- pkgs/tools/inputmethods/fcitx5/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/inputmethods/fcitx5/default.nix b/pkgs/tools/inputmethods/fcitx5/default.nix index 4acf35d8d562..21fed14fbd70 100644 --- a/pkgs/tools/inputmethods/fcitx5/default.nix +++ b/pkgs/tools/inputmethods/fcitx5/default.nix @@ -40,13 +40,13 @@ let in stdenv.mkDerivation rec { pname = "fcitx5"; - version = "5.0.20"; + version = "5.0.21"; src = fetchFromGitHub { owner = "fcitx"; repo = pname; rev = version; - sha256 = "sha256-NRJbRjD5M2eq2YYEoJNjnn5XVSBGqIjO0cA9YCrfyhA="; + sha256 = "sha256-O2ozMSNo07TWw7Se4CCo95OM/paG7TSVVG6SqHoYiBE="; }; prePatch = '' From 2d1a1c6c260ec23726de766e5a6a7740210f0daa Mon Sep 17 00:00:00 2001 From: Vonfry Date: Fri, 25 Nov 2022 19:35:19 +0800 Subject: [PATCH 48/50] fcitx5-gtk: 5.0.20 -> 5.0.21 --- pkgs/tools/inputmethods/fcitx5/fcitx5-gtk.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/inputmethods/fcitx5/fcitx5-gtk.nix b/pkgs/tools/inputmethods/fcitx5/fcitx5-gtk.nix index 1aaf75d09bf5..0f17a1bbba04 100644 --- a/pkgs/tools/inputmethods/fcitx5/fcitx5-gtk.nix +++ b/pkgs/tools/inputmethods/fcitx5/fcitx5-gtk.nix @@ -26,13 +26,13 @@ stdenv.mkDerivation rec { pname = "fcitx5-gtk"; - version = "5.0.20"; + version = "5.0.21"; src = fetchFromGitHub { owner = "fcitx"; repo = pname; rev = version; - sha256 = "sha256-bgjRYL8EWrYIZAhgKSljFJn1u37X53u4u1wOg6sbbkE="; + sha256 = "sha256-LGTAKFeiCoUsjVFUcIG7U7riYyb/AfhiYkmNu3aO56M="; }; cmakeFlags = [ From 89b81397a18084a35ee0c2b71da064621da96b4a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 22 Nov 2022 19:02:30 +0000 Subject: [PATCH 49/50] notepad-next: 0.5.5 -> 0.5.6 --- pkgs/applications/editors/notepad-next/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/notepad-next/default.nix b/pkgs/applications/editors/notepad-next/default.nix index 77b41ea610dc..2d6f5eb8f3ca 100644 --- a/pkgs/applications/editors/notepad-next/default.nix +++ b/pkgs/applications/editors/notepad-next/default.nix @@ -2,13 +2,13 @@ mkDerivation rec { pname = "notepad-next"; - version = "0.5.5"; + version = "0.5.6"; src = fetchFromGitHub { owner = "dail8859"; repo = "NotepadNext"; rev = "v${version}"; - sha256 = "sha256-ZjDvAN/NNz1GY7/0eKlxogYPg2Ba7Ncg6TXyKQEdWrU="; + sha256 = "sha256-0ZmyEtyVpqQ05FOYdFbnFqfPJKNkrweflSl+irOzcuk="; # External dependencies - https://github.com/dail8859/NotepadNext/issues/135 fetchSubmodules = true; }; From f8ee27fd8f3405c8234c9093c50c948e847b74e7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 25 Nov 2022 07:02:18 +0000 Subject: [PATCH 50/50] aliyun-cli: 3.0.136 -> 3.0.137 --- pkgs/tools/admin/aliyun-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/aliyun-cli/default.nix b/pkgs/tools/admin/aliyun-cli/default.nix index 9459108071c5..7ba54de461f9 100644 --- a/pkgs/tools/admin/aliyun-cli/default.nix +++ b/pkgs/tools/admin/aliyun-cli/default.nix @@ -2,14 +2,14 @@ buildGoModule rec { pname = "aliyun-cli"; - version = "3.0.136"; + version = "3.0.137"; src = fetchFromGitHub { rev = "v${version}"; owner = "aliyun"; repo = pname; fetchSubmodules = true; - sha256 = "sha256-W3QWXaVyrCYNqS2WKR4c7vK1gPmfDs+tZORzSHO345o="; + sha256 = "sha256-m+vbLdIpkPLHB8izhOAfpUJ/lTU0VeO/dPdm4cvPD7U="; }; vendorSha256 = "sha256-aviRsflpS9/o2B7mpYQE7d9ahLclM+jiVz+cJOlegCY=";