Files
nixpkgs/pkgs/development/python-modules/aiopulse/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

45 lines
1.1 KiB
Nix

{
lib,
async-timeout,
buildPythonPackage,
fetchPypi,
pythonOlder,
hatchling,
}:
buildPythonPackage rec {
pname = "aiopulse";
version = "0.4.7";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-DM/zDFoTYgaW+o2YYv4bDAja5iwabIBfFJ7Yep4Fywc=";
};
build-system = [ hatchling ];
dependencies = [ async-timeout ];
# Tests are not present
doCheck = false;
pythonImportsCheck = [ "aiopulse" ];
meta = {
description = "Python Rollease Acmeda Automate Pulse hub protocol implementation";
longDescription = ''
The Rollease Acmeda Pulse Hub is a WiFi hub that communicates with
Rollease Acmeda Automate roller blinds via a proprietary RF protocol.
This module communicates over a local area network using a propriatery
binary protocol to issues commands to the Pulse Hub.
'';
homepage = "https://github.com/atmurray/aiopulse";
changelog = "https://github.com/atmurray/aiopulse/releases/tag/v${version}";
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ fab ];
};
}