mopidy: exclude pipewire on darwin; mopidy-tidal: 0.3.2 -> 0.3.9 (#407886)

This commit is contained in:
Peder Bergebakken Sundt 2025-06-04 05:58:47 +02:00 committed by GitHub
commit b3f90f1dc6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 42 additions and 34 deletions

View file

@ -24,7 +24,9 @@ pythonPackages.buildPythonApplication rec {
nativeBuildInputs = [ wrapGAppsNoGuiHook ];
buildInputs = with gst_all_1; [
buildInputs =
with gst_all_1;
[
glib-networking
gst-plugins-bad
gst-plugins-base
@ -46,8 +48,8 @@ pythonPackages.buildPythonApplication rec {
];
}
))
pipewire
];
]
++ lib.optional (!stdenv.hostPlatform.isDarwin) pipewire;
propagatedBuildInputs =
[ gobject-introspection ]
@ -73,12 +75,12 @@ pythonPackages.buildPythonApplication rec {
inherit (nixosTests) mopidy;
};
meta = with lib; {
meta = {
homepage = "https://www.mopidy.com/";
description = "Extensible music server that plays music from local disk, Spotify, SoundCloud, and more";
mainProgram = "mopidy";
license = licenses.asl20;
maintainers = [ maintainers.fpletz ];
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.fpletz ];
hydraPlatforms = [ ];
};
}

View file

@ -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
];
@ -26,10 +31,11 @@ python3Packages.buildPythonApplication rec {
pytestFlagsArray = [ "tests/" ];
meta = with lib; {
meta = {
description = "Mopidy extension for playing music from Tidal";
homepage = "https://github.com/tehkillerbee/mopidy-tidal";
license = licenses.mit;
changelog = "https://github.com/tehkillerbee/mopidy-tidal/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = [ ];
};
}