summary refs log tree commit diff
diff options
context:
space:
mode:
authorLouis Bettens <louis@bettens.info>2021-05-22 12:17:05 +0200
committerLouis Bettens <louis@bettens.info>2021-05-22 13:40:23 +0200
commit72f225cad421242e7ac3767647c0239d22c6c755 (patch)
tree50e8c4f677cf8d4876dcadd9e75cfd7842953591
parent3a28f72e7b780ebe759cbc4919ea5504f5835110 (diff)
downloadnixpkgs-72f225cad421242e7ac3767647c0239d22c6c755.tar
nixpkgs-72f225cad421242e7ac3767647c0239d22c6c755.tar.gz
nixpkgs-72f225cad421242e7ac3767647c0239d22c6c755.tar.bz2
nixpkgs-72f225cad421242e7ac3767647c0239d22c6c755.tar.lz
nixpkgs-72f225cad421242e7ac3767647c0239d22c6c755.tar.xz
nixpkgs-72f225cad421242e7ac3767647c0239d22c6c755.tar.zst
nixpkgs-72f225cad421242e7ac3767647c0239d22c6c755.zip
git-aggregator: init at 1.8.1
-rw-r--r--pkgs/development/tools/git-aggregator/default.nix40
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 42 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 00000000000..a6599c667c8
--- /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";
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index edc547a7964..638a4b495eb 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -13130,6 +13130,8 @@ in
 
   gi-docgen = callPackage ../development/tools/documentation/gi-docgen { };
 
+  git-aggregator = callPackage ../development/tools/git-aggregator { };
+
   github-release = callPackage ../development/tools/github/github-release { };
 
   global = callPackage ../development/tools/misc/global { };