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