about summary refs log tree commit diff
path: root/pkgs/development/python-modules/anel-pwrctrl-homeassistant/default.nix
blob: 07b8cbb96c0c08c8d569816015fbd5b0956ae620 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  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 ];
  };
}