10 pname = "rpi-bad-power";
14 inherit pname version;
17 src = fetchFromGitHub {
21 hash = "sha256:1yvfz28blq4fdnn614n985vbs5hcw1gm3i9am53k410sfs7ilvkk";
24 nativeBuildInputs = [ setuptools ];
26 pythonImportsCheck = [ "rpi_bad_power" ];
28 nativeCheckInputs = [ pytestCheckHook ];
31 description = "Python library to detect bad power supply on Raspberry Pi";
32 homepage = "https://github.com/shenxn/rpi-bad-power";
33 license = licenses.mit;
34 maintainers = with maintainers; [ hexa ];
35 platforms = platforms.linux;