1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 python-dateutil,
6 poetry-core,
7 requests,
8 isodate,
9 ratelimit,
10 typing-extensions,
11 mpegdash,
12}:
13buildPythonPackage rec {
14 pname = "tidalapi";
15 version = "0.8.3";
16 pyproject = true;
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-3I5Xi9vmyAlUNKBmmTuGnetaiiVzL3sEEy31npRZlFU=";
21 };
22
23 build-system = [ poetry-core ];
24
25 dependencies = [
26 requests
27 python-dateutil
28 mpegdash
29 isodate
30 ratelimit
31 typing-extensions
32 ];
33
34 doCheck = false; # tests require internet access
35
36 pythonImportsCheck = [ "tidalapi" ];
37
38 meta = {
39 changelog = "https://github.com/tamland/python-tidal/blob/v${version}/HISTORY.rst";
40 description = "Unofficial Python API for TIDAL music streaming service";
41 homepage = "https://github.com/tamland/python-tidal";
42 license = lib.licenses.gpl3;
43 maintainers = with lib.maintainers; [ drawbu ];
44 };
45}