567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
38 lines
731 B
Nix
38 lines
731 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
requests,
|
|
pycountry,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "itunespy";
|
|
version = "1.6.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sleepyfran";
|
|
repo = "itunespy";
|
|
tag = "v${version}";
|
|
sha256 = "sha256-QvSKJAZa8v0tGURXwo4Dwo73JqsYs1xsBHW0lcaM7bk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
pycountry
|
|
];
|
|
|
|
# This module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "itunespy" ];
|
|
|
|
meta = {
|
|
description = "Simple library to fetch data from the iTunes Store API";
|
|
homepage = "https://github.com/sleepyfran/itunespy";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ j0hax ];
|
|
};
|
|
}
|