1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 dnspython, 7 pyasn1, 8 pyasn1-modules, 9}: 10 11buildPythonPackage rec { 12 pname = "sleekxmppfs"; 13 version = "1.4.1"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "aszymanik"; 18 repo = "SleekXMPP"; 19 tag = "sleek-${version}"; 20 hash = "sha256-E2S4fMk5dRr8g42iOYmKOknHX7NS6EZ/LAZKc1v3dPg="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ 26 dnspython 27 pyasn1 28 pyasn1-modules 29 ]; 30 31 pythonImportsCheck = [ "sleekxmppfs" ]; 32 33 # tests weren't adapted for the fork 34 doCheck = false; 35 36 meta = { 37 description = "Fork of SleekXMPP with TLS cert validation disabled, intended only to be used with the sucks project"; 38 license = lib.licenses.mit; 39 homepage = "https://github.com/aszymanik/SleekXMPP"; 40 maintainers = with lib.maintainers; [ dotlambda ]; 41 }; 42}