Merge pull request #231575 from figsoda/backup

git-backup: update Cargo.lock and unpin openssl
This commit is contained in:
Nick Cao
2023-05-13 13:41:47 +08:00
committed by GitHub
3 changed files with 1974 additions and 2 deletions
File diff suppressed because it is too large Load Diff
@@ -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";
-1
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;
};