From 4a5cddb1729fdcceaad1c36bb8f37681204010eb Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 24 Dec 2024 13:24:18 +0100 Subject: [PATCH] python312Packages.hatchling: 1.26.1 -> 1.27.0 Changelog: https://github.com/pypa/hatch/releases/tag/hatchling-v1.27.0 --- .../python-modules/hatchling/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/hatchling/default.nix b/pkgs/development/python-modules/hatchling/default.nix index 19daf7262e18..b66689bc07d7 100644 --- a/pkgs/development/python-modules/hatchling/default.nix +++ b/pkgs/development/python-modules/hatchling/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchPypi, + fetchFromGitHub, pythonOlder, # runtime @@ -21,17 +22,16 @@ buildPythonPackage rec { pname = "hatchling"; - version = "1.26.1"; - format = "pyproject"; - disabled = pythonOlder "3.8"; + version = "1.27.0"; + pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-jZVlkubF1d8fWRvh6XqUHHuexv0Dn0yGJMKVV7rANOk="; + hash = "sha256-lxwpbZgZq7OBERL8UsepdRyNOBiY82Uzuxb5eR6UH9Y="; }; # listed in backend/pyproject.toml - propagatedBuildInputs = [ + dependencies = [ editables packaging pathspec @@ -55,7 +55,7 @@ buildPythonPackage rec { ]; preCheck = '' - export HOME=$TMPDIR + export HOME=$(mktemp -d) ''; checkPhase = '' @@ -64,13 +64,13 @@ buildPythonPackage rec { runHook postCheck ''; - meta = with lib; { + meta = { description = "Modern, extensible Python build backend"; mainProgram = "hatchling"; homepage = "https://hatch.pypa.io/latest/"; changelog = "https://github.com/pypa/hatch/releases/tag/hatchling-v${version}"; - license = licenses.mit; - maintainers = with maintainers; [ + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ hexa ofek ];