From a76f741b31c62bd060d9b68856937eb5e35ae994 Mon Sep 17 00:00:00 2001 From: Malo Bourgon Date: Thu, 29 Aug 2024 12:32:41 -0700 Subject: [PATCH] signalbackup-tools: 20240816 -> 20240830 Diff: https://github.com/bepaald/signalbackup-tools/compare/20240816...20240830 --- .../signalbackup-tools/default.nix | 23 ++++++++----------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix b/pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix index 0b226e78d40b..6cc2cc3d401c 100644 --- a/pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix +++ b/pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix @@ -1,27 +1,24 @@ -{ lib, stdenv, fetchFromGitHub, openssl, sqlite }: +{ lib, stdenv, fetchFromGitHub, cmake, darwin, openssl, sqlite }: stdenv.mkDerivation rec { pname = "signalbackup-tools"; - version = "20240816"; + version = "20240830"; src = fetchFromGitHub { owner = "bepaald"; repo = "signalbackup-tools"; rev = version; - hash = "sha256-8r3XpKqCR2ElfQnRuuBaDDIUwAASTTfGSihOounIVZQ="; + hash = "sha256-d93f/kKOd7D7FdtgrhrJhQS1DxiUKsdcf2JuUTmRDrw="; }; - postPatch = '' - patchShebangs BUILDSCRIPT_MULTIPROC.bash44 - ''; + nativeBuildInputs = [ cmake ]; - buildInputs = [ openssl sqlite ]; - - buildPhase = '' - runHook preBuild - ./BUILDSCRIPT_MULTIPROC.bash44${lib.optionalString stdenv.isDarwin " --config nixpkgs-darwin"} - runHook postBuild - ''; + buildInputs = [ + openssl + sqlite + ] ++ lib.optionals stdenv.isDarwin [ + darwin.apple_sdk_11_0.frameworks.Security + ]; installPhase = '' runHook preInstall