Merge pull request #244333 from matthiasbeyer/add-git-backdate

git-backdate: init at 2023-07-19
This commit is contained in:
figsoda 2023-07-20 09:54:48 -04:00 committed by GitHub
commit 4eb7071907
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib, stdenv, fetchFromGitHub, git, python3 }:
stdenv.mkDerivation rec {
pname = "git-backdate";
version = "2023-07-19";
src = fetchFromGitHub {
owner = "rixx";
repo = pname;
rev = "8ba5a0eba04e5559be2e4b1b6e02e62b64ca4dd8";
sha256 = "sha256-91cEGQ0FtoiHEZHQ93jPFHF2vLoeQuBidykePFHtrsY=";
};
buildInputs = [
python3
];
installPhase = ''
runHook preInstall
install -Dm555 git-backdate -t $out/bin
runHook postInstall
'';
meta = with lib; {
description = "Backdate a commit or range of commit to a date or range of dates";
homepage = "https://github.com/rixx/git-backdate";
license = licenses.wtfpl;
maintainers = with maintainers; [ matthiasbeyer ];
};
}

View file

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