From 71154fe737b135cf9d53e9af8c410920e42523ac Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 22 Feb 2019 23:59:27 +0100 Subject: gnu: Add boost-signals2. * gnu/packages/boost.scm (boost-signals2): New variable. --- gnu/packages/boost.scm | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'gnu/packages/boost.scm') diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm index 8f5ac33700..b83bd73a39 100644 --- a/gnu/packages/boost.scm +++ b/gnu/packages/boost.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2017 Thomas Danckaert ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Arun Isaac -;;; Copyright © 2018 Ricardo Wurmus +;;; Copyright © 2018, 2019 Ricardo Wurmus ;;; Copyright © 2018 Maxim Cournoyer ;;; Copyright © 2018 Efraim Flashner ;;; @@ -182,6 +182,34 @@ and events and other thread related facilities. Boost.Sync originated from Boost.Thread.") (license (license:x11-style "https://www.boost.org/LICENSE_1_0.txt"))))) +(define-public boost-signals2 + (package + (name "boost-signals2") + (version (package-version boost)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/boostorg/signals2.git") + (commit (string-append "boost-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1nayaqshhzr1n6jj43bpvvay36d5gn075h0b95psii5x8ingszdk")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((source (assoc-ref %build-inputs "source"))) + (copy-recursively (string-append source "/include") + (string-append %output "/include")))))) + (home-page "https://github.com/boostorg/signals2") + (synopsis "Boost.Signals2 library") + (description "The Boost.Signals2 library is an implementation of a managed +signals and slots system.") + (license (license:x11-style "https://www.boost.org/LICENSE_1_0.txt")))) + (define-public mdds (package (name "mdds") -- cgit 1.4.1