Unverified Commit 84c36792 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #333214 from dotlambda/python3Packages.aioazuredevops

python312Packages.aioazuredevops: fix pythonImportsCheck
parents d7f5a4cc 1a95fb36
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ buildPythonPackage rec {
  version = "2.2.0";
  pyproject = true;

  disabled = pythonOlder "3.11";
  disabled = pythonOlder "3.12";

  src = fetchFromGitHub {
    owner = "timmo001";
@@ -53,15 +53,11 @@ buildPythonPackage rec {
    syrupy
  ];

  pythonImportsCheck = [
    "aioazuredevops.client"
    "aioazuredevops.core"
  ];
  pythonImportsCheck = [ "aioazuredevops" ];

  meta = with lib; {
    changelog = "https://github.com/timmo001/aioazuredevops/releases/tag/${version}";
    description = "Get data from the Azure DevOps API";
    mainProgram = "aioazuredevops";
    homepage = "https://github.com/timmo001/aioazuredevops";
    license = licenses.mit;
    maintainers = with maintainers; [ dotlambda ];
+10 −0
Original line number Diff line number Diff line
@@ -30,6 +30,16 @@ let
    # Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt

    (self: super: {
      aioazuredevops = super.aioazuredevops.overridePythonAttrs (old: rec {
        version = "2.1.1";
        src = fetchFromGitHub {
          owner = "timmo001";
          repo = "aioazuredevops";
          rev = "refs/tags/${version}";
          hash = "sha256-rnvWjsTRBoojsuNG3uSdBlyycE4XSrhgjmb77jy7fxY=";
        };
      });

      aioelectricitymaps = super.aioelectricitymaps.overridePythonAttrs (oldAttrs: rec {
        version = "0.4.0";
        src = fetchFromGitHub {