mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
mopidy: exclude pipewire on darwin; mopidy-tidal: 0.3.2 -> 0.3.9 (#407886)
This commit is contained in:
commit
b3f90f1dc6
2 changed files with 42 additions and 34 deletions
|
@ -24,7 +24,9 @@ pythonPackages.buildPythonApplication rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ wrapGAppsNoGuiHook ];
|
nativeBuildInputs = [ wrapGAppsNoGuiHook ];
|
||||||
|
|
||||||
buildInputs = with gst_all_1; [
|
buildInputs =
|
||||||
|
with gst_all_1;
|
||||||
|
[
|
||||||
glib-networking
|
glib-networking
|
||||||
gst-plugins-bad
|
gst-plugins-bad
|
||||||
gst-plugins-base
|
gst-plugins-base
|
||||||
|
@ -46,8 +48,8 @@ pythonPackages.buildPythonApplication rec {
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
))
|
))
|
||||||
pipewire
|
]
|
||||||
];
|
++ lib.optional (!stdenv.hostPlatform.isDarwin) pipewire;
|
||||||
|
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs =
|
||||||
[ gobject-introspection ]
|
[ gobject-introspection ]
|
||||||
|
@ -73,12 +75,12 @@ pythonPackages.buildPythonApplication rec {
|
||||||
inherit (nixosTests) mopidy;
|
inherit (nixosTests) mopidy;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
homepage = "https://www.mopidy.com/";
|
homepage = "https://www.mopidy.com/";
|
||||||
description = "Extensible music server that plays music from local disk, Spotify, SoundCloud, and more";
|
description = "Extensible music server that plays music from local disk, Spotify, SoundCloud, and more";
|
||||||
mainProgram = "mopidy";
|
mainProgram = "mopidy";
|
||||||
license = licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
maintainers = [ maintainers.fpletz ];
|
maintainers = [ lib.maintainers.fpletz ];
|
||||||
hydraPlatforms = [ ];
|
hydraPlatforms = [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,20 +1,25 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
python3Packages,
|
python3Packages,
|
||||||
fetchPypi,
|
fetchFromGitHub,
|
||||||
mopidy,
|
mopidy,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "Mopidy-Tidal";
|
pname = "Mopidy-Tidal";
|
||||||
version = "0.3.2";
|
version = "0.3.9";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "tehkillerbee";
|
||||||
hash = "sha256-ekqhzKyU2WqTOeRR1ZSZA9yW3UXsLBsC2Bk6FZrQgmc=";
|
repo = "mopidy-tidal";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-RFhuxsb6nQPYxkaeAEABQdCwjbmnOw5pnmYnx6gNCcg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = [ python3Packages.poetry-core ];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
mopidy
|
mopidy
|
||||||
python3Packages.tidalapi
|
python3Packages.tidalapi
|
||||||
];
|
];
|
||||||
|
@ -26,10 +31,11 @@ python3Packages.buildPythonApplication rec {
|
||||||
|
|
||||||
pytestFlagsArray = [ "tests/" ];
|
pytestFlagsArray = [ "tests/" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Mopidy extension for playing music from Tidal";
|
description = "Mopidy extension for playing music from Tidal";
|
||||||
homepage = "https://github.com/tehkillerbee/mopidy-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 = [ ];
|
maintainers = [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue