python310Packages.aiosasl: init at 0.5.0
This commit is contained in:
parent
eafa5eba29
commit
6025563be6
43
pkgs/development/python-modules/aiosasl/default.nix
Normal file
43
pkgs/development/python-modules/aiosasl/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pyopenssl
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiosasl";
|
||||
version = "0.5.0";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "horazont";
|
||||
repo = "aiosasl";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-JIuNPb/l4QURMQc905H2iNGCfMz+zM/QJhDQOR8LPdc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "python311-compat.patch";
|
||||
url = "https://github.com/horazont/aiosasl/commit/44c48d36b416bd635d970dba2607a31b2167ea1b.patch";
|
||||
hash = "sha256-u6PJKV54dU2MA9hXa/9hJ3eLVds1DuLHGbt8y/OakWs=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pyopenssl
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "aiosasl" ];
|
||||
|
||||
meta = {
|
||||
description = "Asyncio SASL library";
|
||||
homepage = "https://github.com/horazont/aiosasl";
|
||||
license = lib.licenses.lgpl3Plus;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -320,6 +320,8 @@ self: super: with self; {
|
||||
|
||||
aiorwlock = callPackage ../development/python-modules/aiorwlock { };
|
||||
|
||||
aiosasl = callPackage ../development/python-modules/aiosasl { };
|
||||
|
||||
aiosenseme = callPackage ../development/python-modules/aiosenseme { };
|
||||
|
||||
aiosenz = callPackage ../development/python-modules/aiosenz { };
|
||||
|
Loading…
Reference in New Issue
Block a user