diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2016-08-16 22:51:21 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-08-16 22:52:37 +0200 |
commit | 5a501bd828b19e9cef4589b3b9dc2852401a2882 (patch) | |
tree | 49be7194446f7258b197ff0f29fc00d8eb939f02 /pkgs/applications/audio/sonata | |
parent | 6b23bd99a31a450fede964206153ddd5ac76a22f (diff) |
Remove top-level dbus_python and pythonDBus.
See #11567. Furthermore, it renames pythonPackages.dbus to pythonPackages.dbus- python as that's the name upstream uses. There is a small rebuild but I couldn't figure out the actual cause.
Diffstat (limited to 'pkgs/applications/audio/sonata')
-rw-r--r-- | pkgs/applications/audio/sonata/default.nix | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/pkgs/applications/audio/sonata/default.nix b/pkgs/applications/audio/sonata/default.nix index e23a54043682e..2acafb0be6360 100644 --- a/pkgs/applications/audio/sonata/default.nix +++ b/pkgs/applications/audio/sonata/default.nix @@ -1,14 +1,11 @@ -{ pkgs, stdenv, fetchFromGitHub, pkgconfig, intltool, wrapGAppsHook, - python, buildPythonApplication, isPy3k, - gnome3, gtk3, gobjectIntrospection, - dbus, pygobject3, mpd2 }: +{ lib, stdenv, fetchFromGitHub, pkgconfig, intltool, wrapGAppsHook +, python3Packages, gnome3, gtk3, gobjectIntrospection}: -with pkgs.lib; - -buildPythonApplication rec { +let + inherit (python3Packages) buildPythonApplication python isPy3k dbus-python pygobject3 mpd2; +in buildPythonApplication rec { name = "sonata-${version}"; version = "1.7b1"; - namePrefix = ""; src = fetchFromGitHub { owner = "multani"; @@ -38,7 +35,7 @@ buildPythonApplication rec { # The optional tagpy dependency (for editing metadata) is not yet # included because it's difficult to build. - pythonPath = [ dbus pygobject3 mpd2 ]; + pythonPath = [ dbus-python pygobject3 mpd2 ]; meta = { description = "An elegant client for the Music Player Daemon"; |