Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, stdenv 3, buildPythonPackage 4, fetchPypi 5, python-dateutil 6, requests 7}: 8 9buildPythonPackage rec { 10 pname = "tidalapi"; 11 version = "0.7.0"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-LdlTBkCOb7tXiupsNJ5lbk38syKXeADvi2IdGpW/dk8="; 17 }; 18 19 propagatedBuildInputs = [ 20 requests 21 python-dateutil 22 ]; 23 24 doCheck = false; # tests require internet access 25 26 pythonImportsCheck = [ 27 "tidalapi" 28 ]; 29 30 meta = with lib; { 31 changelog = "https://github.com/tamland/python-tidal/releases/tag/v${version}"; 32 description = "Unofficial Python API for TIDAL music streaming service"; 33 homepage = "https://github.com/tamland/python-tidal"; 34 license = licenses.gpl3; 35 maintainers = [ maintainers.rodrgz ]; 36 }; 37}