mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
python312Packages.pydeako: init at 0.5.4 (#352322)
This commit is contained in:
commit
9dfc088e3b
49
pkgs/development/python-modules/pydeako/default.nix
Normal file
49
pkgs/development/python-modules/pydeako/default.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -754,8 +754,9 @@
|
||||
];
|
||||
"deako" = ps: with ps; [
|
||||
ifaddr
|
||||
pydeako
|
||||
zeroconf
|
||||
]; # missing inputs: pydeako
|
||||
];
|
||||
"debugpy" = ps: with ps; [
|
||||
debugpy
|
||||
];
|
||||
@ -5126,6 +5127,7 @@
|
||||
"datadog"
|
||||
"date"
|
||||
"datetime"
|
||||
"deako"
|
||||
"debugpy"
|
||||
"deconz"
|
||||
"default_config"
|
||||
|
@ -11218,6 +11218,8 @@ self: super: with self; {
|
||||
|
||||
pydbus = callPackage ../development/python-modules/pydbus { };
|
||||
|
||||
pydeako = callPackage ../development/python-modules/pydeako { };
|
||||
|
||||
pydeck = callPackage ../development/python-modules/pydeck { };
|
||||
|
||||
pydeconz = callPackage ../development/python-modules/pydeconz { };
|
||||
|
Loading…
Reference in New Issue
Block a user