depot/third_party/nixpkgs/pkgs/development/python-modules/proxy-tools/default.nix

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 ];
};
}