mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-09 06:43:36 +00:00
Diff: https://github.com/k0rventen/avea/compare/v1.7.0...v1.8.0 Changelog: https://github.com/k0rventen/avea/releases/tag/v1.8.0
42 lines
864 B
Nix
42 lines
864 B
Nix
{
|
|
lib,
|
|
bleak-retry-connector,
|
|
bleak,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "avea";
|
|
version = "1.8.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "k0rventen";
|
|
repo = "avea";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-8jDKsEqYDUuB9L2M3da+6xvp6pP7TRHcZwy8w/fOesk=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
bleak
|
|
bleak-retry-connector
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "avea" ];
|
|
|
|
meta = {
|
|
description = "Python module for interacting with Elgato's Avea bulb";
|
|
homepage = "https://github.com/k0rventen/avea";
|
|
changelog = "https://github.com/k0rventen/avea/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|