nixpkgs/pkgs/development/python-modules/ldappool/default.nix

26 lines
625 B
Nix
Raw Normal View History

2018-03-02 01:19:38 +00:00
{ lib, buildPythonPackage, fetchPypi, isPy3k
, pbr, ldap, fixtures, testresources, testtools }:
buildPythonPackage rec {
name = "ldappool-${version}";
2018-03-02 01:19:38 +00:00
version = "2.2.0";
src = fetchPypi {
pname = "ldappool";
inherit version;
sha256 = "1akmzf51cjfvmd0nvvm562z1w9vq45zsx6fa72kraqgsgxhnrhqz";
};
2018-03-02 01:19:38 +00:00
nativeBuildInputs = [ pbr ];
propagatedBuildInputs = [ ldap ];
checkInputs = [ fixtures testresources testtools ];
meta = with lib; {
2018-03-02 01:19:38 +00:00
description = "A simple connector pool for python-ldap";
homepage = https://git.openstack.org/cgit/openstack/ldappool;
license = licenses.mpl20;
};
}