python312Packages.pynslookup: init at 1.8.1

Module to do DNS lookups

https://github.com/wesinator/pynslookup
This commit is contained in:
Fabian Affolter 2024-09-05 09:29:05 +02:00
parent 2af256d1ef
commit c9fcbdf69b
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
dnspython,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pynslookup";
version = "1.8.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "wesinator";
repo = "pynslookup";
rev = "refs/tags/v${version}";
hash = "sha256-cb8oyI8D8SzBP+tm1jGPPshJYhPegYOH0RwIH03/K/A=";
};
build-system = [ setuptools ];
dependencies = [ dnspython ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "nslookup" ];
meta = with lib; {
description = "Module to do DNS lookups";
homepage = "https://github.com/wesinator/pynslookup";
license = licenses.mpl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -10097,6 +10097,8 @@ self: super: with self; {
pynotifier = callPackage ../development/python-modules/pynotifier { };
pynslookup = callPackage ../development/python-modules/pynslookup { };
pynuki = callPackage ../development/python-modules/pynuki { };
pynut2 = callPackage ../development/python-modules/pynut2 { };