555cd8a8f9
GitOrigin-RevId: 5633bcff0c6162b9e4b5f1264264611e950c8ec7
46 lines
819 B
Nix
46 lines
819 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
|
|
pbr,
|
|
|
|
requests,
|
|
poetry-core,
|
|
|
|
pytestCheckHook,
|
|
waitress,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "requests-unixsocket2";
|
|
version = "0.4.2";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "requests_unixsocket2";
|
|
hash = "sha256-kpxY7MWYHz0SdmHOueyMduDwjTHFLkSrFGKsDc1VtfU=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pbr ];
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
poetry-core
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
waitress
|
|
];
|
|
|
|
pythonImportsCheck = [ "requests_unixsocket" ];
|
|
|
|
meta = with lib; {
|
|
description = "Use requests to talk HTTP via a UNIX domain socket";
|
|
homepage = "https://gitlab.com/thelabnyc/requests-unixsocket2";
|
|
license = licenses.bsd0;
|
|
maintainers = with maintainers; [ mikut ];
|
|
};
|
|
}
|