Skip to content

Commit

Permalink
transmit: init at 5.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
emilytrau committed Jul 7, 2023
1 parent 5cbff28 commit 522fac9
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pkgs/applications/networking/transmit/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
})
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 522fac9

Please sign in to comment.