diff options
author | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-08-29 11:34:01 -0700 |
---|---|---|
committer | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-08-29 11:34:01 -0700 |
commit | a55496d2220cffa00802cf3d1dea6dcb5602ae45 (patch) | |
tree | 3a12be407d9621b68073e867603a0084df9bd37e | |
parent | 8f1fe3ca06e16b997a609850784aeb56469a8bc2 (diff) |
git-up: 1.6.1 -> 2.2.0
-rw-r--r-- | pkgs/applications/version-management/git-up/default.nix | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/pkgs/applications/version-management/git-up/default.nix b/pkgs/applications/version-management/git-up/default.nix index e4bd7e3ad8c10..7c0e6d53db0ad 100644 --- a/pkgs/applications/version-management/git-up/default.nix +++ b/pkgs/applications/version-management/git-up/default.nix @@ -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 |