mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 20:02:14 +03:00
pythonPackages.websockets: init at 3.2
This commit is contained in:
parent
b217c0a99b
commit
64d0c0ec1e
26
pkgs/development/python-modules/websockets/default.nix
Normal file
26
pkgs/development/python-modules/websockets/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ lib
|
||||||
|
, fetchurl
|
||||||
|
, buildPythonPackage
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "websockets";
|
||||||
|
version = "3.2";
|
||||||
|
in buildPythonPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
|
||||||
|
sha256 = "1dah1faywsnrlqyzagb1qc1cxrq9145srkdy118yhy9s8dyq4dmm";
|
||||||
|
};
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.3";
|
||||||
|
doCheck = false; # protocol tests fail
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "WebSocket implementation in Python 3";
|
||||||
|
homepage = https://github.com/aaugustin/websockets;
|
||||||
|
license = lib.licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
@ -26208,6 +26208,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
websockets = callPackage ../development/python-modules/websockets { };
|
||||||
|
|
||||||
wand = buildPythonPackage rec {
|
wand = buildPythonPackage rec {
|
||||||
name = "Wand-0.3.5";
|
name = "Wand-0.3.5";
|
||||||
|
Loading…
Reference in New Issue
Block a user