12 buildPythonPackage rec {
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
22 rev = "refs/tags/v${version}";
23 hash = "sha256-JIuNPb/l4QURMQc905H2iNGCfMz+zM/QJhDQOR8LPdc=";
28 name = "python311-compat.patch";
29 url = "https://github.com/horazont/aiosasl/commit/44c48d36b416bd635d970dba2607a31b2167ea1b.patch";
30 hash = "sha256-u6PJKV54dU2MA9hXa/9hJ3eLVds1DuLHGbt8y/OakWs=";
35 # https://github.com/horazont/aiosasl/issues/28
36 substituteInPlace tests/test_aiosasl.py \
37 --replace-fail "assertRaisesRegexp" "assertRaisesRegex"
40 build-system = [ setuptools ];
47 pythonImportsCheck = [ "aiosasl" ];
50 description = "Asyncio SASL library";
51 homepage = "https://github.com/horazont/aiosasl";
52 license = lib.licenses.lgpl3Plus;
53 maintainers = with lib.maintainers; [ dotlambda ];