diff options
author | MaxHearnden <maxoscarhearnden@gmail.com> | 2023-04-20 16:47:33 +0100 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2023-11-26 16:55:31 +0200 |
commit | e4dcbbd247699caeb616b75ea708e24248d64911 (patch) | |
tree | c56758c0b692702d081ca1c51172355518da2960 /pkgs/applications/version-management/git-cache | |
parent | d30a74b4e46fc6d6034e276a547c0ab95eadb476 (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.nix | 27 |
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 = []; + }; +} |