Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi, pythonOlder 2, appdirs 3, audio-metadata 4, google-music-proto 5, httpx 6, protobuf 7, requests_oauthlib 8, tenacity 9}: 10 11buildPythonPackage rec { 12 pname = "google-music"; 13 version = "3.7.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "b79956cc0df86345c74436ae6213b700345403c91d51947288806b174322573b"; 18 }; 19 20 postPatch = '' 21 substituteInPlace setup.py \ 22 --replace "audio-metadata>=0.8,<0.9" "audio-metadata" 23 ''; 24 25 propagatedBuildInputs = [ 26 appdirs 27 audio-metadata 28 google-music-proto 29 httpx 30 protobuf 31 requests_oauthlib 32 tenacity 33 ]; 34 35 # No tests 36 doCheck = false; 37 38 disabled = pythonOlder "3.6"; 39 40 meta = with lib; { 41 homepage = "https://github.com/thebigmunch/google-music"; 42 description = "A Google Music API wrapper"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ jakewaksbaum ]; 45 }; 46}