blob: f5b71eba141a9636de5b735a3e9891991362811e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{ stdenv, fetchurl, substituteAll
, pkgconfig, gobject-introspection, gdk_pixbuf
, gtk3, mate, python3, dropbox }:
let
dropboxd = "${dropbox}/bin/dropbox";
in
stdenv.mkDerivation rec {
pname = "caja-dropbox";
version = "1.22.1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "18cnd3yw2ingvl38mhmfbl5k0kfg8pzcf2649j00i6v90cwiril5";
};
patches = [
(substituteAll {
src = ./fix-cli-paths.patch;
inherit dropboxd;
})
];
strictDeps = true;
nativeBuildInputs = [
pkgconfig
gobject-introspection
gdk_pixbuf
(python3.withPackages (ps: with ps; [
docutils
pygobject3
]))
];
buildInputs = [
gtk3
mate.caja
python3
];
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 ];
};
}
|