blob: 0da0cfa02b63069473de1a8aba8350ad9836621d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ stdenv, fetchFromGitHub, git, perl }:
stdenv.mkDerivation rec {
pname = "topgit";
version = "0.19.12";
src = fetchFromGitHub {
owner = "mackyle";
repo = "topgit";
rev = "${pname}-${version}";
sha256 = "1wvf8hmwwl7a2fr17cfs3pbxjccdsjw9ngzivxlgja0gvfz4hjd5";
};
makeFlags = [ "prefix=${placeholder "out"}" ];
nativeBuildInputs = [ perl git ];
postInstall = ''
install -Dm644 README -t"$out/share/doc/${pname}-${version}/"
install -Dm755 contrib/tg-completion.bash -t "$out/etc/bash_completion.d/"
'';
meta = with stdenv.lib; {
description = "TopGit manages large amount of interdependent topic branches";
homepage = "https://github.com/mackyle/topgit";
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ marcweber ];
};
}
|