[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
50/100: gnu: Add nanomsg.
From: |
guix-commits |
Subject: |
50/100: gnu: Add nanomsg. |
Date: |
Wed, 8 Jul 2020 03:36:46 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 440878bbf2d100ab17caf99d7e32041511a745f6
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 af49b25..3bbee79 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")
- 34/100: gnu: gjs: Update to 1.58.8., (continued)
- 34/100: gnu: gjs: Update to 1.58.8., guix-commits, 2020/07/08
- 41/100: gnu: glib: Update package definition., guix-commits, 2020/07/08
- 43/100: gnu: glib-networking: Update to 2.64.3., guix-commits, 2020/07/08
- 37/100: gnu: graphene: Update package definition., guix-commits, 2020/07/08
- 38/100: gnu: gsettings-desktop-schemas: Update package definition., guix-commits, 2020/07/08
- 46/100: gnu: Add libvisual., guix-commits, 2020/07/08
- 40/100: gnu: faad2: Update to 2.8.8., guix-commits, 2020/07/08
- 45/100: gnu: gstreamer: Update package definition., guix-commits, 2020/07/08
- 51/100: gnu: Add nng., guix-commits, 2020/07/08
- 52/100: gnu: Add ccextractor., guix-commits, 2020/07/08
- 50/100: gnu: Add nanomsg.,
guix-commits <=
- 42/100: gnu: glib-with-documentation: Update package definition., guix-commits, 2020/07/08
- 47/100: gnu: Add libvisual-plugins., guix-commits, 2020/07/08
- 54/100: gnu: Add ruby-slim., guix-commits, 2020/07/08
- 64/100: gnu: Add libde265., guix-commits, 2020/07/08
- 59/100: gnu: Add directfb., guix-commits, 2020/07/08
- 62/100: gnu: Add ffmpeg-2.8., guix-commits, 2020/07/08
- 69/100: gnu: Add libofa., guix-commits, 2020/07/08
- 70/100: gnu: Add libopenmpt., guix-commits, 2020/07/08
- 72/100: gnu: Add lksctp-tools., guix-commits, 2020/07/08
- 44/100: gnu: gobject-introspection: Update package definition., guix-commits, 2020/07/08