mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
Merge pull request #255732 from fabaff/simple-websocket
python311Packages.simple-websocket: init at 0.9.0
This commit is contained in:
commit
0d3835e09a
43
pkgs/development/python-modules/simple-websocket/default.nix
Normal file
43
pkgs/development/python-modules/simple-websocket/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
, wheel
|
||||
, wsproto
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "simple-websocket";
|
||||
version = "0.9.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "miguelgrinberg";
|
||||
repo = "simple-websocket";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-pGPHS3MbDZgXBOtsZ87ULlkGdHHfaOSDLTNN4l5wKhE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
wsproto
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"simple_websocket"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple WebSocket server and client for Python";
|
||||
homepage = "https://github.com/miguelgrinberg/simple-websocket";
|
||||
changelog = "https://github.com/miguelgrinberg/simple-websocket/blob/${version}/CHANGES.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -11894,6 +11894,8 @@ self: super: with self; {
|
||||
|
||||
simple-salesforce = callPackage ../development/python-modules/simple-salesforce { };
|
||||
|
||||
simple-websocket = callPackage ../development/python-modules/simple-websocket { };
|
||||
|
||||
simple-websocket-server = callPackage ../development/python-modules/simple-websocket-server { };
|
||||
|
||||
simplisafe-python = callPackage ../development/python-modules/simplisafe-python { };
|
||||
|
Loading…
Reference in New Issue
Block a user