about summary refs log tree commit diff
path: root/pkgs/applications/networking/cyberduck
diff options
context:
space:
mode:
authorEmily Trau <emily@downunderctf.com>2023-07-08 01:32:17 +1000
committerEmily Trau <emily@downunderctf.com>2023-07-08 01:32:17 +1000
commit68232d7e8d56c367550f120eba5dbc0fb0b58909 (patch)
treec9e33774ef692224375c207391fc4dbadb4f92e7 /pkgs/applications/networking/cyberduck
parent5cbff28ae66e5a98386bcbea29f5a7252c33c808 (diff)
cyberduck: init at 8.6.0.39818
Diffstat (limited to 'pkgs/applications/networking/cyberduck')
-rw-r--r--pkgs/applications/networking/cyberduck/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cyberduck/default.nix b/pkgs/applications/networking/cyberduck/default.nix
new file mode 100644
index 0000000000000..2fb9664437182
--- /dev/null
+++ b/pkgs/applications/networking/cyberduck/default.nix
@@ -0,0 +1,35 @@
+{ lib
+, stdenvNoCC
+, fetchurl
+, unzip
+}:
+stdenvNoCC.mkDerivation (finalAttrs: {
+  pname = "cyberduck";
+  version = "8.6.0.39818";
+
+  src = fetchurl {
+    url = "https://update.cyberduck.io/Cyberduck-${finalAttrs.version}.zip";
+    sha256 = "1iqq54n267lmmdlv8wmr9k461p49jindc1mn5wy742k08cqxc5ab";
+  };
+  dontUnpack = true;
+
+  nativeBuildInputs = [ unzip ];
+
+  installPhase = ''
+    runHook preInstall
+
+    mkdir -p $out/Applications
+    unzip -d $out/Applications $src
+
+    runHook postInstall
+  '';
+
+  meta = with lib; {
+    description = "Libre file transfer client for Mac and Windows";
+    homepage = "https://cyberduck.io";
+    license = licenses.gpl3Plus;
+    sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
+    maintainers = with maintainers; [ emilytrau Enzime ];
+    platforms = platforms.darwin;
+  };
+})