From e4dcbbd247699caeb616b75ea708e24248d64911 Mon Sep 17 00:00:00 2001 From: MaxHearnden Date: Thu, 20 Apr 2023 16:47:33 +0100 Subject: [PATCH] git-cache: init at 2018-06-18 --- .../version-management/git-cache/default.nix | 27 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/applications/version-management/git-cache/default.nix 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 000000000000..0286177ef288 --- /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 = []; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8b6287eb5199..63aba0a760f9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2310,6 +2310,8 @@ with pkgs; git-bug-migration = callPackage ../applications/version-management/git-bug-migration { }; + git-cache = callPackage ../applications/version-management/git-cache { }; + git-chglog = callPackage ../applications/version-management/git-chglog { }; git-cinnabar = callPackage ../applications/version-management/git-cinnabar {