mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 10:44:36 +00:00
Diff: https://github.com/sander76/aio-powerview-api/compare/v3.4.0...v3.4.1 Changelog: https://github.com/sander76/aio-powerview-api/releases/tag/v3.4.1
42 lines
897 B
Nix
42 lines
897 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "aiopvapi";
|
|
version = "3.4.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sander76";
|
|
repo = "aio-powerview-api";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-JXQTxHWMg/biWEQssk4KCIcTJ1JOG+UIRBI8xw4WfJ8=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ aiohttp ];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "aiopvapi" ];
|
|
|
|
meta = {
|
|
description = "Python API for the PowerView API";
|
|
homepage = "https://github.com/sander76/aio-powerview-api";
|
|
changelog = "https://github.com/sander76/aio-powerview-api/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|