spotdl: 4.2.11 -> 4.4.2

Diff: https://github.com/spotDL/spotify-downloader/compare/v4.2.11...v4.4.2

Changelog: https://github.com/spotDL/spotify-downloader/releases/tag/v4.4.2

+10 -12
+10 -12
pkgs/by-name/sp/spotdl/package.nix
··· 1 1 { 2 2 lib, 3 - python3, 3 + python3Packages, 4 4 fetchFromGitHub, 5 5 ffmpeg, 6 + writableTmpDirAsHomeHook, 6 7 }: 7 8 8 - python3.pkgs.buildPythonApplication rec { 9 + python3Packages.buildPythonApplication rec { 9 10 pname = "spotdl"; 10 - version = "4.2.11"; 11 + version = "4.4.2"; 11 12 pyproject = true; 12 13 13 14 src = fetchFromGitHub { 14 15 owner = "spotDL"; 15 16 repo = "spotify-downloader"; 16 17 tag = "v${version}"; 17 - hash = "sha256-9PlqnpUlV5b8g+lctGjVL1Xgf25SS5xqkDaa1bSlxpk="; 18 + hash = "sha256-guQ8fIA20wtCkB5CkU7zg/INE+g8/fvQfIs5TNteQGo="; 18 19 }; 19 20 20 - build-system = with python3.pkgs; [ poetry-core ]; 21 + build-system = with python3Packages; [ hatchling ]; 21 22 22 23 pythonRelaxDeps = true; 23 24 24 25 dependencies = 25 - with python3.pkgs; 26 + with python3Packages; 26 27 [ 27 28 beautifulsoup4 28 29 fastapi ··· 45 46 ] 46 47 ++ python-slugify.optional-dependencies.unidecode; 47 48 48 - nativeCheckInputs = with python3.pkgs; [ 49 + nativeCheckInputs = with python3Packages; [ 49 50 pyfakefs 50 51 pytest-mock 51 52 pytest-subprocess 52 53 pytest-vcr 53 54 pytestCheckHook 55 + writableTmpDirAsHomeHook 54 56 ]; 55 - 56 - preCheck = '' 57 - export HOME=$TMPDIR 58 - ''; 59 57 60 58 disabledTestPaths = [ 61 59 # Tests require networking ··· 91 89 meta = { 92 90 description = "Download your Spotify playlists and songs along with album art and metadata"; 93 91 homepage = "https://github.com/spotDL/spotify-downloader"; 94 - changelog = "https://github.com/spotDL/spotify-downloader/releases/tag/v${version}"; 92 + changelog = "https://github.com/spotDL/spotify-downloader/releases/tag/${src.tag}"; 95 93 license = lib.licenses.mit; 96 94 maintainers = with lib.maintainers; [ dotlambda ]; 97 95 mainProgram = "spotdl";