forked from mirrors/nixpkgs
34 lines
888 B
Nix
34 lines
888 B
Nix
{ stdenv, fetchurl, pkgconfig, gtk3, mate, python3Packages }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "caja-dropbox-${version}";
|
|
version = "1.22.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
sha256 = "18cnd3yw2ingvl38mhmfbl5k0kfg8pzcf2649j00i6v90cwiril5";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
mate.caja
|
|
python3Packages.python
|
|
python3Packages.pygtk
|
|
python3Packages.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 ];
|
|
};
|
|
}
|