···11+{ lib
22+, buildPythonPackage
33+, fetchFromGitHub
44+55+# dependencies
66+, einops
77+, numpy
88+, torch-bin
99+, torchaudio-bin
1010+}:
1111+1212+buildPythonPackage rec {
1313+ pname = "encodec";
1414+ version = "0.1.1";
1515+ format = "setuptools";
1616+1717+ src = fetchFromGitHub {
1818+ owner = "facebookresearch";
1919+ repo = "encodec";
2020+ rev = "v${version}";
2121+ hash = "sha256-+iJZkX1HoyuNFu9VRxMO6aAzNQybkH9lrQJ5Ao9+/CY=";
2222+ };
2323+2424+ propagatedBuildInputs = [
2525+ einops
2626+ numpy
2727+ torch-bin
2828+ torchaudio-bin
2929+ ];
3030+3131+ pythonImportsCheck = [ "encodec" ];
3232+3333+ # requires model data from the internet
3434+ doCheck = false;
3535+3636+ meta = with lib; {
3737+ description = "State-of-the-art deep learning based audio codec supporting both mono 24 kHz audio and stereo 48 kHz audio";
3838+ homepage = "https://github.com/facebookresearch/encodec";
3939+ changelog = "https://github.com/facebookresearch/encodec/blob/${src.rev}/CHANGELOG.md";
4040+ license = licenses.mit;
4141+ maintainers = with maintainers; [ hexa ];
4242+ };
4343+}
+6-3
pkgs/development/python-modules/wandb/default.nix
···256256 "tests/pytest_tests/unit_tests/test_lib/test_filesystem.py"
257257 ];
258258259259- # Disable test that fails on darwin due to issue with python3Packages.psutil:
260260- # https://github.com/giampaolo/psutil/issues/1219
261261- disabledTests = lib.optionals stdenv.isDarwin [
259259+ disabledTests = [
260260+ # Timing sensitive
261261+ "test_login_timeout"
262262+ ] ++ lib.optionals stdenv.isDarwin [
263263+ # Disable test that fails on darwin due to issue with python3Packages.psutil:
264264+ # https://github.com/giampaolo/psutil/issues/1219
262265 "test_tpu_system_stats"
263266 ];
264267