mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: bam: Update to 0.5.1.
* gnu/packages/build-tools.scm (bam): Update to 0.5.1. [source]: Switch to git-fetch. [arguments]: Use newly provided Makefile. [inputs]: Add lua.
This commit is contained in:
parent
078e2edf1d
commit
53367e17b6
1 changed files with 18 additions and 19 deletions
|
@ -5,6 +5,7 @@
|
||||||
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
|
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
|
||||||
;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org>
|
;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org>
|
||||||
;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
|
;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
|
||||||
|
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -30,6 +31,7 @@ (define-module (gnu packages build-tools)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
|
#:use-module (gnu packages lua)
|
||||||
#:use-module (gnu packages python)
|
#:use-module (gnu packages python)
|
||||||
#:use-module (gnu packages python-crypto)
|
#:use-module (gnu packages python-crypto)
|
||||||
#:use-module (gnu packages python-web)
|
#:use-module (gnu packages python-web)
|
||||||
|
@ -40,33 +42,30 @@ (define-module (gnu packages build-tools)
|
||||||
(define-public bam
|
(define-public bam
|
||||||
(package
|
(package
|
||||||
(name "bam")
|
(name "bam")
|
||||||
(version "0.4.0")
|
(version "0.5.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
;; do not use auto-generated tarballs
|
||||||
(uri (string-append "http://github.com/downloads/matricks/"
|
(method git-fetch)
|
||||||
"bam/bam-" version ".tar.bz2"))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/matricks/bam.git")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0z90wvyd4nfl7mybdrv9dsd4caaikc6fxw801b72gqi1m9q0c0sn"))))
|
"13br735ig7lygvzyfd15fc2rdygrqm503j6xj5xkrl1r7w2wipq6"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:make-flags `("CC=gcc"
|
||||||
|
,(string-append "INSTALL_PREFIX="
|
||||||
|
(assoc-ref %outputs "out")))
|
||||||
|
#:test-target "test"
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure))))
|
||||||
(replace 'build
|
|
||||||
(lambda _
|
|
||||||
(zero? (system* "bash" "make_unix.sh"))))
|
|
||||||
(replace 'check
|
|
||||||
(lambda _
|
|
||||||
(zero? (system* "python" "scripts/test.py"))))
|
|
||||||
(replace 'install
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(let ((bin (string-append (assoc-ref outputs "out") "/bin")))
|
|
||||||
(mkdir-p bin)
|
|
||||||
(install-file "bam" bin)
|
|
||||||
#t))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python" ,python-2)))
|
`(("python" ,python-2)))
|
||||||
|
(inputs
|
||||||
|
`(("lua" ,lua)))
|
||||||
(home-page "https://matricks.github.io/bam/")
|
(home-page "https://matricks.github.io/bam/")
|
||||||
(synopsis "Fast and flexible build system")
|
(synopsis "Fast and flexible build system")
|
||||||
(description "Bam is a fast and flexible build system. Bam uses Lua to
|
(description "Bam is a fast and flexible build system. Bam uses Lua to
|
||||||
|
|
Loading…
Reference in a new issue