diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2020-08-30 15:57:11 -0400 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2020-08-30 15:57:11 -0400 |
commit | 6de4b96228e97082803ec385af140ed8a859e48c (patch) | |
tree | ad35c68cc9b0ce6af4d6c77f80bd6ab590ac3dc0 /pkgs/applications/audio/sonata | |
parent | 3e65f88623ee667c9a8c25c7f1564119edaafcbc (diff) | |
download | nixpkgs-6de4b96228e97082803ec385af140ed8a859e48c.tar nixpkgs-6de4b96228e97082803ec385af140ed8a859e48c.tar.gz nixpkgs-6de4b96228e97082803ec385af140ed8a859e48c.tar.bz2 nixpkgs-6de4b96228e97082803ec385af140ed8a859e48c.tar.lz nixpkgs-6de4b96228e97082803ec385af140ed8a859e48c.tar.xz nixpkgs-6de4b96228e97082803ec385af140ed8a859e48c.tar.zst nixpkgs-6de4b96228e97082803ec385af140ed8a859e48c.zip |
sonata: fixup dependencies
Diffstat (limited to 'pkgs/applications/audio/sonata')
-rw-r--r-- | pkgs/applications/audio/sonata/default.nix | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/pkgs/applications/audio/sonata/default.nix b/pkgs/applications/audio/sonata/default.nix index 73e47038a26..cf3f173a096 100644 --- a/pkgs/applications/audio/sonata/default.nix +++ b/pkgs/applications/audio/sonata/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchFromGitHub, wrapGAppsHook, gettext -, python3Packages, gnome3, gtk3, gsettings-desktop-schemas, gobject-introspection }: +, python3Packages, gnome3, gtk3, glib, gdk-pixbuf, gsettings-desktop-schemas, gobject-introspection }: let inherit (python3Packages) buildPythonApplication isPy3k dbus-python pygobject3 mpd2 setuptools; @@ -16,13 +16,30 @@ in buildPythonApplication rec { disabled = !isPy3k; - nativeBuildInputs = [ wrapGAppsHook gettext ]; + nativeBuildInputs = [ + gettext + gobject-introspection + wrapGAppsHook + ]; + buildInputs = [ + glib gnome3.adwaita-icon-theme gsettings-desktop-schemas + gtk3 + gdk-pixbuf + ]; + + # The optional tagpy dependency (for editing metadata) is not yet + # included because it's difficult to build. + pythonPath = [ + dbus-python + mpd2 + pygobject3 + setuptools ]; - # Otherwise the setup hook for gsettings-desktop-schemas is not run: + # Otherwise the setup hook for gobject-introspection is not run: # https://github.com/NixOS/nixpkgs/issues/56943 strictDeps = false; @@ -31,14 +48,6 @@ in buildPythonApplication rec { sed -i '/localmpd/d' sonata/consts.py ''; - propagatedBuildInputs = [ - gobject-introspection gtk3 pygobject3 setuptools - ]; - - # The optional tagpy dependency (for editing metadata) is not yet - # included because it's difficult to build. - pythonPath = [ dbus-python pygobject3 mpd2 ]; - meta = { description = "An elegant client for the Music Player Daemon"; longDescription = '' |