Files
nixpkgs/pkgs/development/python-modules/anel-pwrctrl-homeassistant/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

29 lines
628 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "anel-pwrctrl-homeassistant";
version = "0.0.1.dev2";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "anel_pwrctrl-homeassistant";
hash = "sha256-AcsnYD9CeGAarm5QdweUF6CUFwUywhfmU46NG8+Cm4s=";
};
# No tests
doCheck = false;
pythonImportsCheck = [ "anel_pwrctrl" ];
meta = {
description = "Discover and control ANEL NET-PwrCtrl devices";
homepage = "https://github.com/mweinelt/anel-pwrctrl";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jamiemagee ];
};
}