3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/requests-unixsocket/default.nix
Drew Risinger 6bb2eae2ff treewide: remove dead pytestpep8 references
pytestpep8 was removed in 25c9946f95.
This removes pytestpep8 in the rest of the tree, where it was hardly
used.
2020-12-10 21:14:42 -05:00

30 lines
692 B
Nix

{ lib, buildPythonPackage, fetchPypi
, pbr, requests
, pytest, waitress }:
buildPythonPackage rec {
pname = "requests-unixsocket";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "9e5c1a20afc3cf786197ae59c79bcdb0e7565f218f27df5f891307ee8817c1ea";
};
nativeBuildInputs = [ pbr ];
propagatedBuildInputs = [ requests ];
checkInputs = [ pytest waitress ];
checkPhase = ''
rm pytest.ini
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 ];
};
}