1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/ldappool/default.nix
2019-04-05 19:19:42 +02:00

31 lines
763 B
Nix

{ lib, buildPythonPackage, fetchPypi
, pbr, ldap, prettytable, fixtures, testresources, testtools }:
buildPythonPackage rec {
name = "ldappool-${version}";
version = "2.4.0";
src = fetchPypi {
pname = "ldappool";
inherit version;
sha256 = "d9c9ec29be3f3e64164be84fe080a3087108836f307a12ec62f7d18988293df3";
};
postPatch = ''
# Tests run without most of the dependencies
echo "" > test-requirements.txt
'';
nativeBuildInputs = [ pbr ];
propagatedBuildInputs = [ ldap prettytable ];
checkInputs = [ fixtures testresources testtools ];
meta = with lib; {
description = "A simple connector pool for python-ldap";
homepage = https://git.openstack.org/cgit/openstack/ldappool;
license = licenses.mpl20;
};
}