Merge pull request #135948 from flexagoon/protonup

python3Packages.protonup: init at 0.1.4
This commit is contained in:
Fabian Affolter 2021-09-03 16:37:07 +02:00 committed by GitHub
commit 11d96e525a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 39 additions and 0 deletions

View File

@ -3621,6 +3621,12 @@
fingerprint = "2F93 661D AC17 EA98 A104 F780 ECC7 55EE 583C 1672";
}];
};
flexagoon = {
email = "flexagoon@pm.me";
github = "flexagoon";
githubId = 66178592;
name = "Pavel Zolotarevskiy";
};
flexw = {
email = "felix.weilbach@t-online.de";
github = "FlexW";

View File

@ -0,0 +1,29 @@
{ lib, buildPythonPackage, pythonOlder, fetchPypi, requests, configparser }:
buildPythonPackage rec {
pname = "protonup";
version = "0.1.4";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "0z5q0s9h51w2bqm9lkafml14g13v2dgm4nm9x06v7nxqc9msmyyy";
};
postPatch = ''
substituteInPlace setup.cfg \
--replace "argparse" ""
'';
propagatedBuildInputs = [ requests configparser ];
doCheck = false; # protonup does not have any tests
pythonImportsCheck = [ "protonup" ];
meta = with lib; {
homepage = "https://github.com/AUNaseef/protonup";
description = "CLI program and API to automate the installation and update of GloriousEggroll's Proton-GE";
license = licenses.gpl3Only;
maintainers = with maintainers; [ flexagoon ];
};
}

View File

@ -29914,6 +29914,8 @@ with pkgs;
inherit (gnome) zenity;
};
protonup = with python3Packages; toPythonApplication protonup;
sdlpop = callPackage ../games/sdlpop { };
stepmania = callPackage ../games/stepmania {

View File

@ -5698,6 +5698,8 @@ in {
protobuf3-to-dict = callPackage ../development/python-modules/protobuf3-to-dict { };
protonup = callPackage ../development/python-modules/protonup { };
prov = callPackage ../development/python-modules/prov { };
prox-tv = callPackage ../development/python-modules/prox-tv { };