git-up: 1.6.1 -> 2.2.0

+14 -7
+14 -7
pkgs/applications/version-management/git-up/default.nix
··· 6 6 7 7 pythonPackages.buildPythonApplication rec { 8 8 pname = "git-up"; 9 - version = "1.6.1"; 9 + version = "2.2.0"; 10 + format = "pyproject"; 10 11 11 12 src = fetchPypi { 12 - inherit pname version; 13 - sha256 = "0gs791yb0cndg9879vayvcj329jwhzpk6wrf9ri12l5hg8g490za"; 13 + pname = "git_up"; 14 + inherit version; 15 + hash = "sha256-GTX2IWLQ48yWfPnmtEa9HJ5umQLttqgTlgZQlaWgeE4="; 14 16 }; 15 17 18 + nativeBuildInputs = with pythonPackages; [ 19 + poetry-core 20 + ]; 21 + 16 22 # git should be on path for tool to work correctly 17 23 propagatedBuildInputs = [ 18 24 git 19 25 ] ++ (with pythonPackages; [ 20 - click 21 26 colorama 22 - docopt 23 27 gitpython 24 - six 25 28 termcolor 26 29 ]); 27 30 28 - nativeCheckInputs = [ git pythonPackages.nose ]; # git needs to be on path 31 + nativeCheckInputs = [ 32 + git 33 + pythonPackages.pytestCheckHook 34 + ]; 35 + 29 36 # 1. git fails to run as it cannot detect the email address, so we set it 30 37 # 2. $HOME is by default not a valid dir, so we have to set that too 31 38 # https://github.com/NixOS/nixpkgs/issues/12591