tutanota-desktop: 259.250108.1 -> 266.250202.0 (#377234)
[NixPkgs.git] / pkgs / development / python-modules / pysensors / default.nix
blob8f09a6e19aedd4ff0873397a877e1928e1236c9f
2   lib,
3   buildPythonPackage,
4   unittestCheckHook,
5   fetchFromGitHub,
6   lm_sensors,
7 }:
8 buildPythonPackage {
9   version = "2017-07-13";
10   format = "setuptools";
11   pname = "pysensors";
13   # note that https://pypi.org/project/PySensors/ is a different project
14   src = fetchFromGitHub {
15     owner = "bastienleonard";
16     repo = "pysensors";
17     rev = "ef46fc8eb181ecb8ad09b3d80bc002d23d9e26b3";
18     sha256 = "1xvbxnkz55fk5fpr514263c7s7s9r8hgrw4ybfaj5a0mligmmrfm";
19   };
21   buildInputs = [ lm_sensors ];
23   # Tests are disable because they fail on `aarch64-linux`, probably
24   # due to sandboxing
25   doCheck = false;
27   nativeCheckInputs = [ unittestCheckHook ];
29   unittestFlagsArray = [
30     "-s"
31     "tests"
32   ];
34   meta = with lib; {
35     maintainers = with maintainers; [ guibou ];
36     description = "Easy hardware health monitoring in Python for Linux systems";
37     homepage = "https://bastienleonard.github.io/pysensors/";
38     license = licenses.bsd2;
39     platforms = platforms.linux;
40   };