about summary refs log tree commit diff
path: root/pkgs/applications/version-management/git-relevant-history
diff options
context:
space:
mode:
authorHerwig Hochleitner <herwig@bendlas.net>2023-06-26 14:09:24 +0200
committerGitHub <noreply@github.com>2023-06-26 14:09:24 +0200
commit79c340db2e2183a629a785d5c6876e1f7c5c8693 (patch)
treed9f6e8c74b78ec41336e889281042e7cea8dfe99 /pkgs/applications/version-management/git-relevant-history
parent29fb2e5f76873e7aa4a83718f84749e3265fd735 (diff)
downloadnixlib-79c340db2e2183a629a785d5c6876e1f7c5c8693.tar
nixlib-79c340db2e2183a629a785d5c6876e1f7c5c8693.tar.gz
nixlib-79c340db2e2183a629a785d5c6876e1f7c5c8693.tar.bz2
nixlib-79c340db2e2183a629a785d5c6876e1f7c5c8693.tar.lz
nixlib-79c340db2e2183a629a785d5c6876e1f7c5c8693.tar.xz
nixlib-79c340db2e2183a629a785d5c6876e1f7c5c8693.tar.zst
nixlib-79c340db2e2183a629a785d5c6876e1f7c5c8693.zip
git-relevant-history: init package at 2022-09-15 (#238952)
* git-relevant-history: init package at 2022-09-15
Diffstat (limited to 'pkgs/applications/version-management/git-relevant-history')
-rw-r--r--pkgs/applications/version-management/git-relevant-history/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/git-relevant-history/default.nix b/pkgs/applications/version-management/git-relevant-history/default.nix
new file mode 100644
index 000000000000..c4cb223d253b
--- /dev/null
+++ b/pkgs/applications/version-management/git-relevant-history/default.nix
@@ -0,0 +1,24 @@
+{ lib, fetchFromGitHub, python3, git, git-filter-repo }:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "git-relevant-history";
+  version = "2022-09-15";
+  src = fetchFromGitHub {
+    owner = "rainlabs-eu";
+    repo = pname;
+    rev = "84552324d7cb4790db86282fc61bf98a05b7a4fd";
+    hash = "sha256-46a6TR1Hi3Lg2DTmOp1aV5Uhd4IukTojZkA3TVbTnRY=";
+  };
+  propagatedBuildInputs = [
+    git git-filter-repo
+    python3.pkgs.docopt
+  ];
+
+  meta = with lib; {
+    description = "Extract only relevant history from git repo";
+    homepage = "https://github.com/rainlabs-eu/git-relevant-history";
+    license = licenses.asl20;
+    platforms = platforms.all;
+    maintainers = [ maintainers.bendlas ];
+  };
+}