mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
commit
5088f24ded
@ -6516,6 +6516,37 @@ in modules // {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
git-up = buildPythonPackage rec {
|
||||||
|
version = "1.4.0";
|
||||||
|
name = "git-up-${version}";
|
||||||
|
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "msiemens";
|
||||||
|
repo = "PyGitUp";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1g7sxiqg6vxx2jlgg8pg9fqsk1xgvm80d7mcpw8i3mw7r835q4bi";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = with self; [ pkgs.git nose ];
|
||||||
|
propagatedBuildInputs = with self; [ colorama docopt GitPython six termcolor ];
|
||||||
|
|
||||||
|
# git fails to run as it cannot detect the email address, so we set it
|
||||||
|
# $HOME is by default not a valid dir, so we have to set that too
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/12591
|
||||||
|
preCheck = ''
|
||||||
|
export HOME=$TMPDIR
|
||||||
|
git config --global user.email "nobody@example.com"
|
||||||
|
git config --global user.name "Nobody"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://github.com/msiemens/PyGitUp;
|
||||||
|
description = "A git pull replacement that rebases all local branches when pulling.";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ peterhoeg ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
GitPython = buildPythonPackage rec {
|
GitPython = buildPythonPackage rec {
|
||||||
version = "2.0.2";
|
version = "2.0.2";
|
||||||
name = "GitPython-${version}";
|
name = "GitPython-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user