1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/desktops/mate/caja-dropbox/default.nix

34 lines
888 B
Nix
Raw Normal View History

2019-04-21 13:02:45 +01:00
{ stdenv, fetchurl, pkgconfig, gtk3, mate, python3Packages }:
2018-01-05 15:58:44 +00:00
stdenv.mkDerivation rec {
name = "caja-dropbox-${version}";
2019-04-21 13:02:45 +01:00
version = "1.22.0";
2018-01-05 15:58:44 +00:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2019-04-21 13:02:45 +01:00
sha256 = "1bnvqybsfrfxxvfchvpki77hg6r9vbpq0h80smc47rks5hzj6lyi";
2018-01-05 15:58:44 +00:00
};
nativeBuildInputs = [
pkgconfig
];
buildInputs = [
gtk3
mate.caja
2019-04-21 13:02:45 +01:00
python3Packages.python
python3Packages.pygtk
python3Packages.docutils
2018-01-05 15:58:44 +00:00
];
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 ];
};
}