2018-02-13 23:44:07 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk3, mate, pythonPackages }:
|
2018-01-05 16:58:44 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "caja-dropbox-${version}";
|
2018-02-14 02:22:51 +01:00
|
|
|
version = "1.20.0";
|
2018-01-05 16:58:44 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-13 23:44:07 +01:00
|
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
2018-02-14 02:22:51 +01:00
|
|
|
sha256 = "0xjqcfi5n6hsfyw77blplkn30as0slkfzngxid1n6z7jz5yjq7vj";
|
2018-01-05 16:58:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
2018-02-13 23:44:07 +01:00
|
|
|
mate.caja
|
2018-01-05 16:58:44 +01:00
|
|
|
pythonPackages.python
|
|
|
|
pythonPackages.pygtk
|
|
|
|
pythonPackages.docutils
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [ "--with-caja-extension-dir=$$out/lib/caja/extensions-2.0" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Dropbox extension for Caja file manager";
|
|
|
|
homepage = https://github.com/mate-desktop/caja-dropbox;
|
|
|
|
license = with licenses; [ gpl3 cc-by-nd-30 ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|