about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/websockets/default.nix
blob: 589a8089fcaa0b14ad9155a6f973ffd46a0a73ca (plain) (blame)
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
{ lib
, fetchFromGitHub
, buildPythonPackage
, pythonOlder
, pytest
}:

buildPythonPackage rec {
  pname = "websockets";
  version = "8.0.2";

  src = fetchFromGitHub {
    owner = "aaugustin";
    repo = pname;
    rev = version;
    sha256 = "02fgb8gib4z5fqv30brz3mhxmblw9bw0978fhpjdrkj7wvqrz5h8";
  };

  disabled = pythonOlder "3.3";

  meta = with lib; {
    description = "WebSocket implementation in Python 3";
    homepage = "https://github.com/aaugustin/websockets";
    license = licenses.bsd3;
  };
}