Unverified Commit 2b3d8e0f authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #226188 from fabaff/accuweather-bump

python310Packages.accuweather: 0.5.0 -> 0.5.1
parents 44035091 bd969863
Loading
Loading
Loading
Loading
+3 −10
Original line number Diff line number Diff line
@@ -12,25 +12,18 @@

buildPythonPackage rec {
  pname = "accuweather";
  version = "0.5.0";
  version = "0.5.1";
  format = "setuptools";

  disabled = pythonOlder "3.8";
  disabled = pythonOlder "3.9";

  src = fetchFromGitHub {
    owner = "bieniu";
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-v4mFvW+p0g+5IeZT8o0Z60MafHyYZ62d4lNH27wlAeI=";
    hash = "sha256-kWhb9tDp7/p5iCXTpf4/fjSo1ceuA9I2eqSprt50rWU=";
  };

  postPatch = ''
    substituteInPlace setup.py \
      --replace "pytest-runner" ""
    substituteInPlace setup.cfg \
      --replace "--cov --cov-report term-missing" ""
  '';

  propagatedBuildInputs = [
    aiohttp
    orjson