aboutsummaryrefslogtreecommitdiff
path: root/tests/pki.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-06-03 12:46:01 +0300
committerEfraim Flashner <efraim@flashner.co.il>2018-06-03 12:46:11 +0300
commit6f5c67d7250913bde52f47904fda08325a9334a3 (patch)
treeb027fee726aa1d786c82c2a3f1e5750cf693cff4 /tests/pki.scm
parent2c790226d22f86b641191918462fa7527c8a3ac7 (diff)
downloadguix-6f5c67d7250913bde52f47904fda08325a9334a3.tar.gz
guix-6f5c67d7250913bde52f47904fda08325a9334a3.zip
gnu: keepassxc: Fix compilation with Qt 5.11.
* gnu/packages/password-utils.scm (keepassxc)[arguments]: Add custom 'patch-sources phase to include missing headers.
Diffstat (limited to 'tests/pki.scm')
0 files changed, 0 insertions, 0 deletions
ported-modules ,%go-build-system-modules #:phases (modify-phases %standard-phases (add-before 'unpack 'setup-go-environment (assoc-ref go:%standard-phases 'setup-go-environment)) (add-after 'unpack 'go-unpack (lambda* (#:key source #:allow-other-keys) ;; Copy source to GOPATH. (copy-recursively "src" "../src/go.cypherpunks.ru/nncp/v7") ;; Move bundled dependencies to GOPATH. (for-each (lambda (dependency) (rename-file (string-append "src/vendor/go.cypherpunks.ru/" dependency) (string-append "../src/go.cypherpunks.ru/" dependency))) (list "balloon" "recfile")) ;; Delete empty bundled dependencies directory. (delete-file-recursively "src/vendor"))) (replace 'configure (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) (setenv "GO_LDFLAGS" "-trimpath") ;; Set configuration path. (setenv "CFGPATH" "/etc/nncp.hjson") ;; Set output directories. (setenv "BINDIR" (string-append out "/bin")) (setenv "INFODIR" (string-append out "/share/info")) (setenv "DOCDIR" (string-append out "/share/doc/nncp"))) ;; Set absolute store paths to sh and cat. (substitute* (list "src/pipe.go" "src/toss_test.go") (("/bin/sh") (which "sh"))) (substitute* "src/toss_test.go" (("; cat") (string-append "; " (which "cat")))) ;; Remove module flags. (substitute* (list "bin/default.do" "bin/hjson-cli.do" "test.do") ((" -mod=vendor") "") ((" -m") "")) ;; Use the correct module path. `go list` does not report the ;; correct module path since we have moved the source files. (substitute* "bin/default.do" (("^mod=[^\n]*" all) "mod=go.cypherpunks.ru/nncp/v7")) ;; Disable timeout in tests. Tests can take longer than the ;; default timeout on spinning disks. (substitute* "test.do" (("test") "test -timeout 0")))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "contrib/do" "-c" "test"))))))) (inputs (list go-github-com-davecgh-go-xdr go-github-com-dustin-go-humanize go-github-com-flynn-noise go-github-com-gorhill-cronexpr go-github-com-hjson-hjson-go-v4 go-github-com-klauspost-compress go-golang-org-x-crypto go-golang-org-x-net go-golang-org-x-term go-lukechampine-com-blake3)) (native-inputs (list go texinfo)) (home-page "http://www.nncpgo.org/") (synopsis "Store and forward utilities") (description "NNCP (Node to Node copy) is a collection of utilities simplifying secure store-and-forward files, mail and command exchanging. These utilities are intended to help build up small size (dozens of nodes) ad-hoc friend-to-friend (F2F) statically routed darknet delay-tolerant networks for fire-and-forget secure reliable files, file requests, Internet mail and commands transmission. All packets are integrity checked, end-to-end encrypted, explicitly authenticated by known participants public keys. Onion encryption is applied to relayed packets. Each node acts both as a client and server, can use push and poll behaviour model. Multicasting areas, offline sneakernet/floppynet, dead drops, sequential and append-only CD-ROM/tape storages, air-gapped computers and online TCP daemon with full-duplex resumable data transmission exists are all supported.") (license gpl3)))