Merge pull request #135948 from flexagoon/protonup

python3Packages.protonup: init at 0.1.4
launchpad/nixpkgs/master
Fabian Affolter 3 years ago committed by GitHub
commit 11d96e525a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      maintainers/maintainer-list.nix
  2. 29
      pkgs/development/python-modules/protonup/default.nix
  3. 2
      pkgs/top-level/all-packages.nix
  4. 2
      pkgs/top-level/python-packages.nix

@ -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";

@ -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 ];
};
}

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

@ -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 { };

Loading…
Cancel
Save