Merge pull request #201508 from dotlambda/hatch-1.6.3

This commit is contained in:
Martin Weinelt 2022-11-17 02:16:23 +01:00 committed by GitHub
commit 26d1b8d212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 4 deletions

View File

@ -20,7 +20,7 @@
let
pname = "hatchling";
version = "1.9.0";
version = "1.11.1";
in
buildPythonPackage {
inherit pname version;
@ -28,7 +28,7 @@ buildPythonPackage {
src = fetchPypi {
inherit pname version;
sha256 = "sha256-tXxzYvQ3uUJuS5QiiiHSrFgE+7KrywGt3iVEo1uzA80=";
hash = "sha256-n4Q2H3DPOnq5VDsMPsxkIR7SuopganHrakc8HJsI4dA=";
};
# listed in backend/src/hatchling/ouroboros.py
@ -72,6 +72,7 @@ buildPythonPackage {
meta = with lib; {
description = "Modern, extensible Python build backend";
homepage = "https://hatch.pypa.io/latest/";
changelog = "https://github.com/pypa/hatch/blob/hatchling-v${version}/docs/history.md#hatchling";
license = licenses.mit;
maintainers = with maintainers; [ hexa ofek ];
};

View File

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