| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 |
|
| 23 | (define-module (gnu packages i2p)
|
| 24 | #:use-module (gnu packages boost)
|
| 25 | #:use-module (gnu packages check)
|
| 26 | #:use-module (gnu packages compression)
|
| 27 | #:use-module (gnu packages pkg-config)
|
| 28 | #:use-module (gnu packages tls)
|
| 29 | #:use-module (gnu packages upnp)
|
| 30 | #:use-module (guix gexp)
|
| 31 | #:use-module (guix packages)
|
| 32 | #:use-module (guix git-download)
|
| 33 | #:use-module (guix build-system cmake)
|
| 34 | #:use-module ((guix licenses) #:prefix license:))
|
| 35 |
|
| 36 | (define-public i2pd
|
| 37 | (package
|
| 38 | (name "i2pd")
|
| 39 | (version "2.61.0")
|
| 40 | (source
|
| 41 | (origin
|
| 42 | (method git-fetch)
|
| 43 | (uri (git-reference
|
| 44 | (url "https://github.com/PurpleI2P/i2pd")
|
| 45 | (commit version)))
|
| 46 | (file-name (git-file-name name version))
|
| 47 | (sha256
|
| 48 | (base32 "0hvdx47yf5dn6g54sazwqrrr275fcd76djnv609il68kmrirxw3m"))))
|
| 49 | (build-system cmake-build-system)
|
| 50 | (native-inputs (list check pkg-config))
|
| 51 | (inputs
|
| 52 | (list boost-1.83 miniupnpc openssl zlib))
|
| 53 | (arguments
|
| 54 | (list
|
| 55 | #:configure-flags
|
| 56 | #~(list (string-append "-S" #$source "/build")
|
| 57 | "-DWITH_UPNP=ON"
|
| 58 | "-DBUILD_SHARED_LIBS=ON")))
|
| 59 | (home-page "https://i2pd.website/")
|
| 60 | (synopsis "Router for an end-to-end encrypted and anonymous internet")
|
| 61 | (description "i2pd is a client for the anonymous I2P network, upon which
|
| 62 | applications for file sharing, web browsing, instant messaging, and more are
|
| 63 | built. i2pd allows people from all around the world to communicate and share
|
| 64 | information securely without restrictions.")
|
| 65 | (license license:bsd-3)))
|