1{ lib, buildPythonPackage, fetchFromGitHub, requests, pycountry }: 2 3buildPythonPackage rec { 4 pname = "itunespy"; 5 version = "1.6"; 6 7 src = fetchFromGitHub { 8 owner = "sleepyfran"; 9 repo = pname; 10 rev = version; 11 sha256 = "0yc3az5531qs8nbcw4rhgrszwczgy4bikfwfar7xb2044360sslw"; 12 }; 13 14 propagatedBuildInputs = [ requests pycountry ]; 15 16 # This module has no tests 17 doCheck = false; 18 19 pythonImportsCheck = [ "itunespy" ]; 20 21 meta = with lib; { 22 description = "A simple library to fetch data from the iTunes Store API"; 23 homepage = "https://github.com/sleepyfran/itunespy"; 24 license = licenses.mit; 25 maintainers = with maintainers; [ j0hax ]; 26 }; 27}