diff options
Diffstat (limited to 'gnu/packages/python-crypto.scm')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 1286693fc26..6e85c0eea25 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm | |||
| @@ -377,6 +377,45 @@ password storage.") | |||
| 377 | (propagated-inputs | 377 | (propagated-inputs |
| 378 | `(("python2-pycrypto" ,python2-pycrypto)))))) | 378 | `(("python2-pycrypto" ,python2-pycrypto)))))) |
| 379 | 379 | ||
| 380 | (define-public python-keyrings.alt | ||
| 381 | (package | ||
| 382 | (name "python-keyrings.alt") | ||
| 383 | (version "3.4.0") | ||
| 384 | (source | ||
| 385 | (origin | ||
| 386 | (method url-fetch) | ||
| 387 | (uri (pypi-uri "keyrings.alt" version)) | ||
| 388 | (sha256 | ||
| 389 | (base32 | ||
| 390 | "0gdjdqpq2hf770p6iwi891mil0vbsdhvy88x0v8b2w4y4b28lcli")) | ||
| 391 | (modules '((guix build utils))) | ||
| 392 | (snippet | ||
| 393 | '(begin | ||
| 394 | (delete-file "keyrings/alt/_win_crypto.py") | ||
| 395 | ;; Rely on python-keyring>20: | ||
| 396 | ;; https://github.com/jaraco/keyrings.alt/issues/33 | ||
| 397 | (substitute* '("keyrings/alt/tests/test_Gnome.py" | ||
| 398 | "keyrings/alt/tests/test_Google.py" | ||
| 399 | "keyrings/alt/tests/test_Windows.py" | ||
| 400 | "keyrings/alt/tests/test_file.py" | ||
| 401 | "keyrings/alt/tests/test_pyfs.py") | ||
| 402 | (("keyring.tests.test_backend") "keyring.testing.backend") | ||
| 403 | (("keyring.tests.util") "keyring.testing.util")) | ||
| 404 | #t)))) | ||
| 405 | (build-system python-build-system) | ||
| 406 | (native-inputs | ||
| 407 | `(("python-keyring" ,python-keyring) | ||
| 408 | ("python-pytest" ,python-pytest) | ||
| 409 | ("python-setuptools-scm" ,python-setuptools-scm))) | ||
| 410 | (home-page "https://github.com/jaraco/keyrings.alt") | ||
| 411 | (synopsis "Alternate keyring implementations") | ||
| 412 | (description "Keyrings in this package may have security risks or other | ||
| 413 | implications. These backends were extracted from the main keyring project to | ||
| 414 | make them available for those who wish to employ them, but are discouraged for | ||
| 415 | general production use. Include this module and use its backends at your own | ||
| 416 | risk.") | ||
| 417 | (license license:expat))) | ||
| 418 | |||
| 380 | (define-public python-certifi | 419 | (define-public python-certifi |
| 381 | (package | 420 | (package |
| 382 | (name "python-certifi") | 421 | (name "python-certifi") |
