summary refs log tree commit diff
diff options
context:
space:
mode:
authorlegendofmiracles <legendofmiracles@protonmail.com>2021-11-05 16:41:28 -0600
committerlegendofmiracles <legendofmiracles@protonmail.com>2021-11-06 07:15:05 -0600
commit039e37580aa9e64424028d0c943697b343149f9b (patch)
tree311389727291a739829c0434a5e5ab2416183615
parent31f04fec3c4c993d75ea4c7243fbc57103525282 (diff)
downloadnixpkgs-039e37580aa9e64424028d0c943697b343149f9b.tar
nixpkgs-039e37580aa9e64424028d0c943697b343149f9b.tar.gz
nixpkgs-039e37580aa9e64424028d0c943697b343149f9b.tar.bz2
nixpkgs-039e37580aa9e64424028d0c943697b343149f9b.tar.lz
nixpkgs-039e37580aa9e64424028d0c943697b343149f9b.tar.xz
nixpkgs-039e37580aa9e64424028d0c943697b343149f9b.tar.zst
nixpkgs-039e37580aa9e64424028d0c943697b343149f9b.zip
git-aggregator: 1.8.1 -> 2.10, fixes build
-rw-r--r--pkgs/development/tools/git-aggregator/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/development/tools/git-aggregator/default.nix b/pkgs/development/tools/git-aggregator/default.nix
index a6599c667c8..9b2465366f6 100644
--- a/pkgs/development/tools/git-aggregator/default.nix
+++ b/pkgs/development/tools/git-aggregator/default.nix
@@ -1,17 +1,18 @@
-{ git, lib, python3Packages }:
+{ lib, git, python3Packages }:
 
 python3Packages.buildPythonApplication rec {
   pname = "git-aggregator";
-  version = "1.8.1";
+  version = "2.1.0";
 
   src = python3Packages.fetchPypi {
     inherit pname version;
-    hash = "sha256-LLsyhyhPmOOvPzwEEJwkhrDfBMFueA7kuDlnrqwr08k=";
+    sha256 = "sha256-79xNPzYP1j71sU5wZM5e2xTqQExqQEdxXPxbk4T/Scw=";
   };
 
   nativeBuildInputs = with python3Packages; [
     setuptools-scm
   ];
+
   propagatedBuildInputs = with python3Packages; [
     argcomplete
     colorama
@@ -25,13 +26,15 @@ python3Packages.buildPythonApplication rec {
   ];
 
   preCheck = ''
-    export HOME=`mktemp -d`
+    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.";
+    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 ];