unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40066] [PATCH] gnu: add premake5.
@ 2020-03-15  0:52 Leo Prikler
  2020-03-20 18:10 ` bug#40066: " Marius Bakke
  0 siblings, 1 reply; 2+ messages in thread
From: Leo Prikler @ 2020-03-15  0:52 UTC (permalink / raw)
  To: 40066

* gnu/packages/build-tools.scm (premake5): New variable.
---
 gnu/packages/build-tools.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 63dc72e1a7..816eb6c8fe 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -245,6 +245,31 @@ other lower-level build files.")
     (home-page "https://premake.github.io")
     (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
   (package
     (name "osc")
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#40066: [PATCH] gnu: add premake5.
  2020-03-15  0:52 [bug#40066] [PATCH] gnu: add premake5 Leo Prikler
@ 2020-03-20 18:10 ` Marius Bakke
  0 siblings, 0 replies; 2+ messages in thread
From: Marius Bakke @ 2020-03-20 18:10 UTC (permalink / raw)
  To: Leo Prikler, 40066-done

[-- Attachment #1: Type: text/plain, Size: 130 bytes --]

Leo Prikler <leo.prikler@student.tugraz.at> writes:

> * gnu/packages/build-tools.scm (premake5): New variable.

Applied, thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-20 18:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-15  0:52 [bug#40066] [PATCH] gnu: add premake5 Leo Prikler
2020-03-20 18:10 ` bug#40066: " Marius Bakke

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).