depot/third_party/nixpkgs/pkgs/development/python-modules/aiostreammagic/default.nix
Default email 657f08b14c Project import generated by Copybara.
GitOrigin-RevId: 807e9154dcb16384b1b765ebe9cd2bba2ac287fd
2024-10-29 11:11:06 +00:00

50 lines
1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
mashumaro,
orjson,
poetry-core,
pythonOlder,
websockets,
yarl,
}:
buildPythonPackage rec {
pname = "aiostreammagic";
version = "2.8.4";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "noahhusby";
repo = "aiostreammagic";
rev = "refs/tags/${version}";
hash = "sha256-TleCQjx1s8S1YTxh/d1T3oozQAwzPTCurzjLjDCebik=";
};
pythonRelaxDeps = [ "websockets" ];
build-system = [ poetry-core ];
dependencies = [
mashumaro
orjson
websockets
yarl
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "aiostreammagic" ];
meta = {
description = "Module for interfacing with Cambridge Audio/Stream Magic compatible streamers";
homepage = "https://github.com/noahhusby/aiostreammagic";
changelog = "https://github.com/noahhusby/aiostreammagic/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}