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