32 lines
689 B
Nix
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 ];
|
||
|
};
|
||
|
}
|