Unverified Commit da6310f7 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #332717 from dotlambda/python3Packages.miniaudio

python312Packages.miniaudio: 1.60 -> 1.61
parents 4e20e8da 6d46564f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -24,14 +24,14 @@ let
in
buildPythonPackage rec {
  pname = "miniaudio";
  version = "1.60";
  version = "1.61";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "irmen";
    repo = "pyminiaudio";
    rev = "refs/tags/v${version}";
    hash = "sha256-Bw9zq98RJmfp6KoZ43SNsh7vVrhUe6GNzcM4flxPJ60=";
    hash = "sha256-H3o2IWGuMqLrJTzQ7w636Ito6f57WBtMXpXXzrZ7UD8=";
  };

  postPatch = ''
+4 −10
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ buildPythonPackage rec {

  postPatch = ''
    substituteInPlace setup.py \
      --replace "pytest-runner" ""
      --replace-fail "pytest-runner" ""
  '';

  pythonRelaxDeps = [
@@ -62,11 +62,9 @@ buildPythonPackage rec {
    "zeroconf"
  ];

  nativeBuildInputs = [
    setuptools
  ];
  build-system = [ setuptools ];

  propagatedBuildInputs = [
  dependencies = [
    aiohttp
    async-timeout
    chacha20poly1305-reuseable
@@ -93,11 +91,7 @@ buildPythonPackage rec {
  ];

  disabledTests =
    [
      # https://github.com/postlund/pyatv/issues/2307
      "test_zeroconf_service_published"
    ]
    ++ lib.optionals (pythonAtLeast "3.12") [
    lib.optionals (pythonAtLeast "3.12") [
      # https://github.com/postlund/pyatv/issues/2365
      "test_simple_dispatch"
    ]