1{ lib, buildPythonPackage, pythonOlder, fetchPypi, requests, configparser }: 2 3buildPythonPackage rec { 4 pname = "protonup"; 5 version = "0.1.4"; 6 disabled = pythonOlder "3.6"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "0z5q0s9h51w2bqm9lkafml14g13v2dgm4nm9x06v7nxqc9msmyyy"; 11 }; 12 13 postPatch = '' 14 substituteInPlace setup.cfg \ 15 --replace "argparse" "" 16 ''; 17 18 propagatedBuildInputs = [ requests configparser ]; 19 20 doCheck = false; # protonup does not have any tests 21 pythonImportsCheck = [ "protonup" ]; 22 23 meta = with lib; { 24 homepage = "https://github.com/AUNaseef/protonup"; 25 description = "CLI program and API to automate the installation and update of GloriousEggroll's Proton-GE"; 26 license = licenses.gpl3Only; 27 maintainers = with maintainers; [ flexagoon ]; 28 }; 29}