a3bb8d7922
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
34 lines
701 B
Nix
34 lines
701 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pbr
|
|
, requests
|
|
, pytestCheckHook
|
|
, waitress
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "requests-unixsocket";
|
|
version = "0.2.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "9e5c1a20afc3cf786197ae59c79bcdb0e7565f218f27df5f891307ee8817c1ea";
|
|
};
|
|
|
|
nativeBuildInputs = [ pbr ];
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
checkInputs = [ pytestCheckHook waitress ];
|
|
|
|
preCheck = ''
|
|
rm pytest.ini
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Use requests to talk HTTP via a UNIX domain socket";
|
|
homepage = "https://github.com/msabramo/requests-unixsocket";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.catern ];
|
|
};
|
|
}
|