Commit afb1184e authored by aleksana's avatar aleksana
Browse files

git-backup: remove

parent 13993c73
Loading
Loading
Loading
Loading
+0 −1966

File deleted.

Preview size limit exceeded, changes collapsed.

+0 −34
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl, Security }:

rustPlatform.buildRustPackage rec {
  pname = "git-backup";
  version = "0.2.0";

  src = fetchFromGitHub {
    owner = "jsdw";
    repo = pname;
    rev = "v${version}";
    sha256 = "0h31j8clvk4gkw4mgva9p0ypf26zhf7f0y564fdmzyw6rsz9wzcj";
  };

  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 = "Tool to help you backup your git repositories from services like GitHub";
    license = licenses.mit;
    maintainers = with maintainers; [ cafkafk ];
    mainProgram = "git-backup";
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -467,6 +467,7 @@ mapAliases ({
  ghostwriter = libsForQt5.kdeGear.ghostwriter; # Added 2023-03-18
  go-dependency-manager = throw "'go-dependency-manager' is unmaintained and the go community now uses 'go.mod' mostly instead"; # Added 2023-10-04
  gotktrix = throw "'gotktrix' has been removed, as it was broken and unmaintained"; # Added 2023-12-06
  git-backup = throw "git-backup has been removed, as it has been abandoned upstream. Consider using git-backup-go instead.";
  git-credential-1password = throw "'git-credential-1password' has been removed, as the upstream project is deleted."; # Added 2024-05-20
  git-subset = throw "'git-subset' has been removed in favor of 'git-filter-repo'"; # Added 2023-01-13

+0 −4
Original line number Diff line number Diff line
@@ -2261,10 +2261,6 @@ with pkgs;
  git-backdate = callPackage ../applications/version-management/git-backdate { };
  git-backup = callPackage ../applications/version-management/git-backup {
    inherit (darwin.apple_sdk.frameworks) Security;
  };
  git-big-picture = callPackage ../applications/version-management/git-big-picture { };
  git-bars = callPackage ../applications/version-management/git-bars { };