Skip to content

Commit

Permalink
signalbackup-tools: 20240816 -> 20240830 (#338253)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao authored Sep 3, 2024
2 parents e1d313d + a76f741 commit 8119f87
Showing 1 changed file with 10 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -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
'';

buildInputs = [ openssl sqlite ];
nativeBuildInputs = [ cmake ];

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
Expand Down

0 comments on commit 8119f87

Please sign in to comment.