Merge pull request #311366 from fabaff/ytmusicapi-bump
python312Packages.ytmusicapi: 1.6.0 -> 1.7.1
This commit is contained in:
@@ -1,15 +1,16 @@
|
|||||||
{ lib
|
{
|
||||||
, buildPythonPackage
|
lib,
|
||||||
, fetchFromGitHub
|
buildPythonPackage,
|
||||||
, pythonOlder
|
fetchFromGitHub,
|
||||||
, requests
|
pythonOlder,
|
||||||
, setuptools
|
requests,
|
||||||
, setuptools-scm
|
setuptools,
|
||||||
|
setuptools-scm,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ytmusicapi";
|
pname = "ytmusicapi";
|
||||||
version = "1.6.0";
|
version = "1.7.1";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@@ -18,30 +19,26 @@ buildPythonPackage rec {
|
|||||||
owner = "sigma67";
|
owner = "sigma67";
|
||||||
repo = "ytmusicapi";
|
repo = "ytmusicapi";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-DqTcdWVivE2R51qm3XQ7cDnD1a90AocmX9TG+M5reto=";
|
hash = "sha256-HMWb9NScT4rRMFsUXw6TW/T0P1eH0a46OegUZ0JceiE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
build-system = [
|
||||||
setuptools
|
setuptools
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [ requests ];
|
||||||
requests
|
|
||||||
];
|
|
||||||
|
|
||||||
doCheck = false; # requires network access
|
doCheck = false; # requires network access
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "ytmusicapi" ];
|
||||||
"ytmusicapi"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python API for YouTube Music";
|
description = "Python API for YouTube Music";
|
||||||
mainProgram = "ytmusicapi";
|
|
||||||
homepage = "https://github.com/sigma67/ytmusicapi";
|
homepage = "https://github.com/sigma67/ytmusicapi";
|
||||||
changelog = "https://github.com/sigma67/ytmusicapi/releases/tag/${version}";
|
changelog = "https://github.com/sigma67/ytmusicapi/releases/tag/${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ dotlambda ];
|
maintainers = with maintainers; [ dotlambda ];
|
||||||
|
mainProgram = "ytmusicapi";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user