python3Packages.wsproto: 0.14.1 -> 0.15.0

This commit is contained in:
Jonathan Ringer 2019-08-22 14:31:54 -07:00
parent 0372567397
commit 3aa473687b

View File

@ -1,15 +1,20 @@
{ lib, buildPythonPackage, fetchPypi, h11, enum34, pytest }:
{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy36
, dataclasses
, h11
, pytest
}:
buildPythonPackage rec {
pname = "wsproto";
version = "0.14.1";
version = "0.15.0";
disabled = pythonOlder "3.6"; # python versions <3.6
src = fetchPypi {
inherit pname version;
sha256 = "051s127qb5dladxa14n9nqajwq7xki1dz1was5r5v9df5a0jq8pd";
sha256 = "17gsxlli4w8am1wwwl3k90hpdfa213ax40ycbbvb7hjx1v1rhiv1";
};
propagatedBuildInputs = [ h11 enum34 ];
propagatedBuildInputs = [ h11 ] ++ lib.optional isPy36 dataclasses;
checkInputs = [ pytest ];