evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pmsensor / default.nix
blob0ec79d38ff130ba125ab428aba7329c0c2344f4d
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pyserial,
6 }:
8 buildPythonPackage rec {
9   pname = "pmsensor";
10   version = "0.4";
11   format = "setuptools";
13   src = fetchPypi {
14     inherit pname version;
15     sha256 = "7fc03aafb791ca70d847c9ab97cf181bc7d8f7345efb4b0c3f66c07b9c7dee69";
16   };
18   propagatedBuildInputs = [ pyserial ];
20   # no tests implemented
21   doCheck = false;
23   pythonImportsCheck = [
24     "pmsensor.co2sensor"
25     "pmsensor.serial_pm"
26   ];
28   meta = with lib; {
29     description = "Library to read data from environment sensors";
30     homepage = "https://github.com/open-homeautomation/pmsensor";
31     license = licenses.mit;
32     maintainers = with maintainers; [ dotlambda ];
33   };