depot/third_party/nixpkgs/pkgs/development/python-modules/proxy-tools/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

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