2021-06-28 23:13:55 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2024-05-15 15:35:15 +00:00
|
|
|
, pythonOlder
|
|
|
|
, fetchFromGitHub
|
|
|
|
|
|
|
|
# build-system
|
|
|
|
, setuptools
|
|
|
|
|
|
|
|
# dependencies
|
2021-06-28 23:13:55 +00:00
|
|
|
, aiohttp
|
2024-05-15 15:35:15 +00:00
|
|
|
, incremental
|
|
|
|
|
|
|
|
# tests
|
|
|
|
, aioresponses
|
|
|
|
, pytest-aiohttp
|
|
|
|
, pytest-asyncio
|
|
|
|
, pytest-socket
|
|
|
|
, pytestCheckHook
|
|
|
|
, syrupy
|
2021-06-28 23:13:55 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aioazuredevops";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "2.0.0";
|
|
|
|
pyproject = true;
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
disabled = pythonOlder "3.11";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "timmo001";
|
|
|
|
repo = "aioazuredevops";
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-QEIVAcBoTvuOeLN2kfDa3uYfrUm5Qu1TLp9C0uU+mW4=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
build-system = [
|
|
|
|
incremental
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
dependencies = [
|
2021-06-28 23:13:55 +00:00
|
|
|
aiohttp
|
2024-05-15 15:35:15 +00:00
|
|
|
incremental
|
2021-06-28 23:13:55 +00:00
|
|
|
];
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
aioresponses
|
|
|
|
pytest-aiohttp
|
|
|
|
pytest-asyncio
|
|
|
|
pytest-socket
|
|
|
|
pytestCheckHook
|
|
|
|
syrupy
|
|
|
|
];
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"aioazuredevops.builds"
|
|
|
|
"aioazuredevops.client"
|
|
|
|
"aioazuredevops.core"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-05-15 15:35:15 +00:00
|
|
|
changelog = "https://github.com/timmo001/aioazuredevops/releases/tag/${version}";
|
2021-06-28 23:13:55 +00:00
|
|
|
description = "Get data from the Azure DevOps API";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "aioazuredevops";
|
2021-06-28 23:13:55 +00:00
|
|
|
homepage = "https://github.com/timmo001/aioazuredevops";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|