(define-module (battering packages cryptocurrency) #:use-module (guix packages) #:use-module (guix git-download) #:use-module (guix download) #:use-module (guix build-system cmake) #:use-module (gnu packages check) #:use-module (gnu packages pretty-print) #:use-module (guix gexp) #:use-module (guix utils) #:use-module (gnu packages aidc) #:use-module (gnu packages boost) #:use-module (gnu packages compression) #:use-module (gnu packages crypto) #:use-module (gnu packages dns) #:use-module (gnu packages documentation) #:use-module (gnu packages freedesktop) #:use-module (gnu packages graphviz) #:use-module (gnu packages libusb) #:use-module (gnu packages pkg-config) #:use-module (gnu packages protobuf) #:use-module (gnu packages python) #:use-module (gnu packages qt) #:use-module (gnu packages readline) #:use-module (gnu packages tls) #:use-module (gnu packages vulkan) #:use-module (gnu packages xdisorg) #:use-module ((guix licenses) #:prefix license:)) (define-public zxing-cpp (package (name "zxing-cpp") (version "2.2.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/nu-book/zxing-cpp") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "1dr12rj1b6m436nbwmcd0b1njhmkl26qxy4f1lhcmd4x5x2f2vfa")))) (build-system cmake-build-system) (native-inputs (list fmt-8 googletest)) (arguments '(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release" "-DBUILD_DEPENDENCIES=LOCAL" "-DBUILD_EXAMPLES=OFF" "-DBUILD_BLACKBOX_TESTS=OFF" "-DBUILD_UNIT_TESTS=OFF"))) (synopsis "C++ port of ZXing") (description "ZXing-CPP is a barcode scanning library.") (home-page "https://github.com/nu-book/zxing-cpp") (license license:asl2.0))) (define-public feather (package (name "feather") (version "2.8.1") (source (origin (method url-fetch) (uri (string-append "https://featherwallet.org/files/releases/source/feather-" version ".tar.gz")) (sha256 (base32 "07i9qkl1rrsmz4c5rdrjn1lsdkd813faxrln7kk8vg1s2b2wpf0x")))) (build-system cmake-build-system) (native-inputs (list pkg-config python doxygen graphviz qttools)) (inputs (list openssl `(,unbound "out") protobuf zlib hidapi readline boost qrencode libusb zxing-cpp qtbase libxkbcommon vulkan-headers qtsvg qtwayland qtwebsockets qtmultimedia wayland libsodium)) (arguments (list #:tests? #f #:configure-flags #~(list "-DCMAKE_BUILD_TYPE=Release" "-DARCH=x86-64" (string-append "-DBUILD_64=" #$(if (target-64bit?) "ON" "OFF")) "-DSELF_CONTAINED=OFF" "-DWITH_PLUGIN_REDDIT=OFF" "-DCHECK_UPDATES=OFF" "-DPLATFORM_INSTALLER=OFF" "-DUSE_DEVICE_TREZOR=ON" "-DDONATE_BEG=OFF" "-DWITH_SCANNER=ON"))) (home-page "https://featherwallet.org") (synopsis "A free Monero Desktop wallet") (description "Feather is a free, open-source, small Monero wallet. It is written in C++ with the Qt framework. It supports Tor routing.") (license license:bsd-3)))