sonata: fixup dependencies
This commit is contained in:
parent
3e65f88623
commit
6de4b96228
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, wrapGAppsHook, gettext
|
{ stdenv, fetchFromGitHub, wrapGAppsHook, gettext
|
||||||
, python3Packages, gnome3, gtk3, gsettings-desktop-schemas, gobject-introspection }:
|
, python3Packages, gnome3, gtk3, glib, gdk-pixbuf, gsettings-desktop-schemas, gobject-introspection }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (python3Packages) buildPythonApplication isPy3k dbus-python pygobject3 mpd2 setuptools;
|
inherit (python3Packages) buildPythonApplication isPy3k dbus-python pygobject3 mpd2 setuptools;
|
||||||
@ -16,13 +16,30 @@ in buildPythonApplication rec {
|
|||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
nativeBuildInputs = [ wrapGAppsHook gettext ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [
|
gettext
|
||||||
gnome3.adwaita-icon-theme
|
gobject-introspection
|
||||||
gsettings-desktop-schemas
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
# Otherwise the setup hook for gsettings-desktop-schemas is not run:
|
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 gobject-introspection is not run:
|
||||||
# https://github.com/NixOS/nixpkgs/issues/56943
|
# https://github.com/NixOS/nixpkgs/issues/56943
|
||||||
strictDeps = false;
|
strictDeps = false;
|
||||||
|
|
||||||
@ -31,14 +48,6 @@ in buildPythonApplication rec {
|
|||||||
sed -i '/localmpd/d' sonata/consts.py
|
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 = {
|
meta = {
|
||||||
description = "An elegant client for the Music Player Daemon";
|
description = "An elegant client for the Music Player Daemon";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user