2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
requests,
|
2022-09-30 11:47:45 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "requests-wsgi-adapter";
|
|
|
|
version = "0.4.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-09-30 11:47:45 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-WncJ6Qq/SdGB9sMqo3eUU39yXeD23UI2K8jIyQgSyHg=";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ requests ];
|
2022-09-30 11:47:45 +00:00
|
|
|
|
|
|
|
# tests are not contained in pypi-release
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "WSGI Transport Adapter for Requests";
|
|
|
|
homepage = "https://github.com/seanbrant/requests-wsgi-adapter";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ betaboon ];
|
|
|
|
};
|
|
|
|
}
|