Unverified Commit f76d96a8 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python312Packages.pynslookup: init at 1.8.1 (#339626)

parents 3203de75 c9fcbdf6
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -10115,6 +10115,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 { };