mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-14 09:13:56 +00:00
48 lines
1.0 KiB
Nix
48 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
faker,
|
|
fetchFromGitHub,
|
|
pytest-aiohttp,
|
|
pytest-mock,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "aiolookin";
|
|
version = "1.0.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ANMalko";
|
|
repo = "aiolookin";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-G3/lUgV60CMLskUo83TlvLLIfJtu5DEz+94mdVI4OrI=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ aiohttp ];
|
|
|
|
doCheck = false; # all tests are async and no async plugin is configured
|
|
|
|
nativeCheckInputs = [
|
|
faker
|
|
pytest-aiohttp
|
|
pytest-mock
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "aiolookin" ];
|
|
|
|
meta = {
|
|
description = "Python client for interacting with LOOKin devices";
|
|
homepage = "https://github.com/ANMalko/aiolookin";
|
|
changelog = "https://github.com/ANMalko/aiolookin/blob/v${finalAttrs.version}/CHANGELOG.md";
|
|
license = with lib.licenses; [ mit ];
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|