ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / sseclient-py / default.nix
blob54dfdd9d9498853dde41307010e10cb6e44ba7a9
1 { buildPythonPackage, fetchFromGitHub, lib, python }:
3 buildPythonPackage rec {
4   pname = "sseclient-py";
5   version = "1.7.2";
7   src = fetchFromGitHub {
8     owner = "mpetazzoni";
9     repo = "sseclient";
10     rev = "sseclient-py-${version}";
11     sha256 = "096spyv50jir81xiwkg9l88ycp1897d3443r6gi1by8nkp4chvix";
12   };
14   # based on tox.ini
15   checkPhase = ''
16     ${python.interpreter} tests/unittests.py
17   '';
19   meta = with lib; {
20     description = "Pure-Python Server Side Events (SSE) client";
21     homepage = "https://github.com/mpetazzoni/sseclient";
22     license = licenses.asl20;
23     maintainers = with maintainers; [ jamiemagee ];
24   };