Something went wrong. Try again.
lol
Something went wrong. Try again.
986 B · 51 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, aiohttp, aioresponses, buildPythonPackage, fetchFromGitHub, pytest-asyncio, pytest-error-for-skips, pytestCheckHook, setuptools, syrupy, tenacity,}:
buildPythonPackage (finalAttrs: { pname = "nextdns"; version = "5.0.0"; pyproject = true;
src = fetchFromGitHub { owner = "bieniu"; repo = "nextdns"; tag = finalAttrs.version; hash = "sha256-jZ+ULAlqaOnVWEHDPzIxIFjx+4eC3jMlXyX0QhfZUYM="; };
build-system = [ setuptools ];
dependencies = [ aiohttp tenacity ];
nativeCheckInputs = [ aioresponses pytest-asyncio pytest-error-for-skips pytestCheckHook syrupy ];
pythonImportsCheck = [ "nextdns" ];
meta = { description = "Module for the NextDNS API"; homepage = "https://github.com/bieniu/nextdns"; changelog = "https://github.com/bieniu/nextdns/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; };})