depot/third_party/nixpkgs/pkgs/development/python-modules/anel-pwrctrl-homeassistant/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

30 lines
634 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];
};
}