pythonPackages.requests-unixsocket: init at 0.1.5

This commit is contained in:
Spencer Baugh 2018-02-16 20:59:50 +00:00
parent eab479a5f0
commit 04c3713755
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ lib, buildPythonPackage, fetchPypi
, pbr, requests
, pytest, pytestpep8, waitress }:
buildPythonPackage rec {
pname = "requests-unixsocket";
version = "0.1.5";
src = fetchPypi {
inherit pname version;
sha256 = "0k19knydh0fzd7w12lfy18arl1ndwa0zln33vsb37yv1iw9w06x9";
};
nativeBuildInputs = [ pbr ];
propagatedBuildInputs = [ requests ];
checkInputs = [ pytest pytestpep8 waitress ];
checkPhase = ''
py.test
'';
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 ];
};
}

View File

@ -3706,6 +3706,8 @@ in {
};
});
requests-unixsocket = callPackage ../development/python-modules/requests-unixsocket {};
howdoi = buildPythonPackage (rec {
name = "howdoi-${version}";
version = "1.1.7";