Loading pkgs/development/python-modules/ffmpy/default.nix +17 −11 Original line number Diff line number Diff line Loading @@ -24,7 +24,8 @@ buildPythonPackage rec { hash = "sha256-U20mBg+428kkka6NY9qc7X8jH8A5bKa++g2+PTn/MYg="; }; postPatch = '' postPatch = '' # default to store ffmpeg substituteInPlace ffmpy/ffmpy.py \ --replace-fail \ Loading @@ -35,6 +36,11 @@ buildPythonPackage rec { for fname in tests/*.py; do echo >>"$fname" 'FFmpeg.__init__.__defaults__ = ("ffmpeg", *FFmpeg.__init__.__defaults__[1:])' done '' # uv-build in nixpkgs is now at 0.8.0, which otherwise breaks the constraint set by the package. + '' substituteInPlace pyproject.toml \ --replace-fail 'requires = ["uv_build>=0.7.9,<0.8.0"]' 'requires = ["uv_build>=0.7.9,<0.9.0"]' ''; pythonImportsCheck = [ "ffmpy" ]; Loading Loading
pkgs/development/python-modules/ffmpy/default.nix +17 −11 Original line number Diff line number Diff line Loading @@ -24,7 +24,8 @@ buildPythonPackage rec { hash = "sha256-U20mBg+428kkka6NY9qc7X8jH8A5bKa++g2+PTn/MYg="; }; postPatch = '' postPatch = '' # default to store ffmpeg substituteInPlace ffmpy/ffmpy.py \ --replace-fail \ Loading @@ -35,6 +36,11 @@ buildPythonPackage rec { for fname in tests/*.py; do echo >>"$fname" 'FFmpeg.__init__.__defaults__ = ("ffmpeg", *FFmpeg.__init__.__defaults__[1:])' done '' # uv-build in nixpkgs is now at 0.8.0, which otherwise breaks the constraint set by the package. + '' substituteInPlace pyproject.toml \ --replace-fail 'requires = ["uv_build>=0.7.9,<0.8.0"]' 'requires = ["uv_build>=0.7.9,<0.9.0"]' ''; pythonImportsCheck = [ "ffmpy" ]; Loading