Commit bd969863 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.accuweather: 0.5.0 -> 0.5.1

parent 1cb47289
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