python310Packages.sonos-websocket: init at 0.1.0
This commit is contained in:
parent
fe2ecaf706
commit
de2da79e22
2 changed files with 49 additions and 0 deletions
47
pkgs/development/python-modules/sonos-websocket/default.nix
Normal file
47
pkgs/development/python-modules/sonos-websocket/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, async-timeout
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pythonOlder
|
||||||
|
, setuptools
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "sonos-websocket";
|
||||||
|
version = "0.1.0";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jjlawren";
|
||||||
|
repo = "sonos-websocket";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-Pb+L+823Clka0IjVMVEx4A0tJsI1IUhrFbx5Jy+xkgg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
async-timeout
|
||||||
|
];
|
||||||
|
|
||||||
|
# Module has no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"sonos_websocket"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Library to communicate with Sonos devices over websockets";
|
||||||
|
homepage = "https://github.com/jjlawren/sonos-websocket";
|
||||||
|
changelog = "https://github.com/jjlawren/sonos-websocket/releases/tag/${version}";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -11020,6 +11020,8 @@ self: super: with self; {
|
||||||
|
|
||||||
sonarr = callPackage ../development/python-modules/sonarr { };
|
sonarr = callPackage ../development/python-modules/sonarr { };
|
||||||
|
|
||||||
|
sonos-websocket = callPackage ../development/python-modules/sonos-websocket { };
|
||||||
|
|
||||||
sopel = callPackage ../development/python-modules/sopel { };
|
sopel = callPackage ../development/python-modules/sopel { };
|
||||||
|
|
||||||
sorl_thumbnail = callPackage ../development/python-modules/sorl_thumbnail { };
|
sorl_thumbnail = callPackage ../development/python-modules/sorl_thumbnail { };
|
||||||
|
|
Loading…
Reference in a new issue