From 522fac92c4abcfcf5c0c118a252b895a2fb35d5d Mon Sep 17 00:00:00 2001 From: Emily Trau Date: Fri, 7 Jul 2023 20:02:18 +1000 Subject: [PATCH] transmit: init at 5.9.2 --- .../networking/transmit/default.nix | 36 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/applications/networking/transmit/default.nix diff --git a/pkgs/applications/networking/transmit/default.nix b/pkgs/applications/networking/transmit/default.nix new file mode 100644 index 0000000000000..e6254e8100af7 --- /dev/null +++ b/pkgs/applications/networking/transmit/default.nix @@ -0,0 +1,36 @@ +{ lib +, stdenvNoCC +, fetchurl +, unzip +}: +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "transmit"; + version = "5.9.2"; + + src = fetchurl { + url = "https://www.panic.com/transmit/d/Transmit%20${finalAttrs.version}.zip"; + sha256 = "17d2a1n1c1048ln86bv8h4jhk6qsi2jdsdqy628kzrk4pm8174px"; + }; + dontUnpack = true; + + nativeBuildInputs = [ unzip ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/Applications + unzip -d $out/Applications $src + + runHook postInstall + ''; + dontPatchShebangs = true; + + meta = with lib; { + description = "macOS file transfer application"; + homepage = "https://panic.com/transmit"; + license = licenses.unfree; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; + maintainers = with maintainers; [ emilytrau Enzime ]; + platforms = platforms.darwin; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e6fac932b6418..07cbaa1eecb40 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13494,6 +13494,8 @@ with pkgs; translatepy = with python3.pkgs; toPythonApplication translatepy; + transmit = libsForQt5.callPackage ../applications/networking/transmit { }; + trash-cli = callPackage ../tools/misc/trash-cli { }; trashy = callPackage ../tools/misc/trashy { };