Unverified Commit 2a27e116 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #228835 from dotlambda/spotdl-4.1.8

spotdl: 4.0.7 -> 4.1.8
parents 59dd72ad 470913e7
Loading
Loading
Loading
Loading
+21 −6
Original line number Diff line number Diff line
@@ -4,9 +4,22 @@
, ffmpeg
}:

python3.pkgs.buildPythonApplication rec {
let
  python = python3.override {
    packageOverrides = self: super: {
      ytmusicapi = super.ytmusicapi.overridePythonAttrs (old: rec {
        version = "0.25.1";
        src = self.fetchPypi {
          inherit (old) pname;
          inherit version;
          hash = "sha256-uc/fgDetSYaCRzff0SzfbRhs3TaKrfE2h6roWkkj8yQ=";
        };
      });
    };
  };
in python.pkgs.buildPythonApplication rec {
  pname = "spotdl";
  version = "4.0.7";
  version = "4.1.8";

  format = "pyproject";

@@ -14,17 +27,17 @@ python3.pkgs.buildPythonApplication rec {
    owner = "spotDL";
    repo = "spotify-downloader";
    rev = "refs/tags/v${version}";
    hash = "sha256-+hkdrPi3INs16SeAl+iXOE9KFDzG/TYXB3CDd8Tigwk=";
    hash = "sha256-iE5d9enSbONqVxKW7H7N+1TmBp6nVGtiQvxJxV7R/1o=";
  };

  nativeBuildInputs = with python3.pkgs; [
  nativeBuildInputs = with python.pkgs; [
    poetry-core
    pythonRelaxDepsHook
  ];

  pythonRelaxDeps = true;

  propagatedBuildInputs = with python3.pkgs; [
  propagatedBuildInputs = with python.pkgs; [
    spotipy
    ytmusicapi
    pytube
@@ -41,9 +54,11 @@ python3.pkgs.buildPythonApplication rec {
    platformdirs
    pykakasi
    syncedlyrics
    typing-extensions
    setuptools # for pkg_resources
  ];

  nativeCheckInputs = with python3.pkgs; [
  nativeCheckInputs = with python.pkgs; [
    pytestCheckHook
    pytest-mock
    pytest-vcr