From 2fcff51cab8c71a33020db38bf6c80ba4a241d11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 1 Jun 2022 19:56:59 +0200 Subject: [PATCH] python310Packages.bracex: 2.2.1 -> 2.3.post1 --- .../python-modules/bracex/default.nix | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/bracex/default.nix b/pkgs/development/python-modules/bracex/default.nix index 176385bceca3..d5f080d8d4f6 100644 --- a/pkgs/development/python-modules/bracex/default.nix +++ b/pkgs/development/python-modules/bracex/default.nix @@ -1,14 +1,26 @@ -{ lib, buildPythonPackage, fetchPypi, pytestCheckHook }: +{ lib +, buildPythonPackage +, fetchPypi +, hatchling +, pytestCheckHook +, pythonOlder +}: buildPythonPackage rec { pname = "bracex"; - version = "2.2.1"; + version = "2.3.post1"; + format = "pyproject"; + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "1c8d1296e00ad9a91030ccb4c291f9e4dc7c054f12c707ba3c5ff3e9a81bcd21"; + sha256 = "sha256-57I/yLLNBtPewGkrqr7LJJ3alOBqYXkB/wOmxW/XFpM="; }; + nativeBuildInputs = [ + hatchling + ]; + checkInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "bracex" ];