Skip to content

Commit

Permalink
python312Packages.pynslookup: init at 1.8.1 (NixOS#339626)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Sep 5, 2024
2 parents 3203de7 + c9fcbdf commit f76d96a
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
39 changes: 39 additions & 0 deletions pkgs/development/python-modules/pynslookup/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit f76d96a

Please sign in to comment.