mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
Merge pull request #207702 from fabaff/webthing-ws
python310Packages.webthing-ws: init at 0.2.0
This commit is contained in:
commit
7be447d03f
43
pkgs/development/python-modules/webthing-ws/default.nix
Normal file
43
pkgs/development/python-modules/webthing-ws/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, async-timeout
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "webthing-ws";
|
||||||
|
version = "0.2.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "home-assistant-ecosystem";
|
||||||
|
repo = pname;
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-j7nc4yJczDs28RVFDHeQ2ZIG9mIW2m25AAeErVKi4E4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
async-timeout
|
||||||
|
];
|
||||||
|
|
||||||
|
# Module has no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"webthing_ws"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "WebThing WebSocket consumer and API client";
|
||||||
|
homepage = "https://github.com/home-assistant-ecosystem/webthing-ws";
|
||||||
|
changelog = "https://github.com/home-assistant-ecosystem/webthing-ws/releases/tag/${version}";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -11986,6 +11986,8 @@ self: super: with self; {
|
||||||
|
|
||||||
webthing = callPackage ../development/python-modules/webthing { };
|
webthing = callPackage ../development/python-modules/webthing { };
|
||||||
|
|
||||||
|
webthing-ws = callPackage ../development/python-modules/webthing-ws { };
|
||||||
|
|
||||||
weconnect = callPackage ../development/python-modules/weconnect { };
|
weconnect = callPackage ../development/python-modules/weconnect { };
|
||||||
|
|
||||||
weconnect-mqtt = callPackage ../development/python-modules/weconnect-mqtt { };
|
weconnect-mqtt = callPackage ../development/python-modules/weconnect-mqtt { };
|
||||||
|
|
Loading…
Reference in a new issue