8ea079b918
https://github.com/music-assistant/aioaudiobookshelf/compare/refs/tags/0.1.6...refs/tags/0.1.7
44 lines
802 B
Nix
44 lines
802 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
aiohttp,
|
|
mashumaro,
|
|
python-socketio,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioaudiobookshelf";
|
|
version = "0.1.7";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "music-assistant";
|
|
repo = "aioaudiobookshelf";
|
|
tag = version;
|
|
hash = "sha256-sHRyrh+FwR9Vc9LVOA069iH5Wg56Ye4e9bOxdTR6PPs=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
mashumaro
|
|
python-socketio
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"aioaudiobookshelf"
|
|
];
|
|
|
|
meta = {
|
|
description = "Async python library to interact with Audiobookshelf";
|
|
homepage = "https://github.com/music-assistant/aioaudiobookshelf";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ hexa ];
|
|
};
|
|
}
|