mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 02:14:36 +00:00
25 lines
672 B
Nix
25 lines
672 B
Nix
|
{ stdenv, buildPythonPackage, fetchPypi
|
||
|
, requests, six
|
||
|
, backports_unittest-mock, pluggy, pytest, pytestrunner }:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "sseclient";
|
||
|
version = "0.0.19";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "7a2ea3f4c8525ae9a677bc8193df5db88e23bcaafcc34938a1ee665975703a9f";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [ requests six ];
|
||
|
|
||
|
checkInputs = [ backports_unittest-mock pytest pytestrunner ];
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "Client library for reading Server Sent Event streams";
|
||
|
homepage = https://github.com/btubbs/sseclient;
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ peterhoeg ];
|
||
|
};
|
||
|
}
|