depot/third_party/nixpkgs/pkgs/development/python-modules/proxy-tools/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

31 lines
689 B
Nix

{
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" ];
meta = with lib; {
homepage = "https://github.com/jtushman/proxy_tools";
description = "Simple (hopefuly useful) Proxy (as in the GoF design pattern) implementation for Python";
license = licenses.bsd2;
maintainers = with maintainers; [ jojosch ];
};
}