From 661d65c871072ae7f7d316ce897ffd6a10cb078d Mon Sep 17 00:00:00 2001 From: Amadej Kastelic Date: Tue, 3 Jun 2025 15:13:12 +0200 Subject: [PATCH] mopidy-tidal: 0.3.2 -> 0.3.9; fetchPypi -> fetchFromGitHub --- pkgs/applications/audio/mopidy/tidal.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/audio/mopidy/tidal.nix b/pkgs/applications/audio/mopidy/tidal.nix index 5548130665cb..5c1bc69a6ffd 100644 --- a/pkgs/applications/audio/mopidy/tidal.nix +++ b/pkgs/applications/audio/mopidy/tidal.nix @@ -1,20 +1,25 @@ { lib, python3Packages, - fetchPypi, + fetchFromGitHub, mopidy, }: python3Packages.buildPythonApplication rec { pname = "Mopidy-Tidal"; - version = "0.3.2"; + version = "0.3.9"; + pyproject = true; - src = fetchPypi { - inherit pname version; - hash = "sha256-ekqhzKyU2WqTOeRR1ZSZA9yW3UXsLBsC2Bk6FZrQgmc="; + src = fetchFromGitHub { + owner = "tehkillerbee"; + repo = "mopidy-tidal"; + rev = "v${version}"; + hash = "sha256-RFhuxsb6nQPYxkaeAEABQdCwjbmnOw5pnmYnx6gNCcg="; }; - propagatedBuildInputs = [ + build-system = [ python3Packages.poetry-core ]; + + dependencies = [ mopidy python3Packages.tidalapi ];