caja-dropbox: init at 1.18.0

This commit is contained in:
José Romildo Malaquias 2018-01-05 13:58:44 -02:00 committed by Tuomas Tynkkynen
parent b1cc3eb48e
commit 800dbc2e4e
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ stdenv, fetchurl, pkgconfig, gtk3, caja, pythonPackages }:
stdenv.mkDerivation rec {
name = "caja-dropbox-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "0";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "18wd8abjaxa68n1yjmvh9az1m8lqa2wing73xdymz0d5gmxmk25g";
};
nativeBuildInputs = [
pkgconfig
];
buildInputs = [
gtk3
caja
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 ];
};
}

View file

@ -7,6 +7,7 @@ let
atril = callPackage ./atril { };
caja = callPackage ./caja { };
caja-dropbox = callPackage ./caja-dropbox { };
caja-extensions = callPackage ./caja-extensions { };
cajaWithExtensions = callPackage ./caja/cajaWithExtensions.nix {
extensions = [ caja-extensions ];