projects/guix·blob python-team · refs

65 lines · 2.6 KiB

1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2019 Jakob L. Kreuze <[email protected]>
3;;; Copyright © 2020 Tobias Geerinckx-Rice <[email protected]>
4;;; Copyright © 2021 Solene Rapenne <[email protected]>
5;;; Copyright © 2021 Efraim Flashner <[email protected]>
6;;; Copyright © 2026 Tomás Ortín Fernández (quanrong) <[email protected]>
7;;;
8;;; This file is part of GNU Guix.
9;;;
10;;; GNU Guix is free software; you can redistribute it and/or modify it
11;;; under the terms of the GNU General Public License as published by
12;;; the Free Software Foundation; either version 3 of the License, or (at
13;;; your option) any later version.
14;;;
15;;; GNU Guix is distributed in the hope that it will be useful, but
16;;; WITHOUT ANY WARRANTY; without even the implied warranty of
17;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18;;; GNU General Public License for more details.
19;;;
20;;; You should have received a copy of the GNU General Public License
21;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
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
62applications for file sharing, web browsing, instant messaging, and more are
63built. i2pd allows people from all around the world to communicate and share
64information securely without restrictions.")
65 (license license:bsd-3)))