2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
pythonOlder,
|
|
|
|
fetchFromGitHub,
|
2024-05-15 15:35:15 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
# build-system
|
|
|
|
setuptools,
|
2024-05-15 15:35:15 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
# dependencies
|
|
|
|
aiohttp,
|
|
|
|
incremental,
|
2024-05-15 15:35:15 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
# tests
|
|
|
|
aioresponses,
|
|
|
|
pytest-aiohttp,
|
|
|
|
pytest-asyncio,
|
|
|
|
pytest-socket,
|
|
|
|
pytestCheckHook,
|
|
|
|
syrupy,
|
2021-06-28 23:13:55 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aioazuredevops";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "2.2.0";
|
2024-05-15 15:35:15 +00:00
|
|
|
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}";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-1v58I9WOyyrp9n+qdvVeMZ3EObqP/06XCOZYS0nEvPU=";
|
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.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 ];
|
|
|
|
};
|
|
|
|
}
|