Files
nixpkgs/pkgs/by-name/gi/git-relevant-history/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

37 lines
905 B
Nix

{
lib,
fetchFromGitHub,
unstableGitUpdater,
python3,
git,
git-filter-repo,
}:
python3.pkgs.buildPythonApplication {
pname = "git-relevant-history";
version = "1.0.0-unstable-2022-09-15";
format = "setuptools";
src = fetchFromGitHub {
owner = "rainlabs-eu";
repo = "git-relevant-history";
rev = "84552324d7cb4790db86282fc61bf98a05b7a4fd";
hash = "sha256-46a6TR1Hi3Lg2DTmOp1aV5Uhd4IukTojZkA3TVbTnRY=";
};
propagatedBuildInputs = [
git
git-filter-repo
python3.pkgs.docopt
];
passthru.updateScript = unstableGitUpdater { tagPrefix = "v"; };
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 ];
mainProgram = "git-relevant-history";
};
}