git.iko.soy/typeable/nixpkgs
on master help sign in
sonata: fixup dependencies
commit6de4b96228e97082803ec385af140ed8a859e48c authorworldofpeace <worldofpeace@protonmail.ch> dateSun 30 Aug 2020, 15:57 (6 years ago) parent3e65f88
1 file changed+20−11
pkgs/applications/audio/sonata/default.nix+20−11
pkgs/applications/audio/sonata/default.nix+20−11
@@ -1,5 +1,5 @@
11{ stdenv, fetchFromGitHub, wrapGAppsHook, gettext
2−, python3Packages, gnome3, gtk3, gsettings-desktop-schemas, gobject-introspection }:
2+, python3Packages, gnome3, gtk3, glib, gdk-pixbuf, gsettings-desktop-schemas, gobject-introspection }:
33
44let
55 inherit (python3Packages) buildPythonApplication isPy3k dbus-python pygobject3 mpd2 setuptools;
@@ -16,13 +16,30 @@ in buildPythonApplication rec {
1616
1717 disabled = !isPy3k;
1818
19− nativeBuildInputs = [ wrapGAppsHook gettext ];
19+ nativeBuildInputs = [
20+ gettext
21+ gobject-introspection
22+ wrapGAppsHook
23+ ];
24+
2025 buildInputs = [
26+ glib
2127 gnome3.adwaita-icon-theme
2228 gsettings-desktop-schemas
29+ gtk3
30+ gdk-pixbuf
31+ ];
32+
33+ # The optional tagpy dependency (for editing metadata) is not yet
34+ # included because it's difficult to build.
35+ pythonPath = [
36+ dbus-python
37+ mpd2
38+ pygobject3
39+ setuptools
2340 ];
2441
25− # Otherwise the setup hook for gsettings-desktop-schemas is not run:
42+ # Otherwise the setup hook for gobject-introspection is not run:
2643 # https://github.com/NixOS/nixpkgs/issues/56943
2744 strictDeps = false;
2845
@@ -31,14 +48,6 @@ in buildPythonApplication rec {
3148 sed -i '/localmpd/d' sonata/consts.py
3249 '';
3350
34− propagatedBuildInputs = [
35− gobject-introspection gtk3 pygobject3 setuptools
36− ];
37−
38− # The optional tagpy dependency (for editing metadata) is not yet
39− # included because it's difficult to build.
40− pythonPath = [ dbus-python pygobject3 mpd2 ];
41−
4251 meta = {
4352 description = "An elegant client for the Music Player Daemon";
4453 longDescription = ''