aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/boost.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-10 09:47:29 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-03-12 15:34:28 +0200
commitf204d155e3d41e95dbd5e0eda42c74592c7b4262 (patch)
treeccb1f963ec1031e3dac9ba9b515be131227e5d70 /gnu/packages/boost.scm
parent37109658a589285c3d70197adfdca20f1c48c355 (diff)
downloadpatches-f204d155e3d41e95dbd5e0eda42c74592c7b4262.tar
patches-f204d155e3d41e95dbd5e0eda42c74592c7b4262.tar.gz
gnu: Add boost-1.69.
* gnu/packages/boost.scm (boost-1.69): New hidden package.
Diffstat (limited to 'gnu/packages/boost.scm')
-rw-r--r--gnu/packages/boost.scm25
1 files changed, 24 insertions, 1 deletions
diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm
index 11fb8e1201..8bf2002adb 100644
--- a/gnu/packages/boost.scm
+++ b/gnu/packages/boost.scm
@@ -9,7 +9,7 @@
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
-;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2018, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
;;; This file is part of GNU Guix.
@@ -195,6 +195,29 @@ across a broad spectrum of applications.")
(symlink "libboost_python27.a" "libboost_python.a"))
#t)))))))))
+(define-public boost-1.69
+ (package
+ (inherit boost)
+ (name "boost")
+ (version "1.69.0")
+ (source (origin
+ (method url-fetch)
+ (uri (let ((version-with-underscores
+ (string-map (lambda (x) (if (eq? x #\.) #\_ x)) version)))
+ (list (string-append "mirror://sourceforge/boost/boost/" version
+ "/boost_" version-with-underscores ".tar.bz2")
+ (string-append "https://dl.bintray.com/boostorg/release/"
+ version "/source/boost_"
+ version-with-underscores ".tar.bz2"))))
+ (sha256
+ (base32
+ "01j4n142dz20lcgqji8d8hspp04p1nv7m8i6dz8w5lchfdhx8clg"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments boost)
+ ((#:make-flags flags)
+ `(cons* "cxxflags=-std=c++14" ,flags))))
+ (properties '((hidden? . #t)))))
+
(define-public boost-for-mysql
;; Older version for MySQL 5.7.23.
(package