nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 pkg-config,
6 gtk3,
7 thunar,
8 cmake,
9 ninja,
10 xfce,
11 gitUpdater,
12}:
13
14stdenv.mkDerivation rec {
15 pname = "thunar-dropbox";
16 version = "0.3.2";
17
18 src = fetchFromGitHub {
19 owner = "Jeinzi";
20 repo = "thunar-dropbox";
21 rev = version;
22 sha256 = "sha256-uYqO87ftEtnSRn/yMSF1jVGleYXR3hVj2Jb1/kAd64Y=";
23 };
24
25 nativeBuildInputs = [
26 pkg-config
27 cmake
28 ninja
29 ];
30
31 buildInputs = [
32 thunar
33 gtk3
34 ];
35
36 passthru.updateScript = gitUpdater { };
37
38 meta = with lib; {
39 homepage = "https://github.com/Jeinzi/thunar-dropbox";
40 description = "Plugin that adds context-menu items for Dropbox to Thunar";
41 license = licenses.gpl3Only;
42 platforms = platforms.linux;
43 teams = [ teams.xfce ];
44 };
45}