2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchFromGitHub
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, gtk3
|
|
|
|
, thunar
|
|
|
|
, cmake
|
|
|
|
, ninja
|
|
|
|
, xfce
|
2022-03-05 16:20:37 +00:00
|
|
|
, gitUpdater
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "thunar-dropbox";
|
|
|
|
version = "0.3.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Jeinzi";
|
|
|
|
repo = "thunar-dropbox";
|
|
|
|
rev = version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "sha256-q7tw/1JgEn9SyjH1KBZl0tintWJjd3ctUs4JUuCWULs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
cmake
|
|
|
|
ninja
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
thunar
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
passthru.updateScript = gitUpdater {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit pname version;
|
|
|
|
attrPath = "xfce.thunar-dropbox-plugin";
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/Jeinzi/thunar-dropbox";
|
|
|
|
description = "A plugin that adds context-menu items for Dropbox to Thunar";
|
2021-04-05 15:23:46 +00:00
|
|
|
license = licenses.gpl3Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
2021-12-19 01:06:50 +00:00
|
|
|
maintainers = with maintainers; [ ] ++ teams.xfce.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|