blob: 0f3d43374386a3da3717289971664b78b883a9e2 (
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,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "rfc6555";
version = "0.1.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "sethmlarson";
repo = "rfc6555";
rev = "v${version}";
hash = "sha256-Lmwgusc4EQlF0GHmMTUxWzUCjBk19cvurNwbOnT+1jM=";
};
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# Disabling tests that require a functional DNS IPv{4,6} stack to pass
"test_create_connection_has_proper_timeout"
];
pythonImportsCheck = [ "rfc6555" ];
meta = {
description = "Python implementation of the Happy Eyeballs Algorithm";
homepage = "https://github.com/sethmlarson/rfc6555";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
|