nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 49 lines 951 B view raw
1{ 2 lib, 3 asyncssh, 4 bcrypt, 5 buildPythonPackage, 6 fetchFromGitHub, 7 pytest-cov-stub, 8 pytest-asyncio, 9 pytest-mock, 10 pytestCheckHook, 11 setuptools, 12}: 13 14buildPythonPackage rec { 15 pname = "aioasuswrt"; 16 version = "2.0.8"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "kennedyshead"; 21 repo = "aioasuswrt"; 22 tag = "V${version}"; 23 hash = "sha256-ax2XvZjZ1P8p80JW2WZAy2pdBKgwxuEaf6Erdna8E1s="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 asyncssh 30 bcrypt 31 ]; 32 33 nativeCheckInputs = [ 34 pytest-asyncio 35 pytest-cov-stub 36 pytest-mock 37 pytestCheckHook 38 ]; 39 40 pythonImportsCheck = [ "aioasuswrt" ]; 41 42 meta = { 43 description = "Python module for Asuswrt"; 44 homepage = "https://github.com/kennedyshead/aioasuswrt"; 45 changelog = "https://github.com/kennedyshead/aioasuswrt/releases/tag/${src.tag}"; 46 license = lib.licenses.mit; 47 maintainers = with lib.maintainers; [ fab ]; 48 }; 49}