blob: 1e1e1ef58a8e63cf8f5c6c5ca730a023a8f80959 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib
, fetchFromGitHub
, buildPythonPackage
, pythonOlder
, pytest
, stdenv
}:
buildPythonPackage rec {
pname = "websockets";
version = "8.1";
src = fetchFromGitHub {
owner = "aaugustin";
repo = pname;
rev = version;
sha256 = "05jbqcbjg50ydwl0fijhdlqcq7fl6v99kjva66kmmzzza7vwa872";
};
disabled = pythonOlder "3.3";
# Tests fail on Darwin with `OSError: AF_UNIX path too long`
doCheck = !stdenv.isDarwin;
meta = with lib; {
description = "WebSocket implementation in Python 3";
homepage = "https://github.com/aaugustin/websockets";
license = licenses.bsd3;
};
}
|