python310Packages.ytmusicapi: 1.1.1 -> 1.2.1

Changelog: https://github.com/sigma67/ytmusicapi/releases/tag/1.2.1
This commit is contained in:
Robert Schütz 2023-08-26 12:55:57 -07:00
parent 28dd7c5848
commit 7beff147ae

View File

@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, pythonOlder
, requests
, setuptools
@ -9,14 +9,16 @@
buildPythonPackage rec {
pname = "ytmusicapi";
version = "1.1.1";
version = "1.2.1";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-UCWNub0FErdmF3kGSIJlpIcKdPZdPzJ5y8yx9ZPBUlw=";
src = fetchFromGitHub {
owner = "sigma67";
repo = "ytmusicapi";
rev = "refs/tags/${version}";
hash = "sha256-YgV3kCvCOLNXb3cWBVXRuzH4guuvPpXVojOnSnrXj20=";
};
nativeBuildInputs = [
@ -24,6 +26,8 @@ buildPythonPackage rec {
setuptools-scm
];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
propagatedBuildInputs = [
requests
];