mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: Add libnatpmp.
* gnu/packages/networking.scm (libnatpmp): New variable. Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
This commit is contained in:
parent
807986a55f
commit
a363978cb9
1 changed files with 36 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
||||||
;;; Copyright © 2019 Brice Waegeneire <brice@waegenei.re>
|
;;; Copyright © 2019 Brice Waegeneire <brice@waegenei.re>
|
||||||
;;; Copyright © 2019 Tonton <tonton@riseup.net>
|
;;; Copyright © 2019 Tonton <tonton@riseup.net>
|
||||||
;;; Copyright © 2019, 2020 Alex Griffin <a@ajgrf.com>
|
;;; Copyright © 2019, 2020 Alex Griffin <a@ajgrf.com>
|
||||||
;;; Copyright © 2019 Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
|
;;; Copyright © 2019, 2020 Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
|
||||||
;;; Copyright © 2019 Daniel Schaefer <git@danielschaefer.me>
|
;;; Copyright © 2019 Daniel Schaefer <git@danielschaefer.me>
|
||||||
;;; Copyright © 2019 Diego N. Barbato <dnbarbato@posteo.de>
|
;;; Copyright © 2019 Diego N. Barbato <dnbarbato@posteo.de>
|
||||||
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
||||||
|
@ -426,6 +426,41 @@ (define-public cppzmq
|
||||||
files contain direct mappings of the abstractions provided by the ØMQ C API.")
|
files contain direct mappings of the abstractions provided by the ØMQ C API.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public libnatpmp
|
||||||
|
(package
|
||||||
|
(name "libnatpmp")
|
||||||
|
(version "20150609")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"http://miniupnp.free.fr/files/"
|
||||||
|
name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1c1n8n7mp0amsd6vkz32n8zj3vnsckv308bb7na0dg0r8969rap1"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(delete 'configure)
|
||||||
|
(delete 'check)) ; no tests
|
||||||
|
#:make-flags
|
||||||
|
(let* ((target ,(%current-target-system))
|
||||||
|
(gcc (if target
|
||||||
|
(string-append target "-gcc")
|
||||||
|
"gcc")))
|
||||||
|
(list
|
||||||
|
(string-append "CC=" gcc)
|
||||||
|
(string-append "INSTALLPREFIX=" (assoc-ref %outputs "out"))
|
||||||
|
(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")))))
|
||||||
|
(home-page "http://miniupnp.free.fr/libnatpmp.html")
|
||||||
|
(synopsis "C library implementing NAT-PMP")
|
||||||
|
(description
|
||||||
|
"@code{libnatpmp} is a portable and asynchronous implementation of
|
||||||
|
the Network Address Translation - Port Mapping Protocol (NAT-PMP)
|
||||||
|
written in the C programming language.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public librdkafka
|
(define-public librdkafka
|
||||||
(package
|
(package
|
||||||
(name "librdkafka")
|
(name "librdkafka")
|
||||||
|
|
Loading…
Reference in a new issue