From f661bfc59e2b223f4dc8ed23a95dd39f04ab1942 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 21 Jan 2026 18:36:47 +0100 Subject: [PATCH] python3Packages.py-multicodec: 0.2.1 -> 1.0.0 This commit was automatically generated using update-python-libraries. --- .../python-modules/py-multicodec/default.nix | 22 +++++-------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/py-multicodec/default.nix b/pkgs/development/python-modules/py-multicodec/default.nix index d28a2e8d1fe8..4ad4500bc54b 100644 --- a/pkgs/development/python-modules/py-multicodec/default.nix +++ b/pkgs/development/python-modules/py-multicodec/default.nix @@ -2,36 +2,26 @@ lib, buildPythonPackage, fetchFromGitHub, - morphys, pytestCheckHook, - six, + setuptools, varint, }: buildPythonPackage rec { pname = "py-multicodec"; - version = "0.2.1"; - format = "setuptools"; + version = "1.0.0"; + pyproject = true; src = fetchFromGitHub { owner = "multiformats"; repo = "py-multicodec"; tag = "v${version}"; - hash = "sha256-2aK+bfhqCMqSO+mtrHIfNQmQpQHpwd7yHseI/3O7Sp4="; + hash = "sha256-0s2ICkPkfF+D7HRrnPS2IRm380UhdVg5NCS7VFTP1P4="; }; - # Error when not substituting: - # Failed: [pytest] section in setup.cfg files is no longer supported, change to [tool:pytest] instead. - postPatch = '' - substituteInPlace setup.cfg \ - --replace "[pytest]" "[tool:pytest]" - substituteInPlace setup.py \ - --replace "'pytest-runner'," "" - ''; + build-system = [ setuptools ]; - propagatedBuildInputs = [ - morphys - six + dependencies = [ varint ];