pythonPackages.adguardhome: init at 0.4.2
This commit is contained in:
parent
bd52e7f8d3
commit
bc99830b67
26
pkgs/development/python-modules/adguardhome/default.nix
Normal file
26
pkgs/development/python-modules/adguardhome/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -166,6 +166,8 @@ in {
|
||||||
|
|
||||||
addic7ed-cli = callPackage ../development/python-modules/addic7ed-cli { };
|
addic7ed-cli = callPackage ../development/python-modules/addic7ed-cli { };
|
||||||
|
|
||||||
|
adguardhome= callPackage ../development/python-modules/adguardhome { };
|
||||||
|
|
||||||
aenum = callPackage ../development/python-modules/aenum { };
|
aenum = callPackage ../development/python-modules/aenum { };
|
||||||
|
|
||||||
afdko = callPackage ../development/python-modules/afdko { };
|
afdko = callPackage ../development/python-modules/afdko { };
|
||||||
|
|
Loading…
Reference in a new issue