9 buildPythonPackage rec {
13 src = fetchFromGitHub {
17 sha256 = "sha256-e46ALiYg0Db/gOzqLmVc1vi9ObhfxzqwfQk9/9pz+r0=";
21 substituteInPlace pySMART/utils.py \
22 --replace "which('smartctl')" '"${smartmontools}/bin/smartctl"'
25 propagatedBuildInputs = [ humanfriendly ];
27 checkInputs = [ pytestCheckHook ];
29 pythonImportsCheck = [ "pySMART" ];
32 description = "Wrapper for smartctl (smartmontools)";
33 homepage = "https://github.com/truenas/py-SMART";
34 maintainers = with maintainers; [ nyanloutre ];
35 license = licenses.lgpl21Only;