Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 26 lines 512 B view raw
1{ lib 2, fetchFromGitHub 3, buildPythonPackage 4, pythonOlder 5, pytest 6}: 7 8buildPythonPackage rec { 9 pname = "websockets"; 10 version = "8.0.2"; 11 12 src = fetchFromGitHub { 13 owner = "aaugustin"; 14 repo = pname; 15 rev = version; 16 sha256 = "02fgb8gib4z5fqv30brz3mhxmblw9bw0978fhpjdrkj7wvqrz5h8"; 17 }; 18 19 disabled = pythonOlder "3.3"; 20 21 meta = with lib; { 22 description = "WebSocket implementation in Python 3"; 23 homepage = "https://github.com/aaugustin/websockets"; 24 license = licenses.bsd3; 25 }; 26}