7 stdenv.mkDerivation (finalAttrs: {
8 pname = "signal-desktop";
12 url = "https://updates.signal.org/desktop/signal-desktop-mac-universal-${finalAttrs.version}.dmg";
13 hash = "sha256-R/NYPb7bvLbyDYntw2K75SC1/sqNO7HAJ3QUwGThvUg=";
17 nativeBuildInputs = [ _7zz ];
24 mkdir -p $out/Applications
25 cp -r Signal.app $out/Applications
31 updateScript.command = [ ./update.sh ];
35 description = "Private, simple, and secure messenger";
37 Signal Desktop is an Electron application that links with your
38 "Signal Android" or "Signal iOS" app.
40 homepage = "https://signal.org/";
41 downloadPage = "https://signal.org/download/macos/";
42 changelog = "https://github.com/signalapp/Signal-Desktop/releases/tag/v${finalAttrs.version}";
43 license = with lib.licenses; [
46 # Various npm packages
49 # has non-redistributable Apple emoji packaged, see main derivation
52 maintainers = with lib.maintainers; [ nickhu ];
59 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];