guix-kakafarm-channel

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 5ec18e5067373518fbea2d4b77836e606d4ae31f
parent c0ef5140842d939b256f3a774261629b8dfc6126
Author: Yuval Langer <yuval.langer@gmail.com>
Date:   Sat, 23 Dec 2023 01:33:47 +0200

Add rust-rusty-diceware and rust-rusty-diceware-wordlists.

Diffstat:
Akakafarm/packages/rust-apps.scm | 61+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+), 0 deletions(-)

diff --git a/kakafarm/packages/rust-apps.scm b/kakafarm/packages/rust-apps.scm @@ -0,0 +1,61 @@ +(define-module (kakafarm packages rust-apps) + #:use-module (guix build-system cargo) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (gnu packages crates-io)) + +(define-public rust-rusty-diceware-wordlists + (package + (name "rust-rusty-diceware-wordlists") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "diceware_wordlists" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1sx1lbw5z0bvm9d1z0mkpz5d0k7b6f2wwga2il78jfnk7j2f6sw2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)))) + (home-page "https://gitlab.com/yuvallangerontheroad/rusty-diceware") + (synopsis "Wordlists for the command line tool Rusty Diceware") + (description + "Wordlists for the command line tool Rusty Diceware. + +Featuring the Reinhold and Beale Diceware wordlists, the EFF wordlists, and MiniLock wordlist.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-rusty-diceware + (package + (name "rust-rusty-diceware") + (version "0.5.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "diceware" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "082l4a444qq9scmnc25kqp11v02gv3yms1q8ysrhsirb04fvjy6y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rusty-diceware-wordlists" ,rust-rusty-diceware-wordlists) + ("rust-getopts" ,rust-getopts-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-chacha" ,rust-rand-chacha-0.3)))) + (home-page "https://gitlab.com/yuvallangerontheroad/rusty-diceware") + (synopsis "A command line diceware, with or without dice") + (description + "Commandline Diceware, with or without dice. + +Inspired by the great passphrase generating solution Diceware invented +by Arnold G. Reinhold. + +Featuring the Reinhold and Beale Diceware wordlists, the EFF wordlists, and MiniLock wordlist.") + (license (list license:agpl3+))))