Merge pull request #236776 from r-ryantm/auto-update/python310Packages.structlog

python310Packages.structlog: 22.3.0 -> 23.1.0

authored by Weijia Wang and committed by GitHub 308d41af e416d693

+16 -13
+16 -13
pkgs/development/python-modules/structlog/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , pythonOlder 5 - , pytestCheckHook 6 - , pytest-asyncio 7 - , pretend 8 4 , freezegun 9 5 , hatch-fancy-pypi-readme 10 6 , hatch-vcs 11 7 , hatchling 8 + , pretend 9 + , pytest-asyncio 10 + , pytestCheckHook 11 + , pythonAtLeast 12 + , pythonOlder 12 13 , simplejson 13 14 , typing-extensions 14 - , pythonAtLeast 15 15 }: 16 16 17 17 buildPythonPackage rec { 18 18 pname = "structlog"; 19 - version = "22.3.0"; 19 + version = "23.1.0"; 20 20 format = "pyproject"; 21 21 22 + disabled = pythonOlder "3.7"; 23 + 22 24 src = fetchFromGitHub { 23 25 owner = "hynek"; 24 26 repo = "structlog"; 25 27 rev = "refs/tags/${version}"; 26 - hash = "sha256-+r+M+uTXdNBWQf0TGQuZgsCXg2CBKwH8ZE2+uAe0Dzg="; 28 + hash = "sha256-0zHvBMiZB4cGntdYXA7C9V9+FfnDB6sHGuFRYAo/LJw="; 27 29 }; 30 + 31 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 28 32 29 33 nativeBuildInputs = [ 30 34 hatch-fancy-pypi-readme ··· 32 36 hatchling 33 37 ]; 34 38 35 - SETUPTOOLS_SCM_PRETEND_VERSION = version; 36 - 37 39 propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ 38 40 typing-extensions 39 41 ]; 40 42 41 - pythonImportsCheck = [ 42 - "structlog" 43 - ]; 44 - 45 43 nativeCheckInputs = [ 46 44 freezegun 47 45 pretend ··· 50 48 simplejson 51 49 ]; 52 50 51 + pythonImportsCheck = [ 52 + "structlog" 53 + ]; 54 + 53 55 meta = with lib; { 54 56 description = "Painless structural logging"; 55 57 homepage = "https://github.com/hynek/structlog"; 58 + changelog = "https://github.com/hynek/structlog/blob/${version}/CHANGELOG.md"; 56 59 license = licenses.asl20; 57 60 maintainers = with maintainers; [ ]; 58 61 };