Unverified Commit 699700ce authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #231575 from figsoda/backup

git-backup: update Cargo.lock and unpin openssl
parents bf0bab8f a8266207
Loading
Loading
Loading
Loading
+1966 −0

File added.

Preview size limit exceeded, changes collapsed.

+8 −1
Original line number Diff line number Diff line
@@ -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";
+0 −1
Original line number Diff line number Diff line
@@ -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;
  };