python310Packages.pysmart: add changelog to meta

This commit is contained in:
Fabian Affolter 2022-12-09 10:50:32 +01:00 committed by GitHub
parent e7c28692fa
commit 74778be2f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ buildPythonPackage rec {
owner = "truenas";
repo = "py-SMART";
rev = "refs/tags/v${version}";
sha256 = "sha256-slLk4zoW0ht9hiOxyBt0caekjrPgih9G99pRiD2vIxE=";
hash = "sha256-slLk4zoW0ht9hiOxyBt0caekjrPgih9G99pRiD2vIxE=";
};
postPatch = ''
@ -22,16 +22,23 @@ buildPythonPackage rec {
--replace "which('smartctl')" '"${smartmontools}/bin/smartctl"'
'';
propagatedBuildInputs = [ humanfriendly ];
propagatedBuildInputs = [
humanfriendly
];
checkInputs = [ pytestCheckHook ];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "pySMART" ];
pythonImportsCheck = [
"pySMART"
];
meta = with lib; {
description = "Wrapper for smartctl (smartmontools)";
homepage = "https://github.com/truenas/py-SMART";
maintainers = with maintainers; [ nyanloutre ];
changelog = "https://github.com/truenas/py-SMART/blob/v${version}/CHANGELOG.md";
license = licenses.lgpl21Only;
maintainers = with maintainers; [ nyanloutre ];
};
}