guix-kakafarm-channel

Kaka Farm's GNU Guix channel.
git clone https://kaka.farm/~git/guix-kakafarm-channel
Log | Files | Refs | README | LICENSE

rust-apps.scm (3058B)


      1 ;;; Kakafarm's Guix Channel
      2 ;;; Copyright © 2023-2024 Yuval Langer <yuval.langer@gmail.com>
      3 ;;;
      4 ;;; This file is part of Kakafarm's Guix Channel.
      5 ;;;
      6 ;;; Kakafarm's Guix Channel is free software; you can redistribute it
      7 ;;; and/or modify it under the terms of the GNU General Public License
      8 ;;; as published by the Free Software Foundation; either version 3 of
      9 ;;; the License, or (at your option) any later version.
     10 ;;;
     11 ;;; Kakafarm's Guix Channel is distributed in the hope that it will be
     12 ;;; useful, but WITHOUT ANY WARRANTY; without even the implied
     13 ;;; warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     14 ;;; See the GNU General Public License for more details.
     15 ;;;
     16 ;;; You should have received a copy of the GNU General Public License
     17 ;;; along with Kakafarm's Guix Channel.  If not, see
     18 ;;; <http://www.gnu.org/licenses/>.
     19 
     20 (define-module (kakafarm packages rust-apps)
     21   #:use-module (guix build-system cargo)
     22   #:use-module (guix download)
     23   #:use-module ((guix licenses)
     24                 #:prefix license:)
     25   #:use-module (guix packages)
     26   #:use-module (gnu packages crates-io))
     27 
     28 (define-public rust-rusty-diceware-wordlists
     29   (package
     30     (name "rust-rusty-diceware-wordlists")
     31     (version "1.2.1")
     32     (source
     33      (origin
     34        (method url-fetch)
     35        (uri (crate-uri "diceware_wordlists" version))
     36        (file-name (string-append name "-" version ".tar.gz"))
     37        (sha256
     38         (base32 "1sx1lbw5z0bvm9d1z0mkpz5d0k7b6f2wwga2il78jfnk7j2f6sw2"))))
     39     (build-system cargo-build-system)
     40     (arguments
     41      `(#:cargo-inputs (("rust-serde" ,rust-serde-1))))
     42     (home-page "https://gitlab.com/yuvallangerontheroad/rusty-diceware")
     43     (synopsis "Wordlists for the command line tool Rusty Diceware")
     44     (description
     45      "Wordlists for the command line tool Rusty Diceware.
     46 
     47 Featuring the Reinhold and Beale Diceware wordlists, the EFF wordlists, and MiniLock wordlist.")
     48     (license (list license:asl2.0 license:expat))))
     49 
     50 (define-public rust-rusty-diceware
     51   (package
     52     (name "rust-rusty-diceware")
     53     (version "0.5.8")
     54     (source
     55      (origin
     56        (method url-fetch)
     57        (uri (crate-uri "diceware" version))
     58        (file-name (string-append name "-" version ".tar.gz"))
     59        (sha256
     60         (base32 "082l4a444qq9scmnc25kqp11v02gv3yms1q8ysrhsirb04fvjy6y"))))
     61     (build-system cargo-build-system)
     62     (arguments
     63      `(#:cargo-inputs (("rust-rusty-diceware-wordlists" ,rust-rusty-diceware-wordlists)
     64                        ("rust-getopts" ,rust-getopts-0.2)
     65                        ("rust-rand" ,rust-rand-0.8)
     66                        ("rust-rand-chacha" ,rust-rand-chacha-0.3))))
     67     (home-page "https://gitlab.com/yuvallangerontheroad/rusty-diceware")
     68     (synopsis "A command line diceware, with or without dice")
     69     (description
     70      "Commandline Diceware, with or without dice.
     71 
     72 Inspired by the great passphrase generating solution Diceware invented
     73 by Arnold G. Reinhold.
     74 
     75 Featuring the Reinhold and Beale Diceware wordlists, the EFF wordlists, and MiniLock wordlist.")
     76     (license (list license:agpl3+))))