Merge pull request #333214 from dotlambda/python3Packages.aioazuredevops
python312Packages.aioazuredevops: fix pythonImportsCheck
This commit is contained in:
@@ -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 ];
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user