Skip to content

Commit

Permalink
Merge pull request #251670 from dotlambda/ytmusicapi-1.2.1
Browse files Browse the repository at this point in the history
python310Packages.ytmusicapi: 1.1.1 -> 1.2.1
  • Loading branch information
fabaff authored Aug 27, 2023
2 parents 0e82293 + 7beff14 commit 45ab6b7
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions pkgs/development/python-modules/ytmusicapi/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, pythonOlder
, requests
, setuptools
Expand All @@ -9,21 +9,25 @@

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 = [
setuptools
setuptools-scm
];

SETUPTOOLS_SCM_PRETEND_VERSION = version;

propagatedBuildInputs = [
requests
];
Expand Down

0 comments on commit 45ab6b7

Please sign in to comment.