Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
985 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, asyncssh, buildPythonPackage, fetchFromGitHub, pytest-cov-stub, pytest-asyncio, pytest-mock, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "aioasuswrt"; version = "1.4.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "kennedyshead"; repo = "aioasuswrt"; tag = "V${version}"; hash = "sha256-RQxIgAU9KsTbcTKc/Zl+aP77lbDSeiYzR48MtIVwacc="; };
build-system = [ setuptools ];
dependencies = [ asyncssh ];
nativeCheckInputs = [ pytest-asyncio pytest-cov-stub pytest-mock pytestCheckHook ];
pythonImportsCheck = [ "aioasuswrt" ];
meta = with lib; { description = "Python module for Asuswrt"; homepage = "https://github.com/kennedyshead/aioasuswrt"; changelog = "https://github.com/kennedyshead/aioasuswrt/releases/tag/V${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}