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