1 {lib, stdenv, git, less, fetchFromGitHub, makeWrapper
2 # util-linuxMinimal is included because we need the column command
6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
14 sha256 = "1g8i6vpjnnfh7vc1269c91bap267w4bxdqqwnzb8x18vqgn2fx8i";
17 nativeBuildInputs = [ makeWrapper ];
23 cp git-recent $out/bin
24 wrapProgram $out/bin/git-recent \
25 --prefix PATH : "${lib.makeBinPath [ git less util-linux ]}"
29 homepage = "https://github.com/paulirish/git-recent";
30 description = "See your latest local git branches, formatted real fancy";
31 license = licenses.mit;
32 platforms = platforms.all;
33 maintainers = [ maintainers.jlesquembre ];
34 mainProgram = "git-recent";