mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-04 19:48:34 +03:00
python312Packages.pynslookup: init at 1.8.1
Module to do DNS lookups https://github.com/wesinator/pynslookup
This commit is contained in:
parent
2af256d1ef
commit
c9fcbdf69b
39
pkgs/development/python-modules/pynslookup/default.nix
Normal file
39
pkgs/development/python-modules/pynslookup/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user