blob: 37ce28ec0573cc7c770ce44644b660165098db4d (
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
|
{
lib,
buildPythonPackage,
dnspython,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "srvlookup";
version = "3.0.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "gmr";
repo = "srvlookup";
tag = version;
hash = "sha256-iXbi25HsoNX0hnhwZoFik5ddlJ7i+xml3HGaezj3jgY=";
};
propagatedBuildInputs = [ dnspython ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "srvlookup" ];
meta = {
description = "Wrapper for dnspython to return SRV records for a given host, protocol, and domain name";
homepage = "https://github.com/gmr/srvlookup";
license = with lib.licenses; [ bsd3 ];
maintainers = with lib.maintainers; [ mmlb ];
};
}
|