python312Packages.sleekxmppfs: init at 1.4.1

This commit is contained in:
Robert Schütz 2024-07-30 09:41:17 -07:00 committed by Martin Weinelt
parent 44e19a2f92
commit 81d2ab48b2
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
dnspython,
pyasn1,
pyasn1-modules,
}:
buildPythonPackage rec {
pname = "sleekxmppfs";
version = "1.4.1";
pyproject = true;
src = fetchFromGitHub {
owner = "aszymanik";
repo = "SleekXMPP";
rev = "refs/tags/sleek-${version}";
hash = "sha256-E2S4fMk5dRr8g42iOYmKOknHX7NS6EZ/LAZKc1v3dPg=";
};
build-system = [ setuptools ];
dependencies = [
dnspython
pyasn1
pyasn1-modules
];
pythonImportsCheck = [ "sleekxmppfs" ];
# tests weren't adapted for the fork
doCheck = false;
meta = {
description = "A fork of SleekXMPP with TLS cert validation disabled, intended only to be used with the sucks project";
license = lib.licenses.mit;
homepage = "https://github.com/aszymanik/SleekXMPP";
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -14452,6 +14452,8 @@ self: super: with self; {
sleekxmpp = callPackage ../development/python-modules/sleekxmpp { };
sleekxmppfs = callPackage ../development/python-modules/sleekxmppfs { };
sleepyq = callPackage ../development/python-modules/sleepyq { };
sleqp = toPythonModule (pkgs.sleqp.override { pythonSupport = true; python3Packages = self; });