1{ lib
2, stdenv
3, buildPythonPackage
4, fetchPypi
5, python-dateutil
6, poetry-core
7, requests
8}:
9
10buildPythonPackage rec {
11 pname = "tidalapi";
12 version = "0.7.3";
13 format = "pyproject";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-sIPuo1kd08Quflf7oFxoo1H56cdUDlbNTfFkn8j3jVE=";
18 };
19
20 nativeBuildInputs = [
21 poetry-core
22 ];
23
24 propagatedBuildInputs = [
25 requests
26 python-dateutil
27 ];
28
29 doCheck = false; # tests require internet access
30
31 pythonImportsCheck = [
32 "tidalapi"
33 ];
34
35 meta = with lib; {
36 changelog = "https://github.com/tamland/python-tidal/releases/tag/v${version}";
37 description = "Unofficial Python API for TIDAL music streaming service";
38 homepage = "https://github.com/tamland/python-tidal";
39 license = licenses.gpl3;
40 maintainers = [ ];
41 };
42}