Fix spotdl derivation for 4.1.6
This commit is contained in:
@ -1,10 +1,10 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, python3
|
, python310
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, ffmpeg
|
, ffmpeg
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python310.pkgs.buildPythonApplication rec {
|
||||||
pname = "spotdl";
|
pname = "spotdl";
|
||||||
version = "4.1.6";
|
version = "4.1.6";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
@ -12,18 +12,19 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "spotDL";
|
owner = "spotDL";
|
||||||
repo = "spotify-downloader";
|
repo = "spotify-downloader";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-0Socf9465+gTogilu5Y91sRC3mPsTNr8X+WZaqp+AdQ=";
|
hash = "sha256-sKkhZqn386iOKkZ3pzz7YxBPNAfEK9M0Agu+yR6+HsA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [
|
nativeBuildInputs = with python310.pkgs; [
|
||||||
poetry-core
|
poetry-core
|
||||||
pythonRelaxDepsHook
|
pythonRelaxDepsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonRelaxDeps = true;
|
pythonRelaxDeps = true;
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python310.pkgs; [
|
||||||
|
setuptools
|
||||||
spotipy
|
spotipy
|
||||||
ytmusicapi
|
ytmusicapi
|
||||||
pytube
|
pytube
|
||||||
@ -42,7 +43,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
syncedlyrics
|
syncedlyrics
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = with python3.pkgs; [
|
nativeCheckInputs = with python310.pkgs; [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-mock
|
pytest-mock
|
||||||
pytest-vcr
|
pytest-vcr
|
||||||
|
Reference in New Issue
Block a user