[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/48: gnu: Add nanomsg.
From: |
guix-commits |
Subject: |
17/48: gnu: Add nanomsg. |
Date: |
Tue, 18 Aug 2020 17:08:37 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit 0b4327fe44bfe395a5ac6a3fe035537430836c4d
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Mon Jun 29 01:39:30 2020 -0400
gnu: Add nanomsg.
* gnu/packages/networking.scm (nanomsg): New variable.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/networking.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 9a88535..f10d57a 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -119,6 +119,7 @@
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages readline)
+ #:use-module (gnu packages ruby)
#:use-module (gnu packages samba)
#:use-module (gnu packages serialization)
#:use-module (gnu packages sqlite)
@@ -131,6 +132,48 @@
#:use-module (gnu packages xml)
#:use-module (ice-9 match))
+(define-public nanomsg
+ (package
+ (name "nanomsg")
+ (version "1.1.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/nanomsg/nanomsg.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "01ddfzjlkf2dgijrmm3j3j8irccsnbgfvjcnwslsfaxnrmrq5s64"))))
+ (build-system cmake-build-system)
+ (outputs '("out" "doc"))
+ (arguments
+ `(#:configure-flags
+ (list
+ "-DNN_ENABLE_COVERAGE=ON")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'move-docs
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (assoc-ref outputs "doc")))
+ (mkdir-p (string-append doc "/share/doc"))
+ (rename-file
+ (string-append out "/share/doc/nanomsg")
+ (string-append doc "/share/doc/nanomsg"))
+ #t))))))
+ (native-inputs
+ `(("asciidoctor" ,ruby-asciidoctor)
+ ("pkg-config" ,pkg-config)))
+ (synopsis "Scalable socket library")
+ (description "Nanomsg is a socket library that provides several common
+communication patterns. It aims to make the networking layer fast, scalable,
+and easy to use. Implemented in C, it works on a wide range of operating
+systems with no further dependencies.")
+ (home-page "https://nanomsg.org/")
+ (license (license:non-copyleft "file:///COPYING"))))
+
(define-public blueman
(package
(name "blueman")
- 07/48: gnu: Add gnome-music., (continued)
- 07/48: gnu: Add gnome-music., guix-commits, 2020/08/18
- 09/48: gnu: Add ronn., guix-commits, 2020/08/18
- 11/48: gnu: Add presage., guix-commits, 2020/08/18
- 12/48: gnu: Add sysprof., guix-commits, 2020/08/18
- 08/48: gnu: Add gnome-photos., guix-commits, 2020/08/18
- 13/48: gnu: Add mutest., guix-commits, 2020/08/18
- 14/48: gnu: Add esound., guix-commits, 2020/08/18
- 16/48: gnu: Add libvisual-plugins., guix-commits, 2020/08/18
- 10/48: gnu: Add nuspell., guix-commits, 2020/08/18
- 15/48: gnu: Add libvisual., guix-commits, 2020/08/18
- 17/48: gnu: Add nanomsg.,
guix-commits <=
- 18/48: gnu: Add nng., guix-commits, 2020/08/18
- 19/48: gnu: Add ccextractor., guix-commits, 2020/08/18
- 23/48: gnu: Add flux., guix-commits, 2020/08/18
- 24/48: gnu: Add libtimidity., guix-commits, 2020/08/18
- 22/48: gnu: Add tslib., guix-commits, 2020/08/18
- 28/48: gnu: Add ffmpeg-2.8., guix-commits, 2020/08/18
- 21/48: gnu: Add libmpeg3., guix-commits, 2020/08/18
- 29/48: gnu: Add libvideogfx., guix-commits, 2020/08/18
- 20/48: gnu: Add libdc1394., guix-commits, 2020/08/18
- 25/48: gnu: Add directfb., guix-commits, 2020/08/18