git-aggregator: 1.8.1 -> 2.10, fixes build

This commit is contained in:
legendofmiracles 2021-11-05 16:41:28 -06:00
parent 31f04fec3c
commit 039e37580a
No known key found for this signature in database
GPG key ID: 19B082B3DEFE5451

View file

@ -1,17 +1,18 @@
{ git, lib, python3Packages }: { lib, git, python3Packages }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "git-aggregator"; pname = "git-aggregator";
version = "1.8.1"; version = "2.1.0";
src = python3Packages.fetchPypi { src = python3Packages.fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-LLsyhyhPmOOvPzwEEJwkhrDfBMFueA7kuDlnrqwr08k="; sha256 = "sha256-79xNPzYP1j71sU5wZM5e2xTqQExqQEdxXPxbk4T/Scw=";
}; };
nativeBuildInputs = with python3Packages; [ nativeBuildInputs = with python3Packages; [
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
argcomplete argcomplete
colorama colorama
@ -25,13 +26,15 @@ python3Packages.buildPythonApplication rec {
]; ];
preCheck = '' preCheck = ''
export HOME=`mktemp -d` export HOME="$(mktemp -d)"
git config --global user.name John git config --global user.name John
git config --global user.email john@localhost git config --global user.email john@localhost
git config --global init.defaultBranch master
git config --global pull.rebase false
''; '';
meta = with lib; { meta = with lib; {
description = "Manage the aggregation of git branches from different remotes to build a consolidated one."; description = "Manage the aggregation of git branches from different remotes to build a consolidated one";
homepage = "https://github.com/acsone/git-aggregator"; homepage = "https://github.com/acsone/git-aggregator";
license = licenses.agpl3Plus; license = licenses.agpl3Plus;
maintainers = with maintainers; [ lourkeur ]; maintainers = with maintainers; [ lourkeur ];