Merge pull request #15751 from peterhoeg/git-up

git-up: init at 1.4.0

authored by

Frederik Rietdijk and committed by
GitHub
5088f24d b714fdb5

+31
+31
pkgs/top-level/python-packages.nix
··· 6516 6516 6517 6517 }; 6518 6518 6519 + git-up = buildPythonPackage rec { 6520 + version = "1.4.0"; 6521 + name = "git-up-${version}"; 6522 + 6523 + src = pkgs.fetchFromGitHub { 6524 + owner = "msiemens"; 6525 + repo = "PyGitUp"; 6526 + rev = "v${version}"; 6527 + sha256 = "1g7sxiqg6vxx2jlgg8pg9fqsk1xgvm80d7mcpw8i3mw7r835q4bi"; 6528 + }; 6529 + 6530 + buildInputs = with self; [ pkgs.git nose ]; 6531 + propagatedBuildInputs = with self; [ colorama docopt GitPython six termcolor ]; 6532 + 6533 + # git fails to run as it cannot detect the email address, so we set it 6534 + # $HOME is by default not a valid dir, so we have to set that too 6535 + # https://github.com/NixOS/nixpkgs/issues/12591 6536 + preCheck = '' 6537 + export HOME=$TMPDIR 6538 + git config --global user.email "nobody@example.com" 6539 + git config --global user.name "Nobody" 6540 + ''; 6541 + 6542 + meta = { 6543 + homepage = http://github.com/msiemens/PyGitUp; 6544 + description = "A git pull replacement that rebases all local branches when pulling."; 6545 + license = licenses.mit; 6546 + maintainers = with maintainers; [ peterhoeg ]; 6547 + }; 6548 + }; 6549 + 6519 6550 GitPython = buildPythonPackage rec { 6520 6551 version = "2.0.2"; 6521 6552 name = "GitPython-${version}";