Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 57 lines
Nix
at llvm-cleanup
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, ffmpeg-full, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "pydub"; version = "0.25.1"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "jiaaro"; repo = "pydub"; rev = "refs/tags/v${version}"; hash = "sha256-FTEMT47wPXK5i4ZGjTVAhI/NjJio3F2dbBZzYzClU3c="; };
patches = [ # Fix test assertions, https://github.com/jiaaro/pydub/pull/769 (fetchpatch { name = "fix-assertions.patch"; url = "https://github.com/jiaaro/pydub/commit/66c1bf7813ae8621a71484fdcdf609734c0d8efd.patch"; hash = "sha256-3OIzvTgGK3r4/s5y7izHvouB4uJEmjO6cgKvegtTf7A="; }) ];
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ ffmpeg-full pytestCheckHook ];
pythonImportsCheck = [ "pydub" "pydub.audio_segment" "pydub.playback" ];
pytestFlagsArray = [ "test/test.py" ];
meta = with lib; { description = "Manipulate audio with a simple and easy high level interface"; homepage = "http://pydub.com"; changelog = "https://github.com/jiaaro/pydub/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ ]; };}