mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 12:53:54 +00:00
d994dabace
We do not use a "plugin system" for Git addons anymore, and therefore this directory is no longer useful. Indeed that directory is way more confusing, given that it includes more than mere Git addons, going from Bitbucket server command-line tools to complete rewrites of Git in exotic programming languages. Also, without this directory, the mental load of decision-making reduces a lot. When anyone is interested in including a new git-related tool, just put it into pkgs/applications/version-management, without apologies.
44 lines
1.0 KiB
Nix
44 lines
1.0 KiB
Nix
{ lib, git, python3Packages }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "git-aggregator";
|
|
version = "2.1.0";
|
|
|
|
src = python3Packages.fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-79xNPzYP1j71sU5wZM5e2xTqQExqQEdxXPxbk4T/Scw=";
|
|
};
|
|
|
|
nativeBuildInputs = with python3Packages; [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
argcomplete
|
|
colorama
|
|
git
|
|
kaptan
|
|
requests
|
|
];
|
|
|
|
checkInputs = [
|
|
git
|
|
];
|
|
|
|
preCheck = ''
|
|
export HOME="$(mktemp -d)"
|
|
git config --global user.name John
|
|
git config --global user.email john@localhost
|
|
git config --global init.defaultBranch master
|
|
git config --global pull.rebase false
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Manage the aggregation of git branches from different remotes to build a consolidated one";
|
|
homepage = "https://github.com/acsone/git-aggregator";
|
|
license = licenses.agpl3Plus;
|
|
maintainers = with maintainers; [ lourkeur ];
|
|
mainProgram = "gitaggregate";
|
|
};
|
|
}
|