blob: ea8d413736c0ca89f07a4c1c544474f173779958 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
(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)))
|