mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
25 lines
666 B
Nix
25 lines
666 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, requests, six
|
|
, backports_unittest-mock, pytest, pytestrunner }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sseclient";
|
|
version = "0.0.26";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "33f45ab71bb6369025d6a1014e15f12774f7ea25b7e80eeb00bd73668d5fefad";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|