1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 aiohttp,
7 mashumaro,
8 python-socketio,
9}:
10
11buildPythonPackage rec {
12 pname = "aioaudiobookshelf";
13 version = "0.1.7";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "music-assistant";
18 repo = "aioaudiobookshelf";
19 tag = version;
20 hash = "sha256-sHRyrh+FwR9Vc9LVOA069iH5Wg56Ye4e9bOxdTR6PPs=";
21 };
22
23 build-system = [
24 setuptools
25 ];
26
27 dependencies = [
28 aiohttp
29 mashumaro
30 python-socketio
31 ];
32
33 pythonImportsCheck = [
34 "aioaudiobookshelf"
35 ];
36
37 meta = {
38 description = "Async python library to interact with Audiobookshelf";
39 homepage = "https://github.com/music-assistant/aioaudiobookshelf";
40 license = lib.licenses.asl20;
41 maintainers = with lib.maintainers; [ hexa ];
42 };
43}