My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/rfc6555/default.nix

41 lines
855 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "rfc6555";
version = "0.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "sethmlarson";
repo = pname;
rev = "v${version}";
hash = "sha256-Lmwgusc4EQlF0GHmMTUxWzUCjBk19cvurNwbOnT+1jM=";
};
checkInputs = [
pytestCheckHook
];
disabledTests = [
# Disabling tests that require a functional DNS IPv{4,6} stack to pass
"test_create_connection_has_proper_timeout"
];
pythonImportsCheck = [
"rfc6555"
];
meta = with lib; {
description = "Python implementation of the Happy Eyeballs Algorithm";
homepage = "https://github.com/sethmlarson/rfc6555";
license = licenses.asl20;
maintainers = with maintainers; [ endocrimes ];
};
}