Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 33 lines 630 B view raw
1{ lib 2, buildPythonPackage 3, isPy27 4, fetchPypi 5, requests 6}: 7 8buildPythonPackage rec { 9 pname = "ytmusicapi"; 10 version = "0.17.1"; 11 12 disabled = isPy27; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "sha256-b5+AGf9qFqQbx4Rq4RovK2NllYsB+sXVMFU4AvbDkzI="; 17 }; 18 19 propagatedBuildInputs = [ 20 requests 21 ]; 22 23 doCheck = false; # requires network access 24 25 pythonImportsCheck = [ "ytmusicapi" ]; 26 27 meta = with lib; { 28 description = "Unofficial API for YouTube Music"; 29 homepage = "https://github.com/sigma67/ytmusicapi"; 30 license = licenses.mit; 31 maintainers = with maintainers; [ dotlambda ]; 32 }; 33}