Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / rfc6555 / default.nix
blobd33d518fcea5abd4452651f312522db0e4d0e5b9
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "rfc6555";
10   version = "0.1.0";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "sethmlarson";
17     repo = pname;
18     rev = "v${version}";
19     hash = "sha256-Lmwgusc4EQlF0GHmMTUxWzUCjBk19cvurNwbOnT+1jM=";
20   };
22   nativeCheckInputs = [
23     pytestCheckHook
24   ];
26   disabledTests = [
27     # Disabling tests that require a functional DNS IPv{4,6} stack to pass
28     "test_create_connection_has_proper_timeout"
29   ];
31   pythonImportsCheck = [
32     "rfc6555"
33   ];
35   meta = with lib; {
36     description = "Python implementation of the Happy Eyeballs Algorithm";
37     homepage = "https://github.com/sethmlarson/rfc6555";
38     license = licenses.asl20;
39     maintainers = with maintainers; [ endocrimes ];
40   };