[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/38: gnu: avogadro: Don't use unstable tarball.
From: |
guix-commits |
Subject: |
08/38: gnu: avogadro: Don't use unstable tarball. |
Date: |
Fri, 8 Feb 2019 18:02:31 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 631249ddc04bac63b895c0a632ff6711b1e08104
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Sun Dec 23 10:58:55 2018 +0100
gnu: avogadro: Don't use unstable tarball.
* gnu/packages/chemistry.scm (avogadro)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
---
gnu/packages/chemistry.scm | 27 +++++++++++++++------------
1 file changed, 15 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm
index a493af1..b6345b9 100644
--- a/gnu/packages/chemistry.scm
+++ b/gnu/packages/chemistry.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2018 Konrad Hinsen <address@hidden>
;;; Copyright © 2018 Kei Kebreau <address@hidden>
;;; Copyright © 2018 Efraim Flashner <address@hidden>
+;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,6 +24,7 @@
#:use-module (guix utils)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages boost)
@@ -44,18 +46,19 @@
(package
(name "avogadro")
(version "1.2.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/cryos/avogadro/archive/"
- version ".tar.gz"))
- (sha256
- (base32
- "02v4h6hi1m7ilv0apdf74a8l1cm6dxnxyqp0rdaidrp3i9pf6lv4"))
- (file-name (string-append name "-" version ".tar.gz"))
- (patches
- (search-patches "avogadro-eigen3-update.patch"
- "avogadro-python-eigen-lib.patch"
- "avogadro-boost148.patch"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cryos/avogadro.git")
+ (commit version)))
+ (sha256
+ (base32 "0258py3lkba85qhs5ynancinyym61vlp0zaq9yrfs3hhnhpzv9n2"))
+ (file-name (git-file-name name version))
+ (patches
+ (search-patches "avogadro-eigen3-update.patch"
+ "avogadro-python-eigen-lib.patch"
+ "avogadro-boost148.patch"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f
- branch master updated (307182d -> 1482531), guix-commits, 2019/02/08
- 04/38: gnu: spice-protocol: Update to 0.12.15., guix-commits, 2019/02/08
- 03/38: gnu: torsocks: Update to 2.3.0., guix-commits, 2019/02/08
- 02/38: gnu: torsocks: Don't use NAME in source URI., guix-commits, 2019/02/08
- 01/38: gnu: sdl2-ttf: Update to 2.0.15., guix-commits, 2019/02/08
- 05/38: gnu: i3blocks: Use GIT-FILE-NAME., guix-commits, 2019/02/08
- 07/38: gnu: launchmon: Don't use NAME in source URI., guix-commits, 2019/02/08
- 14/38: gnu: nnn: Don't use NAME in source URI., guix-commits, 2019/02/08
- 13/38: gnu: thefuck: Don't use unstable tarball., guix-commits, 2019/02/08
- 08/38: gnu: avogadro: Don't use unstable tarball.,
guix-commits <=
- 11/38: gnu: pam-krb5: Don't use NAME in source URI., guix-commits, 2019/02/08
- 12/38: gnu: masscan: Don't use unstable tarball., guix-commits, 2019/02/08
- 16/38: gnu: igt-gpu-tools: Don't use NAME in source URI., guix-commits, 2019/02/08
- 10/38: gnu: audit: Don't use NAME in source URI., guix-commits, 2019/02/08
- 21/38: gnu: fdupes: Don't use unstable tarball., guix-commits, 2019/02/08
- 19/38: gnu: progress: Don't use unstable tarball., guix-commits, 2019/02/08
- 32/38: gnu: abiword: Don't use NAME in source URI., guix-commits, 2019/02/08
- 37/38: gnu: perl-compress-raw-zlib: Update to 2.084., guix-commits, 2019/02/08
- 38/38: gnu: perl-io-compress: Update to 2.084., guix-commits, 2019/02/08
- 30/38: gnu: compton: Don't use unstable tarball., guix-commits, 2019/02/08