From 41c50f2587671a9bd5059012c5f34646be829885 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 14 Sep 2022 23:36:06 +0200 Subject: [PATCH] python3Packages.configparser: 5.2.0 -> 5.3.0 --- .../python-modules/configparser/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/configparser/default.nix b/pkgs/development/python-modules/configparser/default.nix index 9467003e9dd9..3c130acdc2fc 100644 --- a/pkgs/development/python-modules/configparser/default.nix +++ b/pkgs/development/python-modules/configparser/default.nix @@ -1,26 +1,27 @@ -{ lib, stdenv, buildPythonPackage, fetchPypi, setuptools-scm }: +{ lib, stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, setuptools-scm }: buildPythonPackage rec { pname = "configparser"; - version = "5.2.0"; + version = "5.3.0"; + format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "1b35798fdf1713f1c3139016cfcbc461f09edbf099d1fb658d4b7479fcaa3daa"; + sha256 = "sha256-i+JngktUHAmwjbEkkX9Iq1JabD6DcBHzEweBoiTFcJA="; }; - # No tests available - doCheck = false; - nativeBuildInputs = [ setuptools-scm ]; + checkInputs = [ pytestCheckHook ]; + preConfigure = '' export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8 ''; meta = with lib; { description = "Updated configparser from Python 3.7 for Python 2.6+."; - license = licenses.mit; homepage = "https://github.com/jaraco/configparser"; + license = licenses.mit; + maintainers = with maintainers; [ ]; }; }