Unverified Commit 183d4603 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python312Packages.glances-api: 0.8.0 -> 0.9.0 (#352978)

parents a3f0dacb cafc21fb
Loading
Loading
Loading
Loading
+3 −11
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@

buildPythonPackage rec {
  pname = "glances-api";
  version = "0.8.0";
  version = "0.9.0";
  pyproject = true;

  disabled = pythonOlder "3.11";
@@ -22,17 +22,9 @@ buildPythonPackage rec {
    owner = "home-assistant-ecosystem";
    repo = "python-glances-api";
    rev = "refs/tags/${version}";
    hash = "sha256-QAnwFX53jf7yWWa308/XTARNw5Qeo9K2zfD+6+HiFuM=";
    hash = "sha256-VLsNMFFt+kMxNw/81OMX4Fg/xCbQloCURmV0OxvClq8=";
  };

  patches = [
    (fetchpatch2 {
      name = "pytest-httpx-compat.patch";
      url = "https://github.com/home-assistant-ecosystem/python-glances-api/commit/f193472a25469e7e4b946f9a1c3a7a95949c6c04.patch";
      hash = "sha256-hFeWv2WdbdeoaHgAOmwtBwWwPLjJzyurTZDV98qR7F8=";
    })
  ];

  build-system = [ poetry-core ];

  dependencies = [ httpx ];
@@ -49,7 +41,7 @@ buildPythonPackage rec {
    description = "Python API for interacting with Glances";
    homepage = "https://github.com/home-assistant-ecosystem/python-glances-api";
    changelog = "https://github.com/home-assistant-ecosystem/python-glances-api/releases/tag/${version}";
    license = with licenses; [ mit ];
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}