Skip to content

Commit

Permalink
python311Packages.proxy-tools: adopt pypa build
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukium committed Nov 5, 2023
1 parent 14806a4 commit 09e3d93
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/python-modules/proxy-tools/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
}:

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

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

nativeBuildInputs = [
setuptools
];

# no tests in pypi
doCheck = false;
pythonImportsCheck = [ "proxy_tools" ];
Expand Down

0 comments on commit 09e3d93

Please sign in to comment.