mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00
python311Packages.plexwebsocket: add format
- disable on unsupported Python releases
This commit is contained in:
parent
692d9b3c0a
commit
7852494d37
@ -1,14 +1,16 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aiohttp
|
||||
, isPy27
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "plexwebsocket";
|
||||
version = "0.0.14";
|
||||
disabled = isPy27;
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jjlawren";
|
||||
@ -21,17 +23,16 @@ buildPythonPackage rec {
|
||||
aiohttp
|
||||
];
|
||||
|
||||
# package does not include tests
|
||||
# Package does not include tests
|
||||
doCheck = false;
|
||||
|
||||
# at least guarantee the module can be imported
|
||||
pythonImportsCheck = [
|
||||
"plexwebsocket"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to react to events issued over Plex websockets";
|
||||
homepage = "https://github.com/jjlawren/python-plexwebsocket/";
|
||||
description = "Async library to react to events issued over Plex websockets";
|
||||
changelog = "https://github.com/jjlawren/python-plexwebsocket/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ colemickens ];
|
||||
|
Loading…
Reference in New Issue
Block a user