snac2: 2.68 -> 2.70 (#379043)
[NixPkgs.git] / pkgs / development / python-modules / aioasuswrt / default.nix
blobff54fa5530862e7bccb6a710eb8ce76a74a093ab
2   lib,
3   asyncssh,
4   buildPythonPackage,
5   fetchFromGitHub,
6   pytest-cov-stub,
7   pytest-asyncio,
8   pytest-mock,
9   pytestCheckHook,
10   pythonOlder,
11   setuptools,
14 buildPythonPackage rec {
15   pname = "aioasuswrt";
16   version = "1.4.0";
17   pyproject = true;
19   disabled = pythonOlder "3.7";
21   src = fetchFromGitHub {
22     owner = "kennedyshead";
23     repo = "aioasuswrt";
24     tag = "V${version}";
25     hash = "sha256-RQxIgAU9KsTbcTKc/Zl+aP77lbDSeiYzR48MtIVwacc=";
26   };
28   build-system = [ setuptools ];
30   dependencies = [ asyncssh ];
32   nativeCheckInputs = [
33     pytest-asyncio
34     pytest-cov-stub
35     pytest-mock
36     pytestCheckHook
37   ];
39   pythonImportsCheck = [ "aioasuswrt" ];
41   meta = with lib; {
42     description = "Python module for Asuswrt";
43     homepage = "https://github.com/kennedyshead/aioasuswrt";
44     changelog = "https://github.com/kennedyshead/aioasuswrt/releases/tag/V${version}";
45     license = with licenses; [ mit ];
46     maintainers = with maintainers; [ fab ];
47   };