From: ng0 <ng0@we.make.ritual.n0.is>
To: guix-devel@gnu.org
Subject: [PATCH 2/4] gnu: Add libpthread_workqueue.
Date: Fri, 28 Oct 2016 15:01:30 +0000 [thread overview]
Message-ID: <20161028150132.25730-3-ng0@we.make.ritual.n0.is> (raw)
In-Reply-To: <20161028150132.25730-1-ng0@we.make.ritual.n0.is>
* gnu/packages/libdispatch.scm (libpthread_workqueue): New variable.
---
gnu/packages/libdispatch.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/libdispatch.scm b/gnu/packages/libdispatch.scm
index 77c80c0..37d9195 100644
--- a/gnu/packages/libdispatch.scm
+++ b/gnu/packages/libdispatch.scm
@@ -62,3 +62,34 @@ native kernel facilities.")
(synopsis "kqueue(2) compatibility library")
;; event.h is bsd-2
(license (list license:expat license:bsd-2))))
+
+(define-public libpthread_workqueue
+ (package
+ (name "libpthread_workqueue")
+ (version "0.9.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/mheily/libpwq/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0gi8l6jy5d7w3fff684qfjdj16snbc8vkf27y68w91xl5jy16xri"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'autogen
+ (lambda _
+ (zero? (system* "autoreconf" "--install" "--verbose")))))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("autoconf" ,(autoconf-wrapper))
+ ("automake" ,automake)
+ ("libtool" ,libtool)))
+ (home-page "https://github.com/mheily/libpwq")
+ (description
+ "libpthread_workqueue is a POSIX threads workqueue library.")
+ (synopsis "Portable implementation of the pthread_workqueue API")
+ (license license:bsd-2)))
--
2.10.1
next prev parent reply other threads:[~2016-10-28 15:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-28 15:01 [PATCH] Add libdispatch ng0
2016-10-28 15:01 ` [PATCH 1/4] gnu: Add libkqueue ng0
2016-10-28 15:01 ` ng0 [this message]
2016-10-28 15:01 ` [PATCH 3/4] gnu: Add libblocks-runtime ng0
2016-10-28 15:01 ` [PATCH 4/4] gnu: Add libdispatch ng0
2016-10-28 22:20 ` [PATCH] " Ricardo Wurmus
2016-10-29 7:22 ` ng0
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161028150132.25730-3-ng0@we.make.ritual.n0.is \
--to=ng0@we.make.ritual.n0.is \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).