guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#42297] [PATCH 08/10] gnu: Add python-sshpubkeys.


From: Alexandru-Sergiu Marton
Subject: [bug#42297] [PATCH 08/10] gnu: Add python-sshpubkeys.
Date: Thu, 9 Jul 2020 22:19:16 +0300

* gnu/packages/python-xyz.scm (python-sshpubkeys): New variable.
---
 gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e6a11182a1..4caf29169b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20612,3 +20612,35 @@ features are:
       password in different situations
 @end enumerate\n")
     (license license:expat)))
+
+(define-public python-sshpubkeys
+  (package
+    (name "python-sshpubkeys")
+    (version "3.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sshpubkeys" version))
+       (sha256
+        (base32
+         "105g2li04nm1hb15a2y6hm9m9k7fbrkd5l3gy12w3kgcmsf3k25k"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (delete 'check))))
+    (propagated-inputs
+     `(("python-cryptography" ,python-cryptography)
+       ("python-ecdsa" ,python-ecdsa)))
+    (native-inputs
+     `(("python-twine" ,python-twine)
+       ("python-wheel" ,python-wheel)))
+    (home-page
+     "https://github.com/ojarva/python-sshpubkeys";)
+    (synopsis "SSH public key parser")
+    (description
+     "Native implementation for validating OpenSSH public keys.
+
+Currently ssh-rsa, ssh-dss (DSA), ssh-ed25519 and ecdsa keys with NIST
+curves are supported.")
+    (license license:bsd-3)))
-- 
2.27.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]