python310Packages.cattrs: 22.2.0 -> 23.1.2

Diff: https://github.com/python-attrs/cattrs/compare/v22.2.0...v23.1.2

Changelog: https://github.com/python-attrs/cattrs/blob/v23.1.2/HISTORY.md
This commit is contained in:
natsukium 2023-08-02 00:06:18 +09:00 committed by Yt
parent 29bbabc5f5
commit ce2c71c6b3

View file

@ -1,6 +1,7 @@
{ lib { lib
, attrs , attrs
, buildPythonPackage , buildPythonPackage
, cbor2
, fetchFromGitHub , fetchFromGitHub
, exceptiongroup , exceptiongroup
, hypothesis , hypothesis
@ -20,7 +21,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "cattrs"; pname = "cattrs";
version = "22.2.0"; version = "23.1.2";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -29,7 +30,7 @@ buildPythonPackage rec {
owner = "python-attrs"; owner = "python-attrs";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-Qnrq/mIA/t0mur6IAen4vTmMIhILWS6v5nuf+Via2hA="; hash = "sha256-YO4Clbo5fmXbysxwwM2qCHJwO5KwDC05VctRVFruJcw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -40,11 +41,11 @@ buildPythonPackage rec {
attrs attrs
] ++ lib.optionals (pythonOlder "3.11") [ ] ++ lib.optionals (pythonOlder "3.11") [
exceptiongroup exceptiongroup
] ++ lib.optionals (pythonOlder "3.7") [
typing-extensions typing-extensions
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
cbor2
hypothesis hypothesis
immutables immutables
motor motor
@ -54,6 +55,7 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
pyyaml pyyaml
tomlkit tomlkit
typing-extensions
ujson ujson
]; ];