Skip to content

Commit

Permalink
protonup-ng: init at 0.2.1
Browse files Browse the repository at this point in the history
Co-authored-by: IceDBorn <github.envenomed@dralias.com>
  • Loading branch information
2 people authored and rtimush committed Sep 21, 2023
1 parent 787f78d commit e1c24f6
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 7 deletions.
7 changes: 7 additions & 0 deletions nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,13 @@
PHP now defaults to PHP 8.1, updated from 8.0.
</para>
</listitem>
<listitem>
<para>
<literal>protonup</literal> has been aliased to and replaced
by <literal>protonup-ng</literal> due to upstream not
maintaining it.
</para>
</listitem>
<listitem>
<para>
Perl has been updated to 5.36, and its core module
Expand Down
2 changes: 2 additions & 0 deletions nixos/doc/manual/release-notes/rl-2211.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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 = ''
Expand All @@ -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 ];
};
}
1 change: 1 addition & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {};

Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/python-aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e1c24f6

Please sign in to comment.