about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-05-22 16:32:57 +0200
committerGitHub <noreply@github.com>2021-05-22 16:32:57 +0200
commit34566ec1b9bf82b1642fbc3779785c7b47b6da61 (patch)
tree467116592e19b89bb17072082fe35d54bbb0156d /pkgs/development
parent2b5910ac631f755832381cdbdf7aa93f18d45d4e (diff)
parent72f225cad421242e7ac3767647c0239d22c6c755 (diff)
Merge pull request #124009 from lourkeur/init/git-aggregator
git-aggregator: init at 1.8.1
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/tools/git-aggregator/default.nix40
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/development/tools/git-aggregator/default.nix b/pkgs/development/tools/git-aggregator/default.nix
new file mode 100644
index 0000000000000..a6599c667c866
--- /dev/null
+++ b/pkgs/development/tools/git-aggregator/default.nix
@@ -0,0 +1,40 @@
+{ git, lib, python3Packages }:
+
+python3Packages.buildPythonApplication rec {
+  pname = "git-aggregator";
+  version = "1.8.1";
+
+  src = python3Packages.fetchPypi {
+    inherit pname version;
+    hash = "sha256-LLsyhyhPmOOvPzwEEJwkhrDfBMFueA7kuDlnrqwr08k=";
+  };
+
+  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
+  '';
+
+  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";
+  };
+}