mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: Add range-v3.
* gnu/packages/cpp.scm (range-v3): New variable. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
This commit is contained in:
parent
75bdc9a782
commit
a5f4d39027
1 changed files with 40 additions and 0 deletions
|
@ -49,6 +49,7 @@
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
#:use-module (gnu packages crypto)
|
#:use-module (gnu packages crypto)
|
||||||
#:use-module (gnu packages curl)
|
#:use-module (gnu packages curl)
|
||||||
|
#:use-module (gnu packages documentation)
|
||||||
#:use-module (gnu packages gcc)
|
#:use-module (gnu packages gcc)
|
||||||
#:use-module (gnu packages libevent)
|
#:use-module (gnu packages libevent)
|
||||||
#:use-module (gnu packages libunwind)
|
#:use-module (gnu packages libunwind)
|
||||||
|
@ -63,6 +64,45 @@
|
||||||
#:use-module (gnu packages tls)
|
#:use-module (gnu packages tls)
|
||||||
#:use-module (gnu packages web))
|
#:use-module (gnu packages web))
|
||||||
|
|
||||||
|
(define-public range-v3
|
||||||
|
(package
|
||||||
|
(name "range-v3")
|
||||||
|
(version "0.11.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri
|
||||||
|
(git-reference
|
||||||
|
(url "https://github.com/ericniebler/range-v3.git")
|
||||||
|
(commit version)))
|
||||||
|
(file-name
|
||||||
|
(git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "18230bg4rq9pmm5f8f65j444jpq56rld4fhmpham8q3vr1c1bdjh"))))
|
||||||
|
(build-system cmake-build-system)
|
||||||
|
(native-inputs
|
||||||
|
`(("doxygen" ,doxygen)
|
||||||
|
("perl" ,perl)))
|
||||||
|
(inputs
|
||||||
|
`(("boost" ,boost)))
|
||||||
|
(synopsis "Range library for C++14/17/20")
|
||||||
|
(description "Range-v3 is an extension of the Standard Template Library that
|
||||||
|
makes its iterators and algorithms more powerful by making them composable.
|
||||||
|
Unlike other range-like solutions which, seek to do away with iterators, in
|
||||||
|
range-v3 ranges are an abstration layer on top of iterators.")
|
||||||
|
(home-page "https://github.com/ericniebler/range-v3/")
|
||||||
|
(license
|
||||||
|
(list
|
||||||
|
;; Elements of Programming
|
||||||
|
(license:x11-style "file:///LICENSE.txt")
|
||||||
|
;; SGI STL
|
||||||
|
license:sgifreeb2.0
|
||||||
|
;;; LibC++ (dual-licensed)
|
||||||
|
license:expat
|
||||||
|
license:ncsa
|
||||||
|
;; Others
|
||||||
|
license:boost1.0))))
|
||||||
|
|
||||||
(define-public c++-gsl
|
(define-public c++-gsl
|
||||||
(package
|
(package
|
||||||
(name "c++-gsl")
|
(name "c++-gsl")
|
||||||
|
|
Loading…
Reference in a new issue