python312Packages.ms-active-directory: 1.13.0 -> 1.14.0

Diff: https://github.com/zorn96/ms_active_directory/compare/refs/tags/v1.13.0...v1.14.0

Changelog: https://github.com/zorn96/ms_active_directory/releases/tag/v1.14.0
This commit is contained in:
Fabian Affolter 2024-09-03 17:16:47 +02:00
parent 5b5931f371
commit bf19852090

View File

@ -3,29 +3,42 @@
buildPythonPackage, buildPythonPackage,
dnspython, dnspython,
fetchFromGitHub, fetchFromGitHub,
fetchpatch,
ldap3, ldap3,
pyasn1, pyasn1,
pycryptodome, pycryptodome,
pythonOlder, pythonOlder,
pytz, pytz,
setuptools,
six, six,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "ms-active-directory"; pname = "ms-active-directory";
version = "1.13.0"; version = "1.14.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zorn96"; owner = "zorn96";
repo = "ms_active_directory"; repo = "ms_active_directory";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-+wfhtEGuC1R5jbEnWm4mDHIR096KKEcG/K8SuItwjGk="; hash = "sha256-E0GzKkpQU9pJ1a1N0NZjB2Q99yMlJkzNR0QzyiUzOpg=";
}; };
propagatedBuildInputs = [ patches = [
# Fix introduced syntax errors, https://github.com/zorn96/ms_active_directory/pull/88
(fetchpatch {
name = "fix-syntax.patch";
url = "https://github.com/zorn96/ms_active_directory/pull/88/commits/35da06a224b9bff6d36ddbd2dee8fdedab7e17bc.patch";
hash = "sha256-0WGyr3Q4vcfFU72fox3/3AdHCmjzf6jGCGPx5vhhUvM=";
})
];
build-system = [ setuptools ];
dependencies = [
dnspython dnspython
ldap3 ldap3
pyasn1 pyasn1
@ -43,7 +56,7 @@ buildPythonPackage rec {
description = "Python module for integrating with Microsoft Active Directory domains"; description = "Python module for integrating with Microsoft Active Directory domains";
homepage = "https://github.com/zorn96/ms_active_directory/"; homepage = "https://github.com/zorn96/ms_active_directory/";
changelog = "https://github.com/zorn96/ms_active_directory/releases/tag/v${version}"; changelog = "https://github.com/zorn96/ms_active_directory/releases/tag/v${version}";
license = with licenses; [ mit ]; license = licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };
} }