diff --git a/pkgs/development/python-modules/dvc-s3/default.nix b/pkgs/development/python-modules/dvc-s3/default.nix index e6a18d59f272..d85b3ecf9d52 100644 --- a/pkgs/development/python-modules/dvc-s3/default.nix +++ b/pkgs/development/python-modules/dvc-s3/default.nix @@ -13,12 +13,13 @@ buildPythonPackage rec { pname = "dvc-s3"; - version = "3.1.0"; + version = "3.2.0"; pyproject = true; src = fetchPypi { - inherit pname version; - hash = "sha256-0yD5FsinQat3cbmY5teClFS0KEGUvED2Ah/JCbTtZ/s="; + pname = "dvc_s3"; + inherit version; + hash = "sha256-HQEqwdzkdlmYb5GBI7SJMc+bNCmrC0oi/UsCRIGFzrY="; }; # Prevent circular dependency @@ -26,15 +27,19 @@ buildPythonPackage rec { # dvc-s3 uses boto3 directly, we add in propagatedBuildInputs postPatch = '' - substituteInPlace setup.cfg --replace 'aiobotocore[boto3]' 'aiobotocore' + substituteInPlace pyproject.toml \ + --replace-fail "aiobotocore[boto3]" "aiobotocore" ''; - nativeBuildInputs = [ + build-system = [ setuptools-scm + ]; + + nativeBuildInputs = [ pythonRelaxDepsHook ]; - propagatedBuildInputs = [ + dependencies = [ aiobotocore boto3 dvc-objects