python313Packages.decora-wifi: refactor

- update pname
- add changelog to meta
This commit is contained in:
Fabian Affolter
2025-04-06 17:12:29 +02:00
committed by GitHub
parent 79c9abe566
commit 5cca3ad45f

View File

@@ -8,7 +8,7 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "decora_wifi"; pname = "decora-wifi";
version = "1.5"; version = "1.5";
pyproject = true; pyproject = true;
@@ -19,14 +19,13 @@ buildPythonPackage rec {
hash = "sha256-oWETtzZueNJC0lTWdLfk3SOuvnqrJ9wp5rOSPJxH3M4="; hash = "sha256-oWETtzZueNJC0lTWdLfk3SOuvnqrJ9wp5rOSPJxH3M4=";
}; };
build-system = [ build-system = [ setuptools ];
setuptools
];
dependencies = [ dependencies = [
requests requests
inflect inflect
]; ];
pythonImportsCheck = [ "decora_wifi" ]; pythonImportsCheck = [ "decora_wifi" ];
# No tests in Pypi source # No tests in Pypi source
@@ -35,6 +34,7 @@ buildPythonPackage rec {
meta = { meta = {
description = "Python library for controlling Leviton Decora Smart Wi-Fi devices"; description = "Python library for controlling Leviton Decora Smart Wi-Fi devices";
homepage = "https://github.com/tlyakhov/python-decora_wifi"; homepage = "https://github.com/tlyakhov/python-decora_wifi";
changelog = "https://github.com/tlyakhov/python-decora_wifi/releases/tag/${version}";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with lib.maintainers; [ Continous ]; maintainers = with lib.maintainers; [ Continous ];
}; };