summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/sleekxmppfs/default.nix
blob: e5a9cbd2783421c202a150b8ec1b3493861f9f76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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";
    tag = "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 = "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 ];
  };
}