2015-09-19 05:07:26 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig
|
|
|
|
, gtk
|
2015-10-10 18:16:42 +02:00
|
|
|
, thunarx-2-dev, python2
|
2015-09-19 05:07:26 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
p_name = "thunar-dropbox-plugin";
|
|
|
|
ver_maj = "0.2";
|
|
|
|
ver_min = "1";
|
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://softwarebakery.com/maato/files/thunar-dropbox/thunar-dropbox-${ver_maj}.${ver_min}.tar.bz2";
|
|
|
|
sha256 = "08vhzzzwshyz371yl7fzfylmhvchhv3s5kml3dva4v39jhvrpnkf";
|
|
|
|
};
|
|
|
|
|
2017-09-14 21:24:37 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2015-09-19 05:07:26 +02:00
|
|
|
buildInputs = [
|
|
|
|
gtk
|
2015-10-10 18:16:42 +02:00
|
|
|
thunarx-2-dev python2
|
2015-09-19 05:07:26 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
configurePhase = "python2 waf configure --prefix=$out";
|
|
|
|
|
|
|
|
buildPhase = "python2 waf";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
python2 waf install
|
|
|
|
'';
|
|
|
|
|
|
|
|
preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2015-09-23 19:12:36 +02:00
|
|
|
meta = with stdenv.lib; {
|
2015-09-19 05:07:26 +02:00
|
|
|
homepage = http://softwarebakery.com/maato/thunar-dropbox.html;
|
|
|
|
description = "A plugin for thunar that adds context-menu items from dropbox";
|
2015-09-23 19:12:36 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2015-09-19 05:07:26 +02:00
|
|
|
};
|
|
|
|
}
|