1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchFromGitHub, 6 requests, 7}: 8 9buildPythonPackage rec { 10 pname = "pdunehd"; 11 version = "1.3.3"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchFromGitHub { 17 owner = "valentinalexeev"; 18 repo = "pdunehd"; 19 tag = version; 20 sha256 = "sha256-8CL7ZQ+tV0CKdqWWiPDbo6Q5d1iIj/vNbYshdjUpYSw="; 21 }; 22 23 propagatedBuildInputs = [ requests ]; 24 25 # no tests implemented 26 doCheck = false; 27 28 pythonImportsCheck = [ "pdunehd" ]; 29 30 meta = with lib; { 31 description = "Python wrapper for Dune HD media player API"; 32 homepage = "https://github.com/valentinalexeev/pdunehd"; 33 changelog = "https://github.com/valentinalexeev/pdunehd/releases/tag/${version}"; 34 license = licenses.asl20; 35 maintainers = with maintainers; [ dotlambda ]; 36 }; 37}