lol

Merge pull request #214619 from fabaff/python-box-bump

python310Packages.python-box: 6.1.0 -> 7.0.0

authored by

Fabian Affolter and committed by
GitHub
ed70c857 d840126a

+21 -3
+21 -3
pkgs/development/python-modules/python-box/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , msgpack 6 + , poetry-core 5 7 , pytestCheckHook 6 8 , pythonOlder 7 9 , pyyaml 8 10 , ruamel-yaml 11 + , setuptools 9 12 , toml 10 13 , tomli 11 14 , tomli-w ··· 13 16 14 17 buildPythonPackage rec { 15 18 pname = "python-box"; 16 - version = "6.1.0"; 17 - format = "setuptools"; 19 + version = "7.0.0"; 20 + format = "pyproject"; 18 21 19 22 disabled = pythonOlder "3.7"; 20 23 ··· 22 25 owner = "cdgriffith"; 23 26 repo = "Box"; 24 27 rev = "refs/tags/${version}"; 25 - hash = "sha256-42VDZ4aASFFWhRY3ApBQ4dq76eD1flZtxUM9hpA9iiI="; 28 + hash = "sha256-CvcVN5DTaT8mSf2FtFrt7DHP+YLbVI15/5Vjfmgae34="; 26 29 }; 27 30 31 + patches = [ 32 + # Switch to poetry-core, https://github.com/cdgriffith/Box/pull/247 33 + (fetchpatch { 34 + name = "switch-to-poetry-core.patch"; 35 + url = "https://github.com/cdgriffith/Box/commit/a43b98c5f5ff1074568dcef27cf17e7065d1019c.patch"; 36 + hash = "sha256-ul/MVSzgjN3D+Vuzn7YPITaDrtS58vDmA23hy1EVF9U="; 37 + }) 38 + ]; 39 + 40 + nativeBuildInputs = [ 41 + poetry-core 42 + setuptools 43 + ]; 44 + 28 45 passthru.optional-dependencies = { 29 46 all = [ 30 47 msgpack ··· 64 81 meta = with lib; { 65 82 description = "Python dictionaries with advanced dot notation access"; 66 83 homepage = "https://github.com/cdgriffith/Box"; 84 + changelog = "https://github.com/cdgriffith/Box/blob/${version}/CHANGES.rst"; 67 85 license = with licenses; [ mit ]; 68 86 maintainers = with maintainers; [ fab ]; 69 87 };