depot/third_party/nixpkgs/pkgs/development/python-modules/ldapdomaindump/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

41 lines
801 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
dnspython,
future,
ldap3,
pythonOlder,
}:
buildPythonPackage rec {
pname = "ldapdomaindump";
version = "0.9.4";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-mdzaFwUKllSZZuU7yJ5x2mcAlNU9lUKzsNAZfQNeb1I=";
};
propagatedBuildInputs = [
dnspython
future
ldap3
];
# requires ldap server
doCheck = false;
pythonImportsCheck = [ "ldapdomaindump" ];
meta = with lib; {
description = "Active Directory information dumper via LDAP";
homepage = "https://github.com/dirkjanm/ldapdomaindump/";
changelog = "https://github.com/dirkjanm/ldapdomaindump/releases/tag/v${version}";
license = licenses.mit;
maintainers = [ ];
};
}