signalbackup-tools: 20240816 -> 20240830 (#338253)

This commit is contained in:
Nick Cao 2024-09-03 16:59:06 -04:00 committed by GitHub
commit 8119f8743a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,27 +1,24 @@
{ lib, stdenv, fetchFromGitHub, openssl, sqlite }: { lib, stdenv, fetchFromGitHub, cmake, darwin, openssl, sqlite }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "signalbackup-tools"; pname = "signalbackup-tools";
version = "20240816"; version = "20240830";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bepaald"; owner = "bepaald";
repo = "signalbackup-tools"; repo = "signalbackup-tools";
rev = version; rev = version;
hash = "sha256-8r3XpKqCR2ElfQnRuuBaDDIUwAASTTfGSihOounIVZQ="; hash = "sha256-d93f/kKOd7D7FdtgrhrJhQS1DxiUKsdcf2JuUTmRDrw=";
}; };
postPatch = '' nativeBuildInputs = [ cmake ];
patchShebangs BUILDSCRIPT_MULTIPROC.bash44
'';
buildInputs = [ openssl sqlite ]; buildInputs = [
openssl
buildPhase = '' sqlite
runHook preBuild ] ++ lib.optionals stdenv.isDarwin [
./BUILDSCRIPT_MULTIPROC.bash44${lib.optionalString stdenv.isDarwin " --config nixpkgs-darwin"} darwin.apple_sdk_11_0.frameworks.Security
runHook postBuild ];
'';
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall