Skip to content

Commit

Permalink
Merge pull request #265587 from natsukium/proxy-tools
Browse files Browse the repository at this point in the history
python311Packages.proxy-tools: rename from proxy_tools
  • Loading branch information
NickCao authored Nov 5, 2023
2 parents 31a1f28 + 09e3d93 commit e5cd354
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
}:

buildPythonPackage rec {
pname = "proxy_tools";
pname = "proxy-tools";
version = "0.1.0";
pyproject = true;

src = fetchPypi {
inherit pname version;
pname = "proxy_tools";
inherit version;
hash = "sha256-zLN1H1KcBH4tilhEDYayBTA88P6BRveE0cvNlPCigBA=";
};

nativeBuildInputs = [
setuptools
];

# no tests in pypi
doCheck = false;
pythonImportsCheck = [ "proxy_tools" ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/pywebview/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
, setuptools-scm
, bottle
, importlib-resources
, proxy_tools
, proxy-tools
, pygobject3
, pyqtwebengine
, pytest
Expand Down Expand Up @@ -37,7 +37,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
bottle
pyqtwebengine
proxy_tools
proxy-tools
six
] ++ lib.optionals (pythonOlder "3.7") [
importlib-resources
Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/python-aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ mapAliases ({
prometheus_client = prometheus-client; # added 2021-06-10
prompt_toolkit = prompt-toolkit; # added 2021-07-22
protonup = protonup-ng; # Added 2022-11-06
proxy_tools = proxy-tools; # added 2023-11-05
pur = throw "pur has been renamed to pkgs.pur"; # added 2021-11-08
pushbullet = pushbullet-py; # Added 2022-10-15
Pweave = pweave; # added 2023-02-19
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9115,7 +9115,7 @@ self: super: with self; {

propka = callPackage ../development/python-modules/propka { };

proxy_tools = callPackage ../development/python-modules/proxy_tools { };
proxy-tools = callPackage ../development/python-modules/proxy-tools { };

proxy-db = callPackage ../development/python-modules/proxy-db { };

Expand Down

0 comments on commit e5cd354

Please sign in to comment.