pythonPackages.adguardhome: init at 0.4.2

This commit is contained in:
Jamie Magee 2020-10-02 15:49:47 +02:00 committed by Jon
parent bd52e7f8d3
commit bc99830b67
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ aiohttp, aresponses, buildPythonPackage, fetchFromGitHub, isPy3k, lib
, pytest-asyncio, pytestCheckHook, yarl }:
buildPythonPackage rec {
pname = "adguardhome";
version = "0.4.2";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "frenck";
repo = "python-${pname}";
rev = "v${version}";
sha256 = "0lcf3yg27amrnqvgn5nw4jn2j0vj4yfmyl5p5yncmn7dh6bdbsp8";
};
propagatedBuildInputs = [ aiohttp yarl ];
checkInputs = [ aresponses pytest-asyncio pytestCheckHook ];
meta = with lib; {
description = "Asynchronous Python client for the AdGuard Home API.";
homepage = "https://github.com/frenck/python-adguardhome";
license = licenses.mit;
maintainers = with maintainers; [ jamiemagee ];
};
}

View file

@ -166,6 +166,8 @@ in {
addic7ed-cli = callPackage ../development/python-modules/addic7ed-cli { };
adguardhome= callPackage ../development/python-modules/adguardhome { };
aenum = callPackage ../development/python-modules/aenum { };
afdko = callPackage ../development/python-modules/afdko { };