git-backup: update Cargo.lock and unpin openssl

This commit is contained in:
figsoda 2023-05-12 22:06:11 -04:00
parent 1e5e280dec
commit a826620712
3 changed files with 1974 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -11,12 +11,19 @@ rustPlatform.buildRustPackage rec {
sha256 = "0h31j8clvk4gkw4mgva9p0ypf26zhf7f0y564fdmzyw6rsz9wzcj";
};
cargoSha256 = "0lb53sk7rikmj365gvcvn1hq70d6dmhp0aj2dyipb2qasypqz5l3";
cargoLock = {
lockFile = ./Cargo.lock;
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
# update Cargo.lock to work with openssl 3
postPatch = ''
ln -sf ${./Cargo.lock} Cargo.lock
'';
meta = with lib; {
homepage = "https://github.com/jsdw/git-backup";
description = "A tool to help you backup your git repositories from services like GitHub";

View File

@ -1890,7 +1890,6 @@ with pkgs;
git-archive-all = python3.pkgs.callPackage ../applications/version-management/git-archive-all { };
git-backup = callPackage ../applications/version-management/git-backup {
openssl = openssl_1_1;
inherit (darwin.apple_sdk.frameworks) Security;
};