diff --git a/pkgs/development/python-modules/anel-pwrctrl-homeassistant/default.nix b/pkgs/development/python-modules/anel-pwrctrl-homeassistant/default.nix new file mode 100644 index 000000000000..d32138c68dfa --- /dev/null +++ b/pkgs/development/python-modules/anel-pwrctrl-homeassistant/default.nix @@ -0,0 +1,30 @@ +{ + 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]; + }; +} diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 3e4ebd91cbc0..5ab04b40f2c8 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -157,7 +157,8 @@ androidtvremote2 ]; "anel_pwrctrl" = ps: with ps; [ - ]; # missing inputs: anel-pwrctrl-homeassistant + anel-pwrctrl-homeassistant + ]; "anova" = ps: with ps; [ ]; # missing inputs: anova-wifi "anthemav" = ps: with ps; [ diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 55993c603fef..97704fc3e532 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -512,6 +512,8 @@ self: super: with self; { androguard = callPackage ../development/python-modules/androguard { }; + anel-pwrctrl-homeassistant = callPackage ../development/python-modules/anel-pwrctrl-homeassistant { }; + angr = callPackage ../development/python-modules/angr { }; angrcli = callPackage ../development/python-modules/angrcli {