blob: f3a40dcc9a1a4b80593f0a7002d0aaafce67e95b (
plain) (
blame)
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
36
37
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
requests,
}:
buildPythonPackage rec {
pname = "whois-api";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "whois-api-llc";
repo = "whois-api-py";
rev = "v${version}";
hash = "sha256-SeBeJ6k2R53LxHov+8t70geqUosk/yBJQCi6GaVteMM=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ requests ];
# all tests touch internet
doCheck = false;
pythonImportsCheck = [ "whoisapi" ];
meta = with lib; {
description = "Whois API client library for Python";
homepage = "https://github.com/whois-api-llc/whois-api-py";
changelog = "https://github.com/whois-api-llc/whois-api-py/blob/${src.rev}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ mbalatsko ];
};
}
|