Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, blasthttp, buildPythonPackage, cachetools, fetchPypi, nix-update-script, radixtarget, setuptools, typer,}:
buildPythonPackage (finalAttrs: { pname = "asndb"; version = "1.1.0"; pyproject = true;
__structuredAttrs = true;
src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-Q1qXQepm1ouBfJwQVHKfiMPV66lLlsqZGxWa1Asj0Mo="; };
build-system = [ setuptools ];
dependencies = [ blasthttp cachetools radixtarget typer ];
# Tests require network access doCheck = false;
pythonImportsCheck = [ "asndb" ];
passthru.updateScript = nix-update-script { };
meta = { description = "Library for looking up ASNs by IP or AS number"; homepage = "https://pypi.org/project/asndb"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ fab ]; };})