depot/third_party/nixpkgs/pkgs/development/python-modules/anel-pwrctrl-homeassistant/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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 ];
};
}