3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/wsproto/default.nix

26 lines
553 B
Nix
Raw Normal View History

2019-04-17 18:56:56 +01:00
{ lib, buildPythonPackage, fetchPypi, h11, enum34, pytest }:
2018-03-05 16:18:02 +00:00
buildPythonPackage rec {
pname = "wsproto";
version = "0.14.0";
2018-03-05 16:18:02 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "1p24dmym6pfsqsyxps6m2cxfl36cmkri0kdy5y5q7s300j3xmhsm";
2018-03-05 16:18:02 +00:00
};
propagatedBuildInputs = [ h11 enum34 ];
2019-02-14 07:37:33 +00:00
checkInputs = [ pytest ];
checkPhase = ''
py.test
'';
2019-04-17 18:56:56 +01:00
meta = with lib; {
description = "Pure Python, pure state-machine WebSocket implementation";
homepage = https://github.com/python-hyper/wsproto/;
license = licenses.mit;
};
2018-03-05 16:18:02 +00:00
}