From: Roel Janssen <roel@gnu.org>
To: guix-devel@gnu.org
Subject: Multiple versions of boost.
Date: Sat, 19 Mar 2016 10:14:12 +0100 [thread overview]
Message-ID: <87r3f6x21n.fsf@gnu.org> (raw)
Dear list,
In my list of packages, I find older versions of Boost. Specifically,
version 1.57.0 and version 1.56.0. In Guix we've got version 1.60.0.
I would like to add the older versions as packages as well, and my
current approach is to inherit most of the 1.60.0 package:
(define boost-1.57.0
(package (inherit boost)
(name "boost")
(version "1.57.0")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://sourceforge/boost/boost_"
(string-map (lambda (x) (if (eq? x #\.) #\_ x)) version)
".tar.bz2"))
(sha256
(base32
"0rs94vdmg34bwwj23fllva6mhrml2i7mvmlb11zyrk1k5818q34i"))))))
Is this a workable approach? If not, how could I go about adding
multiple versions?
My other questions:
- What is the convention with the Scheme variable name for the package?
- Should I distinguish the package name in its version?
Thank you for your time.
Kind regards,
Roel Janssen
next reply other threads:[~2016-03-19 9:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-19 9:14 Roel Janssen [this message]
2016-03-19 9:33 ` Multiple versions of boost Ricardo Wurmus
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=87r3f6x21n.fsf@gnu.org \
--to=roel@gnu.org \
--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).