diff --git a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
index 54bdb91e086eb..1a2c4e898f09d 100644
--- a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
+++ b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
@@ -130,6 +130,13 @@
PHP now defaults to PHP 8.1, updated from 8.0.
+
+
+ protonup has been aliased to and replaced
+ by protonup-ng due to upstream not
+ maintaining it.
+
+
Perl has been updated to 5.36, and its core module
diff --git a/nixos/doc/manual/release-notes/rl-2211.section.md b/nixos/doc/manual/release-notes/rl-2211.section.md
index 6594b7042b0d9..8c1916084acbf 100644
--- a/nixos/doc/manual/release-notes/rl-2211.section.md
+++ b/nixos/doc/manual/release-notes/rl-2211.section.md
@@ -53,6 +53,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- PHP now defaults to PHP 8.1, updated from 8.0.
+- `protonup` has been aliased to and replaced by `protonup-ng` due to upstream not maintaining it.
+
- Perl has been updated to 5.36, and its core module `HTTP::Tiny` was patched to verify SSL/TLS certificates by default.
- Improved performances of `lib.closePropagation` which was previously quadratic. This is used in e.g. `ghcWithPackages`. Please see backward incompatibilities notes below.
diff --git a/pkgs/development/python-modules/protonup/default.nix b/pkgs/development/python-modules/protonup-ng/default.nix
similarity index 72%
rename from pkgs/development/python-modules/protonup/default.nix
rename to pkgs/development/python-modules/protonup-ng/default.nix
index ad760063248f8..f79285ce96a7a 100644
--- a/pkgs/development/python-modules/protonup/default.nix
+++ b/pkgs/development/python-modules/protonup-ng/default.nix
@@ -1,13 +1,13 @@
{ lib, buildPythonPackage, pythonOlder, fetchPypi, requests, configparser }:
buildPythonPackage rec {
- pname = "protonup";
- version = "0.1.4";
+ pname = "protonup-ng";
+ version = "0.2.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
- sha256 = "0z5q0s9h51w2bqm9lkafml14g13v2dgm4nm9x06v7nxqc9msmyyy";
+ hash = "sha256-rys9Noa3+w4phttfcI1OGEDfHMy8s80bm8kM8TzssQA=";
};
postPatch = ''
@@ -21,9 +21,9 @@ buildPythonPackage rec {
pythonImportsCheck = [ "protonup" ];
meta = with lib; {
- homepage = "https://github.com/AUNaseef/protonup";
+ homepage = "https://github.com/cloudishBenne/protonup-ng";
description = "CLI program and API to automate the installation and update of GloriousEggroll's Proton-GE";
license = licenses.gpl3Only;
- maintainers = with maintainers; [ flexagoon ];
+ maintainers = with maintainers; [ Madouura ];
};
}
diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix
index 17fc7aab8cb7c..98885d32a2e2c 100644
--- a/pkgs/top-level/aliases.nix
+++ b/pkgs/top-level/aliases.nix
@@ -1210,6 +1210,7 @@ mapAliases ({
prometheus-unifi-exporter = throw "prometheus-unifi-exporter is deprecated and archived by upstream, use unifi-poller instead"; # Added 2022-06-03
protobuf3_7 = throw "protobuf3_7 does not receive updates anymore and has been removed"; # Added 2022-10-03
protobuf3_11 = throw "protobuf3_11 does not receive updates anymore and has been removed"; # Added 2022-09-28
+ protonup = protonup-ng; # Added 2022-11-06
proxytunnel = throw "proxytunnel has been removed from nixpkgs, because it has not been update upstream since it was added to nixpkgs in 2008 and has therefore bitrotted."; # added 2021-12-15
pulseaudio-hsphfpd = throw "pulseaudio-hsphfpd upstream has been abandoned"; # Added 2022-03-23
pulseaudio-modules-bt = throw "pulseaudio-modules-bt has been abandoned, and is superseded by pulseaudio's native bt functionality"; # Added 2022-04-01
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index bd6a389a5cc9f..0f4539fddf313 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -34686,7 +34686,7 @@ with pkgs;
inherit winetricks steam-run yad;
};
- protonup = with python3Packages; toPythonApplication protonup;
+ protonup-ng = with python3Packages; toPythonApplication protonup-ng;
steam-rom-manager = callPackage ../tools/games/steam-rom-manager {};
diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix
index 8a33d02ba1a37..b9d3fc1835e9f 100644
--- a/pkgs/top-level/python-aliases.nix
+++ b/pkgs/top-level/python-aliases.nix
@@ -130,6 +130,7 @@ mapAliases ({
privacyidea = throw "privacyidea has been renamed to pkgs.privacyidea"; # added 2021-06-20
prometheus_client = prometheus-client; # added 2021-06-10
prompt_toolkit = prompt-toolkit; # added 2021-07-22
+ protonup = protonup-ng; # Added 2022-11-06
pur = throw "pur has been renamed to pkgs.pur"; # added 2021-11-08
pushbullet = pushbullet-py; # Added 2022-10-15
pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 3810767e7d2af..df5aa399ea970 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -7307,7 +7307,7 @@ self: super: with self; {
proton-client = callPackage ../development/python-modules/proton-client { };
- protonup = callPackage ../development/python-modules/protonup { };
+ protonup-ng = callPackage ../development/python-modules/protonup-ng { };
protonvpn-nm-lib = callPackage ../development/python-modules/protonvpn-nm-lib {
pkgs-systemd = pkgs.systemd;