evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / rfc6555 / default.nix
blob596a2ca07290e5e89fe2e7e6c49681ddb5105818
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "rfc6555";
11   version = "0.1.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "sethmlarson";
18     repo = pname;
19     rev = "v${version}";
20     hash = "sha256-Lmwgusc4EQlF0GHmMTUxWzUCjBk19cvurNwbOnT+1jM=";
21   };
23   nativeCheckInputs = [ pytestCheckHook ];
25   disabledTests = [
26     # Disabling tests that require a functional DNS IPv{4,6} stack to pass
27     "test_create_connection_has_proper_timeout"
28   ];
30   pythonImportsCheck = [ "rfc6555" ];
32   meta = with lib; {
33     description = "Python implementation of the Happy Eyeballs Algorithm";
34     homepage = "https://github.com/sethmlarson/rfc6555";
35     license = licenses.asl20;
36     maintainers = [ ];
37   };