diff options
author | Spencer Baugh <sbaugh@catern.com> | 2018-02-16 20:59:50 +0000 |
---|---|---|
committer | Spencer Baugh <sbaugh@catern.com> | 2018-03-18 17:47:37 +0000 |
commit | 04c3713755379ee4b8e020881adf5e5eae4c01f5 (patch) | |
tree | bc038e77aa5f0db68a5172c9ff68b6def9fc44cc /pkgs/development/python-modules/requests-unixsocket | |
parent | eab479a5f0e46ad461ebda9953477be8f1e5e2bb (diff) | |
download | nixpkgs-04c3713755379ee4b8e020881adf5e5eae4c01f5.tar nixpkgs-04c3713755379ee4b8e020881adf5e5eae4c01f5.tar.gz nixpkgs-04c3713755379ee4b8e020881adf5e5eae4c01f5.tar.bz2 nixpkgs-04c3713755379ee4b8e020881adf5e5eae4c01f5.tar.lz nixpkgs-04c3713755379ee4b8e020881adf5e5eae4c01f5.tar.xz nixpkgs-04c3713755379ee4b8e020881adf5e5eae4c01f5.tar.zst nixpkgs-04c3713755379ee4b8e020881adf5e5eae4c01f5.zip |
pythonPackages.requests-unixsocket: init at 0.1.5
Diffstat (limited to 'pkgs/development/python-modules/requests-unixsocket')
-rw-r--r-- | pkgs/development/python-modules/requests-unixsocket/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/requests-unixsocket/default.nix b/pkgs/development/python-modules/requests-unixsocket/default.nix new file mode 100644 index 00000000000..4eb3a33926f --- /dev/null +++ b/pkgs/development/python-modules/requests-unixsocket/default.nix @@ -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 ]; + }; +} |