Merge pull request #35056 from catern/master

pythonPackages.requests-unixsocket: init at 0.1.5
This commit is contained in:
Robert Schütz
2018-03-19 11:26:18 +01:00
committed by GitHub
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 ];
};
}