spotdl: 3.5.0 -> 3.5.1

This commit is contained in:
Robert Schütz 2021-04-09 13:26:58 +02:00
parent c69e6e52e8
commit aff13753d4

View file

@ -1,20 +1,30 @@
{ lib
, python3
, fetchFromGitHub
, fetchpatch
, ffmpeg
}:
python3.pkgs.buildPythonApplication rec {
pname = "spotdl";
version = "3.5.0";
version = "3.5.1";
src = fetchFromGitHub {
owner = "spotDL";
repo = "spotify-downloader";
rev = "v${version}";
sha256 = "1nxf911hi578jw24hlcvyy33z1pkvr41pfrywbs3157rj1fj2vfi";
sha256 = "sha256-Mc0aODyt0rwmBhkvY/gH1ODz4k8LOxyU5xXglSb6sPs=";
};
patches = [
# https://github.com/spotDL/spotify-downloader/pull/1254
(fetchpatch {
name = "subprocess-dont-use-shell.patch";
url = "https://github.com/spotDL/spotify-downloader/commit/fe9848518900577776b463ef0798796201e226ac.patch";
sha256 = "1kqq3y31dcx1zglywr564hkd2px3qx6sk3rkg7yz8n5hnfjhp6fn";
})
];
propagatedBuildInputs = with python3.pkgs; [
spotipy
pytube
@ -32,6 +42,7 @@ python3.pkgs.buildPythonApplication rec {
pytest-mock
pytest-vcr
pyfakefs
pytest-subprocess
];
makeWrapperArgs = [