From patchwork Tue Oct 29 09:31:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Guillaume Le Vaillant X-Patchwork-Id: 15874 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AD48017607; Tue, 29 Oct 2019 09:33:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 64147175D5 for ; Tue, 29 Oct 2019 09:33:19 +0000 (GMT) Received: from localhost ([::1]:53340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPNsM-0000z6-Nw for patchwork@mira.cbaines.net; Tue, 29 Oct 2019 05:33:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49661) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPNs8-0000rT-9B for guix-patches@gnu.org; Tue, 29 Oct 2019 05:33:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPNs7-0002RM-1E for guix-patches@gnu.org; Tue, 29 Oct 2019 05:33:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38055) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPNs6-0002Po-Ix for guix-patches@gnu.org; Tue, 29 Oct 2019 05:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iPNs6-00019e-Dz for guix-patches@gnu.org; Tue, 29 Oct 2019 05:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37975] [PATCH 1/2] gnu: Add python-keyutils. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Oct 2019 09:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37975 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37975@debbugs.gnu.org Cc: Guillaume Le Vaillant Received: via spool by 37975-submit@debbugs.gnu.org id=B37975.15723415464382 (code B ref 37975); Tue, 29 Oct 2019 09:33:02 +0000 Received: (at 37975) by debbugs.gnu.org; 29 Oct 2019 09:32:26 +0000 Received: from localhost ([127.0.0.1]:46873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPNrW-00018b-84 for submit@debbugs.gnu.org; Tue, 29 Oct 2019 05:32:26 -0400 Received: from mout01.posteo.de ([185.67.36.65]:57207) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPNrR-00018L-ER for 37975@debbugs.gnu.org; Tue, 29 Oct 2019 05:32:25 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id DBFA016005F for <37975@debbugs.gnu.org>; Tue, 29 Oct 2019 10:32:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1572341534; bh=DFsoBgTS2SIb6E9F6XGA8zreYGLSmu4CO0SbZDQxO5o=; h=From:To:Cc:Subject:Date:From; b=Hhwe/vaLCeLxhJL2lWQTjmRISRD7LfWHrynlyBew6bNuohRnhXWxQ0AGyRt2gbZsL hVVzntakF26naafY9XmRuSHGQPc+IvfLsEZVOiFOVTo3NynDVTu03kafILBR1sEAk1 lW072GfO2TNM8NfIag+bKQzANhdBoE1Acpw0fpkHh5MUFDIeLVPIwIuZzNbkqCVGHi EJ7eLY4OcCNwhISwaWGEn+32aZnHhKpzl/q1H4c9GByYVSAkG/C1Lxi2yOXEyyfAMx i3wOyehIRafun8/gsbdn5uO9WYQgaDNfFt3IyPprQ8zmYlHSnV+Y3SFtShSrVuTNvQ C0Tr5Xp9gMpJw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 472RF74YFmz6tqm; Tue, 29 Oct 2019 10:32:10 +0100 (CET) From: Guillaume Le Vaillant Date: Tue, 29 Oct 2019 10:31:34 +0100 Message-Id: <20191029093135.32727-1-glv@posteo.net> X-Mailer: git-send-email 2.23.0 In-Reply-To: <87r22v6gxv.fsf@yamatai> References: <87r22v6gxv.fsf@yamatai> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-crypto.scm (python-keyutils): New variable. --- gnu/packages/python-crypto.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index f05c01060f..7dac25eb61 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2018 Nicolas Goaziou ;;; Copyright © 2018 Vagrant Cascadian ;;; Copyright © 2018 Nam Nguyen +;;; Copyright © 2019 Guillaume Le Vaillant ;;; ;;; This file is part of GNU Guix. ;;; @@ -1062,3 +1063,30 @@ Password-Authenticated Key Exchange algorithm.") (description "This package provides a Twisted-based Tor controller client, with state-tracking and configuration abstractions.") (license license:expat))) + +(define-public python-keyutils + (package + (name "python-keyutils") + (version "0.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "keyutils" version)) + (sha256 + (base32 + "0lipygpzhwzzsq2k5imb1jgkmj8y4khxdwhzadjs3bd56g6bmkx9")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner))) + (inputs + `(("keyutils" ,keyutils))) + (arguments + '(#:tests? #f)) + (home-page "https://github.com/sassoftware/python-keyutils") + (synopsis "Python bindings for keyutils") + (description + "This is a set of python bindings for keyutils, a key management suite +that leverages the infrastructure provided by the Linux kernel for safely +storing and retrieving sensitive infromation in your programs.") + (license license:asl2.0))) From patchwork Tue Oct 29 09:31:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Guillaume Le Vaillant X-Patchwork-Id: 15875 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C1BD617607; Tue, 29 Oct 2019 09:35:56 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 715D1175D5 for ; Tue, 29 Oct 2019 09:35:56 +0000 (GMT) Received: from localhost ([::1]:53348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPNuu-0001th-0x for patchwork@mira.cbaines.net; Tue, 29 Oct 2019 05:35:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49663) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPNs8-0000sk-Kr for guix-patches@gnu.org; Tue, 29 Oct 2019 05:33:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPNs7-0002Rp-6j for guix-patches@gnu.org; Tue, 29 Oct 2019 05:33:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38056) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPNs7-0002RX-3L for guix-patches@gnu.org; Tue, 29 Oct 2019 05:33:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iPNs6-00019l-VH for guix-patches@gnu.org; Tue, 29 Oct 2019 05:33:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37975] [PATCH 2/2] gnu: Add udiskie. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Oct 2019 09:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37975 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37975@debbugs.gnu.org Cc: Guillaume Le Vaillant Received: via spool by 37975-submit@debbugs.gnu.org id=B37975.15723415674416 (code B ref 37975); Tue, 29 Oct 2019 09:33:02 +0000 Received: (at 37975) by debbugs.gnu.org; 29 Oct 2019 09:32:47 +0000 Received: from localhost ([127.0.0.1]:46876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPNrq-00019A-JO for submit@debbugs.gnu.org; Tue, 29 Oct 2019 05:32:46 -0400 Received: from mout01.posteo.de ([185.67.36.65]:49278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPNro-00018y-T0 for 37975@debbugs.gnu.org; Tue, 29 Oct 2019 05:32:45 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id C6E2A160060 for <37975@debbugs.gnu.org>; Tue, 29 Oct 2019 10:32:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1572341558; bh=TnclE2vlsHXO3HOreXHdR90cODWZw5WNEgseBfDWg8U=; h=From:To:Cc:Subject:Date:From; b=DtNWXatzHz/t0Zs+ZXVIKdUx5c2KJnZI78R7XDm+eWr5uHxXoBrAbVr4+HlZ3WnXr 6Z50Ctq08xMVpYYIB+4wcoNs6niqCeUa8/IMBr7SY3DH7b5Nq34POtxm6P3yA3+4vA iDw/N3VkzVHcYzkGQfurJJaAbOph9hvTNErUoZbytmMWGhsAUP1FODeKlt5YJCA4y3 M+l9wlxtKFSnBGu45ncdwKo++CjywiyakWHKRIF3ZAFvU1XNC22X/dS+Ykf2vWK4k/ XwwOjbeOnz8NhWeoZJCFZsIOXmFMqEoRX/tMkM/gxZWBVOishuoyKgCo/vugByqATJ IhTFSxa21lXJA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 472RFL4yWYz6tm6; Tue, 29 Oct 2019 10:32:22 +0100 (CET) From: Guillaume Le Vaillant Date: Tue, 29 Oct 2019 10:31:35 +0100 Message-Id: <20191029093135.32727-2-glv@posteo.net> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191029093135.32727-1-glv@posteo.net> References: <87r22v6gxv.fsf@yamatai> <20191029093135.32727-1-glv@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/freedesktop.scm (udiskie): New variable. --- gnu/packages/freedesktop.scm | 61 ++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index b18d71cb98..67d587ee48 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2018 Pierre Neidhardt ;;; Copyright © 2018 Stefan Stefanović ;;; Copyright © 2019 Reza Alizadeh Majd +;;; Copyright © 2019 Guillaume Le Vaillant ;;; ;;; This file is part of GNU Guix. ;;; @@ -74,6 +75,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages polkit) #:use-module (gnu packages python) + #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-xyz) #:use-module (gnu packages sqlite) #:use-module (gnu packages valgrind) @@ -1439,3 +1441,62 @@ encoding names are iconv-compatible.") ;; This combines code under MPL 1.1, LGPL 2.1+, and GPL 2.0+, so the ;; combination is GPL 2.0+. (license license:gpl2+))) + +(define-public udiskie + (package + (name "udiskie") + (version "1.7.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "udiskie" version)) + (sha256 + (base32 + "121g9dkr7drv9igpdbcbkj59x15mm72rzp3198bp50zj0lr4wbvi")))) + (build-system python-build-system) + (native-inputs + `(("asciidoc" ,asciidoc) + ("gettext" ,gettext-minimal) + ("gobject-introspection" ,gobject-introspection))) + (inputs + `(("gobject-introspection" ,gobject-introspection) + ("gtk+" ,gtk+) + ("libnotify" ,libnotify) + ("udisks" ,udisks))) + (propagated-inputs + `(("python-docopt" ,python-docopt) + ("python-pygobject" ,python-pygobject) + ("python-keyutils" ,python-keyutils) + ("python-pyxdg" ,python-pyxdg) + ("python-pyyaml" ,python-pyyaml))) + (arguments + `(;; The tests want libappindicator, which is not available. + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'install 'wrap-gi-typelib + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) + (wrap-program (string-append out "/bin/udiskie") + `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) + #t))))) + (home-page "https://github.com/coldfix/udiskie") + (synopsis "Automounter for removable media") + (description + "The udiskie program is a udisks2 front-end that allows to manage +removeable media such as CDs or flash drives from userspace. + +Its features include: + +@itemize +@item automount removable media +@item notifications +@item tray icon +@item command line tools for manual un-/mounting +@item LUKS encrypted devices +@item unlocking with keyfiles +@item loop devices (mounting iso archives) +@item password caching +@end itemize") + (license license:expat)))