python310Packages.adguardhome: add changelog to meta
This commit is contained in:
parent
ad101a313a
commit
a6a2c08632
1 changed files with 10 additions and 4 deletions
|
@ -14,13 +14,14 @@ buildPythonPackage rec {
|
|||
pname = "adguardhome";
|
||||
version = "0.5.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "frenck";
|
||||
repo = "python-${pname}";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-HAgt52Bo2NOUkpr5xvWTcRyrLKpfcBDlVAZxgDNI7hY=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-HAgt52Bo2NOUkpr5xvWTcRyrLKpfcBDlVAZxgDNI7hY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -32,7 +33,9 @@ buildPythonPackage rec {
|
|||
--replace 0.0.0 ${version}
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
|
@ -45,11 +48,14 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "adguardhome" ];
|
||||
pythonImportsCheck = [
|
||||
"adguardhome"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client for the AdGuard Home API";
|
||||
homepage = "https://github.com/frenck/python-adguardhome";
|
||||
changelog = "https://github.com/frenck/python-adguardhome/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jamiemagee ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue