summary refs log tree commit diff
path: root/pkgs/development/python-modules/wsproto/default.nix
blob: f9062c1858418f0a87b1885a248753d878af8f82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ buildPythonPackage, fetchPypi, h11, enum34, pytest }:

buildPythonPackage rec {
  pname = "wsproto";
  version = "0.13.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "fd6020d825022247053400306448e161d8740bdd52e328e5553cd9eee089f705";
  };

  propagatedBuildInputs = [ h11 enum34 ];

  checkInputs = [ pytest ];

  checkPhase = ''
    py.test
  '';

}