mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
27 lines
512 B
Nix
27 lines
512 B
Nix
{ 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;
|
|
};
|
|
}
|