evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / lc7001 / default.nix
blob478fe1a2f82584874335d37f8b000e6f20aea517
2   lib,
3   buildPythonPackage,
4   cryptography,
5   fetchPypi,
6   pythonOlder,
7   poetry-core,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "lc7001";
13   version = "1.0.5";
14   format = "pyproject";
16   disabled = pythonOlder "3.8";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-I4I3vwW1kJsgLFPMGpe9hkD3iEeC3AqI4pCi6SCWPx4=";
21   };
23   nativeBuildInputs = [
24     poetry-core
25     setuptools
26   ];
28   propagatedBuildInputs = [ cryptography ];
30   # Project has no tests
31   doCheck = false;
33   pythonImportsCheck = [ "lc7001" ];
35   meta = with lib; {
36     description = "Python module for interacting with Legrand LC7001";
37     homepage = "https://github.com/rtyle/lc7001";
38     license = licenses.mit;
39     maintainers = with maintainers; [ fab ];
40   };