diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2020-03-17 09:03:55 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2020-03-22 09:58:29 +0200 |
| commit | 0a124c4615bd150c36dd90c2595942b79dabef6e (patch) | |
| tree | 1825f218b60daaf1d3f8447e37fd2de3d758b924 /gnu/packages/python-crypto.scm | |
| parent | 0831063778ee98d8aa9bdfaeeb7cd1673ef2a580 (diff) | |
gnu: Add python-privy.
* gnu/packages/python-crypto.scm (python-privy): New variable.
Diffstat (limited to 'gnu/packages/python-crypto.scm')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index f1604212e70..0601799c2b3 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm | |||
| @@ -1347,3 +1347,38 @@ I/O-free core, and integration modules for different event loops.") | |||
| 1347 | both a configurable runtime as well as memory consumption. This means that you | 1347 | both a configurable runtime as well as memory consumption. This means that you |
| 1348 | can decide how long it takes to hash a password and how much memory is required.") | 1348 | can decide how long it takes to hash a password and how much memory is required.") |
| 1349 | (license license:expat))) | 1349 | (license license:expat))) |
| 1350 | |||
| 1351 | (define-public python-privy | ||
| 1352 | (package | ||
| 1353 | (name "python-privy") | ||
| 1354 | (version "6.0.0") | ||
| 1355 | (source | ||
| 1356 | (origin | ||
| 1357 | (method git-fetch) | ||
| 1358 | (uri (git-reference | ||
| 1359 | ;; Releases are untagged | ||
| 1360 | (url "https://github.com/ofek/privy") | ||
| 1361 | (commit "2838db3df239797c71bddacc48a4c49a83f35747"))) | ||
| 1362 | (file-name (git-file-name name version)) | ||
| 1363 | (sha256 | ||
| 1364 | (base32 | ||
| 1365 | "1m32dh5fqc8cy7jyf1z5fs6zvmdkbq5fi98hr609gbl7s0l0y0i9")))) | ||
| 1366 | (build-system python-build-system) | ||
| 1367 | (arguments | ||
| 1368 | '(#:phases | ||
| 1369 | (modify-phases %standard-phases | ||
| 1370 | (replace 'check | ||
| 1371 | (lambda _ | ||
| 1372 | (invoke "python" "-m" "pytest")))))) | ||
| 1373 | (native-inputs | ||
| 1374 | `(("python-pytest" ,python-pytest))) | ||
| 1375 | (propagated-inputs | ||
| 1376 | `(("python-argon2-cffi" ,python-argon2-cffi) | ||
| 1377 | ("python-cryptography" ,python-cryptography))) | ||
| 1378 | (home-page "https://www.dropbox.com/developers") | ||
| 1379 | (synopsis "Library to password-protect your data") | ||
| 1380 | (description | ||
| 1381 | "Privy is a small and fast utility for password-protecting secret | ||
| 1382 | data such as API keys, cryptocurrency wallets, or seeds for digital | ||
| 1383 | signatures.") | ||
| 1384 | (license (list license:expat license:asl2.0)))) ; dual licensed | ||
