1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 requests,
6 pycountry,
7}:
8
9buildPythonPackage rec {
10 pname = "itunespy";
11 version = "1.6.1";
12 format = "setuptools";
13
14 src = fetchFromGitHub {
15 owner = "sleepyfran";
16 repo = "itunespy";
17 tag = "v${version}";
18 sha256 = "sha256-QvSKJAZa8v0tGURXwo4Dwo73JqsYs1xsBHW0lcaM7bk=";
19 };
20
21 propagatedBuildInputs = [
22 requests
23 pycountry
24 ];
25
26 # This module has no tests
27 doCheck = false;
28
29 pythonImportsCheck = [ "itunespy" ];
30
31 meta = with lib; {
32 description = "Simple library to fetch data from the iTunes Store API";
33 homepage = "https://github.com/sleepyfran/itunespy";
34 license = licenses.mit;
35 maintainers = with maintainers; [ j0hax ];
36 };
37}