Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pmsensor / default.nix
blob48156a3eae95c93b6d25d947f0acaad69691fa87
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pyserial
5 }:
7 buildPythonPackage rec {
8   pname = "pmsensor";
9   version = "0.4";
10   format = "setuptools";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "7fc03aafb791ca70d847c9ab97cf181bc7d8f7345efb4b0c3f66c07b9c7dee69";
15   };
17   propagatedBuildInputs = [
18     pyserial
19   ];
21   # no tests implemented
22   doCheck = false;
24   pythonImportsCheck = [
25     "pmsensor.co2sensor"
26     "pmsensor.serial_pm"
27   ];
29   meta = with lib; {
30     description = "Library to read data from environment sensors";
31     homepage = "https://github.com/open-homeautomation/pmsensor";
32     license = licenses.mit;
33     maintainers = with maintainers; [ dotlambda ];
34   };