From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:48599) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixCem-0007pH-59 for guix-patches@gnu.org; Thu, 30 Jan 2020 11:27:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixCek-0000zB-QB for guix-patches@gnu.org; Thu, 30 Jan 2020 11:27:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58432) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ixCek-0000yJ-Et for guix-patches@gnu.org; Thu, 30 Jan 2020 11:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ixCek-0002I2-AM for guix-patches@gnu.org; Thu, 30 Jan 2020 11:27:02 -0500 Subject: [bug#39216] [PATCH] gnu: Add python-bonsai References: <20200121105222.24907-1-ldb@leibniz-psychology.org> In-Reply-To: <20200121105222.24907-1-ldb@leibniz-psychology.org> Resent-Message-ID: From: Lars-Dominik Braun Date: Thu, 30 Jan 2020 17:26:01 +0100 Message-Id: <20200130162601.17063-1-ldb@leibniz-psychology.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39216@debbugs.gnu.org Cc: mbakke@fastmail.com, Lars-Dominik Braun * gnu/packages/openldap.scm (python-bonsai): New variable --- gnu/packages/openldap.scm | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm index 7abe9ab6f0..482f83decb 100644 --- a/gnu/packages/openldap.scm +++ b/gnu/packages/openldap.scm @@ -48,7 +48,7 @@ #:use-module (gnu packages tls) #:use-module (gnu packages web) #:use-module (gnu packages) - #:use-module ((guix licenses) #:select (openldap2.8 lgpl2.1+ gpl3+ psfl)) + #:use-module ((guix licenses) #:select (openldap2.8 lgpl2.1+ gpl3+ psfl expat)) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) @@ -367,3 +367,31 @@ Other features include: @end enumerate\n") ;; GPLv3+ with OpenSSL linking exception. (license gpl3+))) + +(define-public python-bonsai + (package + (name "python-bonsai") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "bonsai" version)) + (sha256 + (base32 + "013bl6h1m3f7vg1lk89d4vi28wbf31zdcs4f9g8css7ngx63v6px")))) + (build-system python-build-system) + (inputs + `(("mit-krb5" ,mit-krb5) + ("cyrus-sasl" ,cyrus-sasl) + ("openldap" ,openldap))) + ;; disabling tests, since they require docker and extensive setup + (arguments `(#:tests? #f)) + (home-page "https://github.com/noirello/bonsai") + (synopsis + "Access LDAP directory servers from Python") + (description + "This is a module for handling LDAP operations in Python. LDAP entries +are mapped to a special Python case-insensitive dictionary, tracking the +changes of the dictionary to modify the entry on the server easily.") + (license expat))) + -- 2.20.1