python3Packages.asndb: init at 1.1.0
Library for looking up ASNs by IP or AS number https://pypi.org/project/asndb
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
{
|
||||
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 ];
|
||||
};
|
||||
})
|
||||
@@ -1399,6 +1399,8 @@ self: super: with self; {
|
||||
|
||||
asn1tools = callPackage ../development/python-modules/asn1tools { };
|
||||
|
||||
asndb = callPackage ../development/python-modules/asndb { };
|
||||
|
||||
aspectlib = callPackage ../development/python-modules/aspectlib { };
|
||||
|
||||
aspell-python-py3 = callPackage ../development/python-modules/aspell-python-py3 { };
|
||||
|
||||
Reference in New Issue
Block a user