python313Packages.pyasynchat: init at 1.0.4

New dependency for pyftpdlib 2.0+.
This commit is contained in:
Martin Weinelt
2025-01-27 10:56:40 +01:00
parent e3136cbe5d
commit 052e065ca5
2 changed files with 44 additions and 0 deletions
@@ -0,0 +1,42 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pyasyncore,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyasynchat";
version = "1.0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "simonrob";
repo = "pyasynchat";
rev = "v${version}";
hash = "sha256-Cep8tsapLjhPbVhMrC1ZUgd4jZZLOliL4yF0OX2KrYs=";
};
build-system = [
setuptools
];
dependencies = [
pyasyncore
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"asynchat"
];
meta = {
description = "Make asynchat available for Python 3.12 onwards";
homepage = "https://github.com/simonrob/pyasynchat";
license = lib.licenses.psfl;
maintainers = with lib.maintainers; [ ];
};
}
+2
View File
@@ -11410,6 +11410,8 @@ self: super: with self; {
pyasuswrt = callPackage ../development/python-modules/pyasuswrt { };
pyasynchat = callPackage ../development/python-modules/pyasynchat { };
pyasyncore = callPackage ../development/python-modules/pyasyncore { };
pyathena = callPackage ../development/python-modules/pyathena { };