hatch: 1.3.1 -> 1.6.3

https://github.com/pypa/hatch/blob/hatch-v1.6.3/docs/history.md#hatch
This commit is contained in:
Robert Schütz 2022-11-15 20:52:31 -08:00
parent 03db455ebc
commit b83b3f5a3e

View file

@ -7,22 +7,25 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "hatch"; pname = "hatch";
version = "1.3.1"; version = "1.6.3";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pypa"; owner = "pypa";
repo = "hatch"; repo = "hatch";
rev = "hatch-v${version}"; rev = "hatch-v${version}";
sha256 = "sha256-ftT86HX5CVbiHe5yzXT2gNl8Rx+f+fmiAJRnOuDpvYI="; hash = "sha256-3nPh6F+TmLoogz9FgaZMub7hPJIzANCY4oWk9Mq22Pc=";
}; };
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
click click
hatchling hatchling
httpx httpx
hyperlink
keyring keyring
packaging
pexpect pexpect
platformdirs
pyperclip pyperclip
rich rich
shellingham shellingham
@ -36,6 +39,7 @@ python3.pkgs.buildPythonApplication rec {
git git
pytestCheckHook pytestCheckHook
pytest-mock pytest-mock
pytest-xdist
]; ];
preCheck = '' preCheck = ''
@ -54,6 +58,7 @@ python3.pkgs.buildPythonApplication rec {
"test_editable_exact" "test_editable_exact"
"test_editable_exact_extra_dependencies" "test_editable_exact_extra_dependencies"
"test_editable_exact_force_include" "test_editable_exact_force_include"
"test_editable_exact_force_include_option"
"test_editable_exact_force_include_build_data_precedence" "test_editable_exact_force_include_build_data_precedence"
"test_editable_pth" "test_editable_pth"
# AssertionError: assert len(extract_installed_requirements(output.splitlines())) > 0 # AssertionError: assert len(extract_installed_requirements(output.splitlines())) > 0
@ -63,6 +68,7 @@ python3.pkgs.buildPythonApplication rec {
meta = with lib; { meta = with lib; {
description = "Modern, extensible Python project manager"; description = "Modern, extensible Python project manager";
homepage = "https://hatch.pypa.io/latest/"; homepage = "https://hatch.pypa.io/latest/";
changelog = "https://github.com/pypa/hatch/blob/${src.rev}/docs/history.md#hatch";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ onny ]; maintainers = with maintainers; [ onny ];
}; };