python3Packages.protonup: init at 0.1.4

This commit is contained in:
flexagoon 2021-08-27 21:34:50 +03:00
parent 8058d471a6
commit 0eaaf539d8
3 changed files with 33 additions and 0 deletions

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

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

View File

@ -5696,6 +5696,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 { };