[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
154/295: gnu: Add nanomsg.
From: |
guix-commits |
Subject: |
154/295: gnu: Add nanomsg. |
Date: |
Mon, 27 Jul 2020 06:25:56 -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")
- 138/295: gnu: gjs: Update to 1.58.8., (continued)
- 138/295: gnu: gjs: Update to 1.58.8., guix-commits, 2020/07/27
- 140/295: gnu: Add mutest., guix-commits, 2020/07/27
- 141/295: gnu: graphene: Update package definition., guix-commits, 2020/07/27
- 146/295: gnu: glib-with-documentation: Update package definition., guix-commits, 2020/07/27
- 149/295: gnu: gstreamer: Update package definition., guix-commits, 2020/07/27
- 150/295: gnu: Add libvisual., guix-commits, 2020/07/27
- 151/295: gnu: Add libvisual-plugins., guix-commits, 2020/07/27
- 128/295: gnu: enchant-1.6: Update package definition., guix-commits, 2020/07/27
- 132/295: gnu: gcab: Update to 1.4., guix-commits, 2020/07/27
- 137/295: gnu: Add sysprof., guix-commits, 2020/07/27
- 154/295: gnu: Add nanomsg.,
guix-commits <=
- 143/295: gnu: Add esound., guix-commits, 2020/07/27
- 136/295: gnu: geoclue: Update to 2.5.6., guix-commits, 2020/07/27
- 155/295: gnu: Add nng., guix-commits, 2020/07/27
- 52/295: gnu: emacs-idris-mode: Update to 1.0., guix-commits, 2020/07/27
- 50/295: gnu: r-openssl: Update to 1.4.2., guix-commits, 2020/07/27
- 55/295: gnu: Add rust-hmac-0.7., guix-commits, 2020/07/27
- 49/295: gnu: r-roxygen2: Update to 7.1.1., guix-commits, 2020/07/27
- 60/295: gnu: emacs-nov-el: Use version tag instead of commit., guix-commits, 2020/07/27
- 56/295: gnu: Add rust-pbkdf2-0.3., guix-commits, 2020/07/27
- 61/295: gnu: emacs-nov-el: Update to 0.3.1., guix-commits, 2020/07/27