Merge pull request #322847 from fabaff/adguardhome-bump
This commit is contained in:
commit
00a1f40ca2
@ -13,8 +13,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "adguardhome";
|
||||
version = "0.6.3";
|
||||
format = "pyproject";
|
||||
version = "0.7.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
@ -22,21 +22,18 @@ buildPythonPackage rec {
|
||||
owner = "frenck";
|
||||
repo = "python-${pname}";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-V8SsWsGYmUhR9/yV6BZBK1UjYGHlDrXrF8nt0eZbTnI=";
|
||||
hash = "sha256-n55G6ulKcgSSrgPk70D52OO9fp3WURlcRhJQUKrZ1Nk=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "--cov" "" \
|
||||
--replace '"0.0.0"' '"${version}"'
|
||||
|
||||
substituteInPlace tests/test_adguardhome.py \
|
||||
--replace 0.0.0 ${version}
|
||||
--replace-fail "--cov" "" \
|
||||
--replace-fail '"0.0.0"' '"${version}"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
yarl
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user