git.iko.soy/typeable/nixpkgs
on master help sign in
thunar-dropbox-plugin: fixup after #9935

Close #9935. I don't think it's good to split thunarx into a separate derivation in this way. We would have the library and associated stuff twice and two expressions, etc. Distributions do these things by an analogy to multiple-output derivation (Debian does, for example), so we could use that, but it doesn't seem important in this case and would be better after #7701 anyway.

commit735f0f2ca8b9da0791554a6335f2f0b1238ffad8 authorVladimír Čunát <vcunat@gmail.com> dateWed 23 Sep 2015, 19:12 (11 years ago) parent8d2e476
3 files changed+7−48
pkgs/desktops/xfce/core/thunarx-2-dev.nix−38 pkgs/desktops/xfce/default.nix+2−4 pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix+5−6
pkgs/desktops/xfce/core/thunarx-2-dev.nixdeleted−38
@@ -1,38 +0,0 @@
1−{ stdenv, fetchurl, pkgconfig, intltool
2−, gtk, dbus_glib, libstartup_notification, libnotify, libexif, pcre, udev
3−, exo, libxfce4util
4−, xfconf, libxfce4ui
5−}:
6−
7−stdenv.mkDerivation rec {
8− host_p_name = "thunar";
9− p_name = "thunarx-2-dev";
10− ver_maj = "1.6";
11− ver_min = "6";
12−
13− src = fetchurl {
14− url = "mirror://xfce/src/xfce/${host_p_name}/${ver_maj}/Thunar-${ver_maj}.${ver_min}.tar.bz2";
15− sha256 = "1cl9v3rdzipyyxml3pyrzspxfmmssz5h5snpj18irq4an42539dr";
16− };
17− name = "${p_name}-${ver_maj}.${ver_min}";
18−
19− preBuild = ''
20− cd thunarx
21− '';
22−
23− buildInputs = [
24− pkgconfig intltool
25− gtk dbus_glib libstartup_notification libnotify libexif pcre udev
26− exo libxfce4util
27− xfconf libxfce4ui
28− ];
29−
30− enableParallelBuilding = true;
31−
32− meta = {
33− homepage = http://thunar.xfce.org/;
34− description = "Thunar Extension Framework";
35− license = stdenv.lib.licenses.gpl2Plus;
36− platforms = stdenv.lib.platforms.linux;
37− };
38−}
pkgs/desktops/xfce/default.nix+2−4
@@ -25,11 +25,9 @@ xfce_self = rec { # the lines are very long but it seems better than the even-od
2525 libxfce4util = callPackage ./core/libxfce4util.nix { };
2626 libxfcegui4 = callPackage ./core/libxfcegui4.nix { };
2727 thunar = callPackage ./core/thunar.nix { };
28− thunarx-2-dev = callPackage ./core/thunarx-2-dev.nix { };
2928 thunar_volman = callPackage ./core/thunar-volman.nix { }; # ToDo: probably inside Thunar now
30− thunar_archive_plugin = callPackage ./core/thunar-archive-plugin.nix { };
31− thunar-dropbox-plugin
32− = callPackage ./thunar-plugins/dropbox { };
29+ thunar_archive_plugin = callPackage ./core/thunar-archive-plugin.nix { };
30+ thunar-dropbox-plugin = callPackage ./thunar-plugins/dropbox { };
3331 tumbler = callPackage ./core/tumbler.nix { };
3432 xfce4panel = callPackage ./core/xfce4-panel.nix { }; # ToDo: impure plugins from /run/current-system/sw/lib/xfce4
3533 xfce4session = callPackage ./core/xfce4-session.nix { };
pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix+5−6
@@ -1,6 +1,6 @@
11{ stdenv, fetchurl, pkgconfig
22, gtk
3−, thunarx-2-dev, python2
3+, thunar, python2
44}:
55
66stdenv.mkDerivation rec {
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 buildInputs = [
1818 pkgconfig
1919 gtk
20− thunarx-2-dev python2
20+ thunar python2
2121 ];
2222
2323 configurePhase = "python2 waf configure --prefix=$out";
@@ -30,13 +30,12 @@ stdenv.mkDerivation rec {
3030
3131 preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";
3232
33−
3433 enableParallelBuilding = true;
3534
36− meta = {
35+ meta = with stdenv.lib; {
3736 homepage = http://softwarebakery.com/maato/thunar-dropbox.html;
3837 description = "A plugin for thunar that adds context-menu items from dropbox";
39− license = stdenv.lib.licenses.gpl3;
40− platforms = stdenv.lib.platforms.linux;
38+ license = licenses.gpl3;
39+ platforms = platforms.linux;
4140 };
4241}