git-relevant-history: init package at 2022-09-15 (#238952)

* git-relevant-history: init package at 2022-09-15
This commit is contained in:
Herwig Hochleitner 2023-06-26 14:09:24 +02:00 committed by GitHub
parent 29fb2e5f76
commit 79c340db2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib, fetchFromGitHub, python3, git, git-filter-repo }:
python3.pkgs.buildPythonApplication rec {
pname = "git-relevant-history";
version = "2022-09-15";
src = fetchFromGitHub {
owner = "rainlabs-eu";
repo = pname;
rev = "84552324d7cb4790db86282fc61bf98a05b7a4fd";
hash = "sha256-46a6TR1Hi3Lg2DTmOp1aV5Uhd4IukTojZkA3TVbTnRY=";
};
propagatedBuildInputs = [
git git-filter-repo
python3.pkgs.docopt
];
meta = with lib; {
description = "Extract only relevant history from git repo";
homepage = "https://github.com/rainlabs-eu/git-relevant-history";
license = licenses.asl20;
platforms = platforms.all;
maintainers = [ maintainers.bendlas ];
};
}

View File

@ -2105,6 +2105,8 @@ with pkgs;
util-linux = if stdenv.isLinux then util-linuxMinimal else util-linux;
};
git-relevant-history = callPackage ../applications/version-management/git-relevant-history { };
git-remote-codecommit = python3Packages.callPackage ../applications/version-management/git-remote-codecommit { };
gitRepo = git-repo;