Merge pull request #252186 from tjni/git-up

git-up: 1.6.1 -> 2.2.0
This commit is contained in:
Arnout Engelen 2023-09-04 12:10:25 +02:00 committed by GitHub
commit 11e13f7250
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,26 +6,33 @@
pythonPackages.buildPythonApplication rec {
pname = "git-up";
version = "1.6.1";
version = "2.2.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "0gs791yb0cndg9879vayvcj329jwhzpk6wrf9ri12l5hg8g490za";
pname = "git_up";
inherit version;
hash = "sha256-GTX2IWLQ48yWfPnmtEa9HJ5umQLttqgTlgZQlaWgeE4=";
};
nativeBuildInputs = with pythonPackages; [
poetry-core
];
# git should be on path for tool to work correctly
propagatedBuildInputs = [
git
] ++ (with pythonPackages; [
click
colorama
docopt
gitpython
six
termcolor
]);
nativeCheckInputs = [ git pythonPackages.nose ]; # git needs to be on path
nativeCheckInputs = [
git
pythonPackages.pytestCheckHook
];
# 1. git fails to run as it cannot detect the email address, so we set it
# 2. $HOME is by default not a valid dir, so we have to set that too
# https://github.com/NixOS/nixpkgs/issues/12591