blob: 14e91f7bdf685fa06446f4cb71a6e4f3f032555f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
}:
buildPythonPackage (finalAttrs: {
pname = "whoisdomain";
version = "1.20260106.1";
pyproject = true;
src = fetchFromGitHub {
owner = "mboot-github";
repo = "WhoisDomain";
tag = finalAttrs.version;
hash = "sha256-OQlOqDmBhqHVFs6U3lC1EryNu4UEi8fzKERkOE3uBaw=";
};
build-system = [ hatchling ];
pythonImportsCheck = [ "whoisdomain" ];
# Tests require network access
doCheck = false;
meta = {
description = "Module to perform whois lookups";
homepage = "https://github.com/mboot-github/WhoisDomain";
changelog = "https://github.com/mboot-github/WhoisDomain/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "whoisdomain";
};
})
|