44 lines
803 B
Nix
44 lines
803 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
aiohttp,
|
|
mashumaro,
|
|
python-socketio,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioaudiobookshelf";
|
|
version = "0.1.13";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "music-assistant";
|
|
repo = "aioaudiobookshelf";
|
|
tag = version;
|
|
hash = "sha256-63QqoINXY9gKZnyB0at+2C7c6epuda3UQ1/XwzLKnS0=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|