1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchFromGitHub 5, requests 6}: 7 8buildPythonPackage rec { 9 pname = "pdunehd"; 10 version = "1.3.2"; 11 12 disabled = pythonOlder "3.6"; 13 14 src = fetchFromGitHub { 15 owner = "valentinalexeev"; 16 repo = "pdunehd"; 17 rev = version; 18 sha256 = "06p0k82nf89rsakr8d2hdb19dp1wqp9bsf54lwb0qma47iakljjh"; 19 }; 20 21 propagatedBuildInputs = [ 22 requests 23 ]; 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 license = licenses.asl20; 34 maintainers = with maintainers; [ dotlambda ]; 35 }; 36}