gnu: axoloti-runtime: Don't use unstable tarball.
* gnu/packages/axoloti.scm (axoloti-runtime)[source]: Use GIT-FETCH and GIT-FILE-NAME. (axoloti-patcher)[arguments]: Add ‘make-git-checkout-writable’ phase.master
parent
d2fd037fd0
commit
07c1a10ef6
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2016, 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2016, 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
|
||||||
|
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -20,6 +21,7 @@
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
#:use-module (guix git-download)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (guix build-system ant)
|
#:use-module (guix build-system ant)
|
||||||
|
@ -64,20 +66,21 @@
|
||||||
(package
|
(package
|
||||||
(name "axoloti-runtime")
|
(name "axoloti-runtime")
|
||||||
(version "1.0.12")
|
(version "1.0.12")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "https://github.com/axoloti/axoloti/"
|
(method git-fetch)
|
||||||
"archive/" version ".tar.gz"))
|
(uri (git-reference
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(url "https://github.com/axoloti/axoloti.git")
|
||||||
(sha256
|
(commit version)))
|
||||||
(base32
|
(file-name (git-file-name name version))
|
||||||
"1dynk6h0nixp4zihpirpqa4vi8fq1lhm443jsmvhk135ykhf364p"))
|
(sha256
|
||||||
(modules '((guix build utils)))
|
(base32 "05hyr9qx9dplp0gkx4v34i17972b3f512qndnarzy4wzfpnp0s3b"))
|
||||||
(snippet
|
(modules '((guix build utils)))
|
||||||
'(begin
|
(snippet
|
||||||
;; Remove pre-built Java binaries.
|
'(begin
|
||||||
(delete-file-recursively "lib/")
|
;; Remove pre-built Java binaries.
|
||||||
#t))))
|
(delete-file-recursively "lib/")
|
||||||
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no check target
|
`(#:tests? #f ; no check target
|
||||||
|
@ -231,6 +234,10 @@ runtime.")
|
||||||
,@%gnu-build-system-modules)
|
,@%gnu-build-system-modules)
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'make-git-checkout-writable
|
||||||
|
(lambda _
|
||||||
|
(for-each make-file-writable (find-files "."))
|
||||||
|
#t))
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
|
Reference in New Issue