mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: add premake5.
* gnu/packages/build-tools.scm (premake5): New variable. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
parent
3861fb1c1f
commit
fcafee61bf
1 changed files with 26 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
||||||
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
|
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
|
||||||
;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
|
;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
|
||||||
;;; Copyright © 2019 Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
;;; Copyright © 2019 Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
||||||
|
;;; Copyright © 2020 Leo Prikler <leo.prikler@student.tugraz.at>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -245,6 +246,31 @@ (define-public premake4
|
||||||
(home-page "https://premake.github.io")
|
(home-page "https://premake.github.io")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
(define-public premake5
|
||||||
|
(package
|
||||||
|
(inherit premake4)
|
||||||
|
(version "5.0.0-alpha14")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://github.com/premake/premake-core/"
|
||||||
|
"releases/download/v" version
|
||||||
|
"/premake-" version "-src.zip"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0236s7bjvxf7x1l5faywmfzjywflpx42ngyhkn0mqqjnh54a97vw"))))
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments premake4)
|
||||||
|
((#:phases phases)
|
||||||
|
`(modify-phases ,phases
|
||||||
|
(replace 'install
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(install-file "../../bin/release/premake5"
|
||||||
|
(string-append (assoc-ref outputs "out") "/bin"))
|
||||||
|
#t))))))
|
||||||
|
(description "@code{premake5} is a command line utility that reads a
|
||||||
|
scripted definition of a software project and outputs @file{Makefile}s or
|
||||||
|
other lower-level build files.")))
|
||||||
|
|
||||||
(define-public osc
|
(define-public osc
|
||||||
(package
|
(package
|
||||||
(name "osc")
|
(name "osc")
|
||||||
|
|
Loading…
Reference in a new issue