nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 777 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "rfc6555"; 10 version = "0.1.0"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "sethmlarson"; 15 repo = "rfc6555"; 16 rev = "v${version}"; 17 hash = "sha256-Lmwgusc4EQlF0GHmMTUxWzUCjBk19cvurNwbOnT+1jM="; 18 }; 19 20 nativeCheckInputs = [ pytestCheckHook ]; 21 22 disabledTests = [ 23 # Disabling tests that require a functional DNS IPv{4,6} stack to pass 24 "test_create_connection_has_proper_timeout" 25 ]; 26 27 pythonImportsCheck = [ "rfc6555" ]; 28 29 meta = { 30 description = "Python implementation of the Happy Eyeballs Algorithm"; 31 homepage = "https://github.com/sethmlarson/rfc6555"; 32 license = lib.licenses.asl20; 33 maintainers = [ ]; 34 }; 35}