summary refs log tree commit diff
path: root/pkgs/development/python-modules/ldaptor/default.nix
blob: 614fe60ada9d58c4ab953e700010393019411b84 (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchPypi
, twisted
, passlib
, pycrypto
, pyopenssl
, pyparsing
, service-identity
, zope_interface
, isPy3k
}:

buildPythonPackage rec {
  pname = "ldaptor";
  version = "19.1.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "64c7b870c77e34e4f5f9cfdf330b9702e89b4dd0f64275704f86c1468312c755";
  };

  propagatedBuildInputs = [
    twisted passlib pycrypto pyopenssl pyparsing service-identity zope_interface
  ];

  disabled = isPy3k;

  # TypeError: None is neither bytes nor unicode
  doCheck = false;

  meta = {
    description = "A Pure-Python Twisted library for LDAP";
    homepage = https://github.com/twisted/ldaptor;
    license = lib.licenses.mit;
  };
}