mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 09:34:36 +00:00
Merge pull request #135948 from flexagoon/protonup
python3Packages.protonup: init at 0.1.4
This commit is contained in:
commit
11d96e525a
@ -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";
|
||||
|
29
pkgs/development/python-modules/protonup/default.nix
Normal file
29
pkgs/development/python-modules/protonup/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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…
Reference in New Issue
Block a user