Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / protonup-ng / default.nix
blob02695a5e3515fd8ff52c48312cd0bdc61d4a3355
1 { lib, buildPythonPackage, pythonOlder, fetchPypi, requests, configparser }:
3 buildPythonPackage rec {
4   pname = "protonup-ng";
5   version = "0.2.1";
6   format = "setuptools";
7   disabled = pythonOlder "3.6";
9   src = fetchPypi {
10     inherit pname version;
11     hash = "sha256-rys9Noa3+w4phttfcI1OGEDfHMy8s80bm8kM8TzssQA=";
12   };
14   postPatch = ''
15     substituteInPlace setup.cfg \
16       --replace "argparse" ""
17   '';
19   propagatedBuildInputs = [ requests configparser ];
21   doCheck = false; # protonup does not have any tests
22   pythonImportsCheck = [ "protonup" ];
24   meta = with lib; {
25     homepage = "https://github.com/cloudishBenne/protonup-ng";
26     description = "CLI program and API to automate the installation and update of GloriousEggroll's Proton-GE";
27     license = licenses.gpl3Only;
28     maintainers = with maintainers; [ Madouura cafkafk ];
29     mainProgram = "protonup";
30   };