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