[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48729] [PATCH v5 12/25] gnu: Add go-github-com-blanu-dust.
From: |
Raghav Gururajan |
Subject: |
[bug#48729] [PATCH v5 12/25] gnu: Add go-github-com-blanu-dust. |
Date: |
Fri, 18 Jun 2021 02:44:06 -0400 |
* gnu/packages/golang.scm (go-github-com-blanu-dust): New variable.
---
gnu/packages/golang.scm | 123 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 123 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 401b13791c..abe8b7cf40 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,129 @@
#:use-module (ice-9 match)
#:use-module (srfi srfi-1))
+(define-public go-github-com-blanu-dust
+ (package
+ (name "go-github-com-blanu-dust")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/blanu/Dust")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1lya21w06ramq37af5hdiafbrv5k1csjm7k7m00v0bfxg3ni01bs"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:unpack-path "github.com/blanu/Dust"
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda* (#:key source system outputs search-paths build-flags
+ unpack-path inputs #:allow-other-keys)
+ (for-each
+ (lambda (directory)
+ ((assoc-ref %standard-phases 'build)
+ #:source source
+ #:system system
+ #:outputs outputs
+ #:search-paths search-paths
+ #:build-flags build-flags
+ #:unpack-path unpack-path
+ #:inputs inputs
+ #:import-path directory))
+ (list
+ "github.com/blanu/Dust/go/buf"
+ "github.com/blanu/Dust/go/dist"
+ "github.com/blanu/Dust/go/huffman"
+ "github.com/blanu/Dust/go/model1"
+ "github.com/blanu/Dust/go/prim1"
+ "github.com/blanu/Dust/go/proc"
+ "github.com/blanu/Dust/go/sillyHex"
+ "github.com/blanu/Dust/go/skein"
+ "github.com/blanu/Dust/go/v2/Dust2_proxy"
+ "github.com/blanu/Dust/go/v2/Dust2_tool"
+ "github.com/blanu/Dust/go/v2/crypting"
+ "github.com/blanu/Dust/go/v2/interface"
+ "github.com/blanu/Dust/go/v2/shaping"))))
+ (replace 'check
+ (lambda* (#:key source system outputs search-paths tests?
unpack-path
+ inputs #:allow-other-keys)
+ (for-each
+ (lambda (directory)
+ ((assoc-ref %standard-phases 'check)
+ #:source source
+ #:system system
+ #:outputs outputs
+ #:search-paths search-paths
+ #:tests? tests?
+ #:unpack-path unpack-path
+ #:inputs inputs
+ #:import-path directory))
+ (list
+ "github.com/blanu/Dust/go/buf"
+ "github.com/blanu/Dust/go/dist"
+ ;; Repository is missing test files directory.
+ ;;"github.com/blanu/Dust/go/huffman"
+ "github.com/blanu/Dust/go/model1"
+ "github.com/blanu/Dust/go/prim1"
+ "github.com/blanu/Dust/go/proc"
+ "github.com/blanu/Dust/go/sillyHex"
+ "github.com/blanu/Dust/go/skein"
+ "github.com/blanu/Dust/go/v2/Dust2_proxy"
+ "github.com/blanu/Dust/go/v2/Dust2_tool"
+ "github.com/blanu/Dust/go/v2/crypting"
+ "github.com/blanu/Dust/go/v2/interface"
+ "github.com/blanu/Dust/go/v2/shaping"))))
+ (replace 'install
+ (lambda* (#:key source system outputs search-paths install-source?
+ unpack-path inputs #:allow-other-keys)
+ (for-each
+ (lambda (directory)
+ ((assoc-ref %standard-phases 'install)
+ #:source source
+ #:system system
+ #:outputs outputs
+ #:search-paths search-paths
+ #:install-source? install-source?
+ #:unpack-path unpack-path
+ #:inputs inputs
+ #:import-path directory))
+ (list
+ "github.com/blanu/Dust/go/buf"
+ "github.com/blanu/Dust/go/dist"
+ "github.com/blanu/Dust/go/huffman"
+ "github.com/blanu/Dust/go/model1"
+ "github.com/blanu/Dust/go/prim1"
+ "github.com/blanu/Dust/go/proc"
+ "github.com/blanu/Dust/go/sillyHex"
+ "github.com/blanu/Dust/go/skein"
+ "github.com/blanu/Dust/go/v2/Dust2_proxy"
+ "github.com/blanu/Dust/go/v2/Dust2_tool"
+ "github.com/blanu/Dust/go/v2/crypting"
+ "github.com/blanu/Dust/go/v2/interface"
+ "github.com/blanu/Dust/go/v2/shaping")))))))
+ (propagated-inputs
+ `(("go-github-com-operatorfoundation-ed25519"
+ ,go-github-com-operatorfoundation-ed25519)
+ ("go-github-com-op-go-logging"
+ ,go-github-com-op-go-logging)
+ ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
+ (home-page "https://github.com/blanu/Dust")
+ (synopsis "Censorship-Resistant Internet Transport Protocol")
+ (description "Dust is an Internet protocol designed to resist a number of
+attacks currently in active use to censor Internet communication. While
+adherence to the theoretical maxims of cryptographic security are observed
where
+possible, the focus of Dust is on real solutions to real attacks.")
+ (license
+ (list
+ ;; Skein.
+ license:bsd-2
+ ;; Others.
+ license:expat))))
+
(define-public go-github-com-op-go-logging
(package
(name "go-github-com-op-go-logging")
--
2.32.0
- [bug#48729] [PATCH v5 02/25] gnu: Add go-github-com-dchest-siphash., (continued)
- [bug#48729] [PATCH v5 02/25] gnu: Add go-github-com-dchest-siphash., Raghav Gururajan, 2021/06/18
- [bug#48729] [PATCH v5 04/25] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt., Raghav Gururajan, 2021/06/18
- [bug#48729] [PATCH v5 08/25] gnu: Add go-github-com-willscott-goturn., Raghav Gururajan, 2021/06/18
- [bug#48729] [PATCH v5 05/25] gnu: Add go-github-com-keybase-go-ps., Raghav Gururajan, 2021/06/18
- [bug#48729] [PATCH v5 03/25] gnu: Add go-github-com-emersion-go-autostart., Raghav Gururajan, 2021/06/18
- [bug#48729] [PATCH v5 06/25] gnu: Add go-github-com-sevlyar-go-daemon., Raghav Gururajan, 2021/06/18
- [bug#48729] [PATCH v5 13/25] gnu: Add go-github-com-deckarep-golang-set., Raghav Gururajan, 2021/06/18
- [bug#48729] [PATCH v5 09/25] gnu: Add go-github-com-operatorfoundation-obfs4., Raghav Gururajan, 2021/06/18
- [bug#48729] [PATCH v5 07/25] gnu: Add go-torproject-org-pluggable-transports-goptlib., Raghav Gururajan, 2021/06/18
- [bug#48729] [PATCH v5 11/25] gnu: Add go-github-com-op-go-logging., Raghav Gururajan, 2021/06/18
- [bug#48729] [PATCH v5 12/25] gnu: Add go-github-com-blanu-dust.,
Raghav Gururajan <=
- [bug#48729] [PATCH v5 10/25] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc., Raghav Gururajan, 2021/06/18