depot/third_party/nixpkgs/pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

47 lines
887 B
Nix

{ stdenv
, fetchFromGitHub
, pkgconfig
, gtk3
, thunar
, cmake
, ninja
, xfce
}:
stdenv.mkDerivation rec {
pname = "thunar-dropbox";
version = "0.3.1";
src = fetchFromGitHub {
owner = "Jeinzi";
repo = "thunar-dropbox";
rev = version;
sha256 = "1fshjvh542ffa8npfxv3cassgn6jclb2ix9ir997y4k0abzp1fxb";
};
nativeBuildInputs = [
pkgconfig
cmake
ninja
];
buildInputs = [
thunar
gtk3
];
enableParallelBuilding = true;
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.thunar-dropbox-plugin";
versionLister = xfce.gitLister src.meta.homepage;
};
meta = with stdenv.lib; {
homepage = "https://github.com/Jeinzi/thunar-dropbox";
description = "A plugin that adds context-menu items for Dropbox to Thunar";
license = licenses.gpl3;
platforms = platforms.linux;
};
}