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