Skip to content

Commit

Permalink
warp: add Darwin support
Browse files Browse the repository at this point in the history
  • Loading branch information
Atemu committed Sep 18, 2023
1 parent db9208a commit 58eb45b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion pkgs/applications/networking/warp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
, glib
, gtk4
, libadwaita
, Security
, Foundation
}:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -57,13 +59,16 @@ stdenv.mkDerivation rec {
glib
gtk4
libadwaita
] ++ lib.optionals stdenv.isDarwin [
Security
Foundation
];

meta = {
description = "Fast and secure file transfer";
homepage = "https://apps.gnome.org/app/app.drey.Warp";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ dotlambda foo-dogsquared ];
platforms = lib.platforms.linux;
platforms = lib.platforms.all;
};
}
4 changes: 3 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36527,7 +36527,9 @@ with pkgs;

waon = callPackage ../applications/audio/waon { };

warp = callPackage ../applications/networking/warp { };
warp = callPackage ../applications/networking/warp {
inherit (darwin.apple_sdk.frameworks) Security Foundation;
};

warpd = callPackage ../applications/misc/warpd { };

Expand Down

0 comments on commit 58eb45b

Please sign in to comment.