mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 13:35:13 +00:00
python310Packages.pysmart: add changelog to meta
This commit is contained in:
parent
e7c28692fa
commit
74778be2f1
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user