3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.python-box: 7.0.0 -> 7.0.1

Diff: https://github.com/cdgriffith/Box/compare/refs/tags/7.0.0...7.0.1

Changelog: https://github.com/cdgriffith/Box/blob/7.0.1/CHANGES.rst
This commit is contained in:
Fabian Affolter 2023-02-22 11:52:52 +01:00
parent 1ec66a2e10
commit 4e0356c63e

View file

@ -1,7 +1,6 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, msgpack
, poetry-core
, pytestCheckHook
@ -16,8 +15,8 @@
buildPythonPackage rec {
pname = "python-box";
version = "7.0.0";
format = "pyproject";
version = "7.0.1";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -25,20 +24,10 @@ buildPythonPackage rec {
owner = "cdgriffith";
repo = "Box";
rev = "refs/tags/${version}";
hash = "sha256-CvcVN5DTaT8mSf2FtFrt7DHP+YLbVI15/5Vjfmgae34=";
hash = "sha256-Ddt8/S6HzmOt1kvzRzed3+TbOacw6RG9nd2UNn+ELB4=";
};
patches = [
# Switch to poetry-core, https://github.com/cdgriffith/Box/pull/247
(fetchpatch {
name = "switch-to-poetry-core.patch";
url = "https://github.com/cdgriffith/Box/commit/a43b98c5f5ff1074568dcef27cf17e7065d1019c.patch";
hash = "sha256-ul/MVSzgjN3D+Vuzn7YPITaDrtS58vDmA23hy1EVF9U=";
})
];
nativeBuildInputs = [
poetry-core
setuptools
];