From 4ee1ea76facb11bc2f022312bd4858fb642b3f4e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 11 Jan 2020 23:35:18 +0200 Subject: gnu: Add python-secretstorage. * gnu/packages/python-crypto.scm (python-secretstorage): 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 b95a4f2056..8d677efe62 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1136,6 +1136,34 @@ package provides a tool to securely sign firmware images for booting by MCUboot.") (license license:expat))) +(define-public python-secretstorage + (package + (name "python-secretstorage") + (version "3.1.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "SecretStorage" version)) + (sha256 + (base32 + "1xmzr0j3066s220bss4nkgqbiwb5k4kkp2rkpqlqwjb5kfc8mnhm")))) + (build-system python-build-system) + (arguments + '(#:tests? #f)) ; Tests require a running dbus service. + (propagated-inputs + `(("python-cryptography" ,python-cryptography) + ("python-jeepney" ,python-jeepney))) + (home-page "https://github.com/mitya57/secretstorage") + (synopsis "Python bindings to FreeDesktop.org Secret Service API") + (description + "@code{python-secretstorage} provides a way for securely storing passwords +and other secrets. It uses D-Bus Secret Service API that is supported by GNOME +Keyring (since version 2.30) and KSecretsService. SecretStorage supports most +of the functions provided by Secret Service, including creating and deleting +items and collections, editing items, locking and unlocking collections +(asynchronous unlocking is also supported).") + (license license:bsd-3))) + (define-public python-jeepney (package (name "python-jeepney") -- cgit v1.2.3