about summary refs log tree commit diff
path: root/pkgs/applications/version-management/git-cache
diff options
context:
space:
mode:
authorMaxHearnden <maxoscarhearnden@gmail.com>2023-04-20 16:47:33 +0100
committerEmery Hemingway <ehmry@posteo.net>2023-11-26 16:55:31 +0200
commite4dcbbd247699caeb616b75ea708e24248d64911 (patch)
treec56758c0b692702d081ca1c51172355518da2960 /pkgs/applications/version-management/git-cache
parentd30a74b4e46fc6d6034e276a547c0ab95eadb476 (diff)
git-cache: init at 2018-06-18
Diffstat (limited to 'pkgs/applications/version-management/git-cache')
-rw-r--r--pkgs/applications/version-management/git-cache/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/git-cache/default.nix b/pkgs/applications/version-management/git-cache/default.nix
new file mode 100644
index 0000000000000..0286177ef2881
--- /dev/null
+++ b/pkgs/applications/version-management/git-cache/default.nix
@@ -0,0 +1,27 @@
+{fetchFromGitHub, lib, stdenv}:
+
+stdenv.mkDerivation rec {
+  pname = "git-cache";
+  version = "2018-06-18";
+
+  src = fetchFromGitHub {
+    owner = "Seb35";
+    repo = "git-cache";
+    rev = "354f661e40b358c5916c06957bd6b2c65426f452";
+    sha256 = "sha256-V7rQOy+s9Lzdc+RTA2QGPfyavw4De/qQ+tWrzYtO2qA=";
+  };
+
+  dontBuild = true;
+
+  installPhase = ''
+    install -Dm555 git-cache $out/bin/git-cache
+  '';
+
+  meta = with lib; {
+    homepage = "https://github.com/Seb35/git-cache";
+    license = lib.licenses.wtfpl;
+    description = "A program to add and manage a system-wide or user-wide cache for remote git repositories";
+    platforms = with platforms; linux ++ darwin;
+    maintainers = [];
+  };
+}