[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
49/334: gnu: Add nanomsg.
From: |
guix-commits |
Subject: |
49/334: gnu: Add nanomsg. |
Date: |
Sat, 15 Aug 2020 16:26:16 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit af64a81f736279d5f446340f94a3286a0f643128
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 3a74c59..2b79bdb 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")
- 146/334: gnu: pixman: Update package definition., (continued)
- 146/334: gnu: pixman: Update package definition., guix-commits, 2020/08/15
- 147/334: gnu: cairo: Update package definition., guix-commits, 2020/08/15
- 134/334: gnu: libwpe: Update package definition., guix-commits, 2020/08/15
- 143/334: gnu: yelp-tools: Update package definition., guix-commits, 2020/08/15
- 48/334: gnu: gst-plugins-good: Update package definition., guix-commits, 2020/08/15
- 70/334: gnu: Add tinyalsa., guix-commits, 2020/08/15
- 65/334: gnu: Add schroedinger., guix-commits, 2020/08/15
- 69/334: gnu: Add libopenmpt., guix-commits, 2020/08/15
- 62/334: gnu: Add libvideogfx., guix-commits, 2020/08/15
- 64/334: gnu: Add libmms., guix-commits, 2020/08/15
- 49/334: gnu: Add nanomsg.,
guix-commits <=
- 63/334: gnu: Add libde265., guix-commits, 2020/08/15
- 76/334: gnu: Add vo-aacenc., guix-commits, 2020/08/15
- 84/334: gnu: gtk+-2: Update package definition., guix-commits, 2020/08/15
- 97/334: gnu: gst-plugins-bad: Update package definition., guix-commits, 2020/08/15
- 98/334: gnu: gst-plugins-ugly: Update package definition., guix-commits, 2020/08/15
- 109/334: gnu: Add rust-serial-test-derive@0.4.0., guix-commits, 2020/08/15
- 119/334: git: rust-rgb: Update to 0.8.20., guix-commits, 2020/08/15
- 120/334: gnu: Add rust-servo-arc@0.1.1., guix-commits, 2020/08/15
- 118/334: gnu: Add rust-pin-project@0.4.22., guix-commits, 2020/08/15
- 122/334: gnu: Add rust-xml5ever@0.16.1., guix-commits, 2020/08/15