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 @@ (define-public boost-sync 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")