diff options
Diffstat (limited to 'pkgs/applications/networking/cyberduck/default.nix')
-rw-r--r-- | pkgs/applications/networking/cyberduck/default.nix | 35 |
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; + }; +}) |