mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
4c4a2d38a1
Module used to discover and communicate with Deako devices over the network locally https://github.com/DeakoLights/pydeako
50 lines
1014 B
Nix
50 lines
1014 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
mock,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
zeroconf,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pydeako";
|
|
version = "0.5.4";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "DeakoLights";
|
|
repo = "pydeako";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-Z0H5VhWfjmvvCGTX//hds9dwk2wJSPXckNac1PkQZNA=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ zeroconf ];
|
|
|
|
# Module has no tests
|
|
#doCheck = false;
|
|
|
|
nativeCheckInputs = [
|
|
mock
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "pydeako" ];
|
|
|
|
meta = {
|
|
description = "Module used to discover and communicate with Deako devices over the network locally";
|
|
homepage = "https://github.com/DeakoLights/pydeako";
|
|
changelog = "https://github.com/DeakoLights/pydeako/releases/tag/${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|