···6516651665176517 };
6518651865196519+ git-up = buildPythonPackage rec {
65206520+ version = "1.4.0";
65216521+ name = "git-up-${version}";
65226522+65236523+ src = pkgs.fetchFromGitHub {
65246524+ owner = "msiemens";
65256525+ repo = "PyGitUp";
65266526+ rev = "v${version}";
65276527+ sha256 = "1g7sxiqg6vxx2jlgg8pg9fqsk1xgvm80d7mcpw8i3mw7r835q4bi";
65286528+ };
65296529+65306530+ buildInputs = with self; [ pkgs.git nose ];
65316531+ propagatedBuildInputs = with self; [ colorama docopt GitPython six termcolor ];
65326532+65336533+ # git fails to run as it cannot detect the email address, so we set it
65346534+ # $HOME is by default not a valid dir, so we have to set that too
65356535+ # https://github.com/NixOS/nixpkgs/issues/12591
65366536+ preCheck = ''
65376537+ export HOME=$TMPDIR
65386538+ git config --global user.email "nobody@example.com"
65396539+ git config --global user.name "Nobody"
65406540+ '';
65416541+65426542+ meta = {
65436543+ homepage = http://github.com/msiemens/PyGitUp;
65446544+ description = "A git pull replacement that rebases all local branches when pulling.";
65456545+ license = licenses.mit;
65466546+ maintainers = with maintainers; [ peterhoeg ];
65476547+ };
65486548+ };
65496549+65196550 GitPython = buildPythonPackage rec {
65206551 version = "2.0.2";
65216552 name = "GitPython-${version}";