at 24.11-pre 28 lines 735 B view raw
1{fetchFromGitHub, lib, stdenv}: 2 3stdenv.mkDerivation { 4 pname = "git-cache"; 5 version = "2018-06-18"; 6 7 src = fetchFromGitHub { 8 owner = "Seb35"; 9 repo = "git-cache"; 10 rev = "354f661e40b358c5916c06957bd6b2c65426f452"; 11 hash = "sha256-V7rQOy+s9Lzdc+RTA2QGPfyavw4De/qQ+tWrzYtO2qA="; 12 }; 13 14 dontBuild = true; 15 16 installPhase = '' 17 install -Dm555 git-cache $out/bin/git-cache 18 ''; 19 20 meta = with lib; { 21 homepage = "https://github.com/Seb35/git-cache"; 22 license = licenses.wtfpl; 23 description = "A program to add and manage a system-wide or user-wide cache for remote git repositories"; 24 mainProgram = "git-cache"; 25 platforms = platforms.unix; 26 maintainers = with maintainers; [ maxhearnden ]; 27 }; 28}