Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 16bd66818a10
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2fc0ff34a416
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Aug 13, 2019

  1. gitAndTools.topgit: 0.9 -> 0.19.12

    Jonathan Ringer committed Aug 13, 2019
    Copy the full SHA
    4e19dfc View commit details
  2. Merge pull request #66562 from jonringer/bump-topgit

    gitAndTools.topgit: 0.9 -> 0.19.12
    mmahut authored Aug 13, 2019
    Copy the full SHA
    2fc0ff3 View commit details
Showing with 18 additions and 14 deletions.
  1. +18 −14 pkgs/applications/version-management/git-and-tools/topgit/default.nix
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
{ stdenv, fetchurl }:
{ stdenv, fetchFromGitHub, git, perl }:

stdenv.mkDerivation rec {
name = "topgit-0.9";
pname = "topgit";
version = "0.19.12";

src = fetchurl {
url = "https://github.com/greenrd/topgit/archive/${name}.tar.gz";
sha256 = "1z9x42a0cmn8n2n961qcfl522nd6j9a3dpx1jbqfp24ddrk5zd94";
src = fetchFromGitHub {
owner = "mackyle";
repo = "topgit";
rev = "${pname}-${version}";
sha256 = "1wvf8hmwwl7a2fr17cfs3pbxjccdsjw9ngzivxlgja0gvfz4hjd5";
};

configurePhase = "makeFlags=prefix=$out";
makeFlags = [ "prefix=${placeholder "out"}" ];

nativeBuildInputs = [ perl git ];

postInstall = ''
mkdir -p "$out/share/doc/${name}" "$out/etc/bash_completion.d/"
mv README "$out/share/doc/${name}/"
mv contrib/tg-completion.bash "$out/etc/bash_completion.d/"
install -Dm644 README -t"$out/share/doc/${pname}-${version}/"
install -Dm755 contrib/tg-completion.bash -t "$out/etc/bash_completion.d/"
'';

meta = {
homepage = https://github.com/greenrd/topgit;
meta = with stdenv.lib; {
description = "TopGit manages large amount of interdependent topic branches";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ marcweber ];
homepage = "https://github.com/mackyle/topgit";
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ marcweber ];
};
}