fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
28 lines
630 B
Nix
28 lines
630 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 = with lib; {
|
|
description = "Discover and control ANEL NET-PwrCtrl devices";
|
|
homepage = "https://github.com/mweinelt/anel-pwrctrl";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jamiemagee ];
|
|
};
|
|
}
|