Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / wsproto / 0.14.nix
bloba8488d8c4ab8cdf55441acb8fecb0debab9d2dd2
1 { lib, buildPythonPackage, fetchPypi, h11, enum34, pytest }:
3 buildPythonPackage rec {
4   pname = "wsproto";
5   version = "0.14.1";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "051s127qb5dladxa14n9nqajwq7xki1dz1was5r5v9df5a0jq8pd";
10   };
12   propagatedBuildInputs = [ h11 enum34 ];
14   checkInputs = [ pytest ];
16   checkPhase = ''
17     py.test
18   '';
20   meta = with lib; {
21     description = "Pure Python, pure state-machine WebSocket implementation";
22     homepage = "https://github.com/python-hyper/wsproto/";
23     license = licenses.mit;
24   };