1 { lib, stdenv, fetchFromGitHub, git, perl }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
10 rev = "${pname}-${version}";
11 sha256 = "sha256-K0X1DGc1LQsoteUhoHLxVJRrZaaPLKSSF61OKyGB5Qg=";
14 makeFlags = [ "prefix=${placeholder "out"}" ];
16 nativeBuildInputs = [ perl git ];
19 install -Dm644 README -t "$out/share/doc/${pname}-${version}/"
20 install -Dm755 contrib/tg-completion.bash -t "$out/share/bash-completion/completions/"
24 description = "TopGit manages large amount of interdependent topic branches";
26 homepage = "https://github.com/mackyle/topgit";
27 license = licenses.gpl2;
28 platforms = platforms.unix;
29 maintainers = with maintainers; [ marcweber ];