11 , gobject-introspection
15 version = "2024.04.17";
16 dropboxd = "${dropbox}/bin/dropbox";
19 pname = "dropbox-cli";
22 outputs = [ "out" "nautilusExtension" ];
25 url = "https://linux.dropbox.com/packages/nautilus-dropbox-${version}.tar.bz2";
26 hash = "sha256-pqCYzxaqR0f0CBaseT1Z436K47cIDQswYR1sK4Zj8sE=";
33 src = ./fix-cli-paths.patch;
43 # only for build, the install command also wants to use GTK through introspection
44 # but we are using Nix for installation so we will not need that.
45 (python3.withPackages (ps: with ps; [
58 "--with-nautilus-extension-dir=${placeholder "nautilusExtension"}/lib/nautilus/extension-4"
62 "EMBLEM_DIR=${placeholder "nautilusExtension"}/share/nautilus-dropbox/emblems"
66 homepage = "https://www.dropbox.com";
67 description = "Command line client for the dropbox daemon";
68 license = lib.licenses.gpl3Plus;
69 mainProgram = "dropbox";
70 maintainers = with lib.maintainers; [ ];
71 # NOTE: Dropbox itself only works on linux, so this is ok.
72 platforms = lib.platforms.linux;