Message ID | QiTVHqkwXeIqQexAgHAJPeHICRw1vrR6zWI5cyt0KqPrEP9z5QTjfHFuEawqsBZih5Rvzsxo7sjykYRpLcQwnmnb6xLXkovXkoesxWnEKsg=@protonmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [bug#58236] gnu: genie: Add genie. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git-branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
Am Dienstag, dem 04.10.2022 um 19:37 +0000 schrieb J. Sims: > (define-public genie > + (let ((commit "b139103697bbb62db895e4cc7bfe202bcff4ff25") > + (version "1167") > + (revision "0")) Do not let-bind version. > + (package > + (name "genie") > + (version (git-version version revision commit)) > + (home-page "https://github.com/bkaradzic/genie") home-page comes before synopsis and description... > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url home-page) > + (commit commit))) Don't pull it up so that you can "save" the url argument. Type url out explicitly. > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + > "16plshzkyjjzpfcxnwjskrs7i4gg0qn92h2k0rbfl4a79fgmwvwv")))) > + (build-system gnu-build-system) > + (arguments > + (list #:phases #~(modify-phases %standard-phases > + (delete 'configure) > + (replace 'install > + (lambda _ > + (install-file "bin/linux/genie" > + (string-append #$output > "/bin"))))) Prefer saving horizontal space over vertical space. > + #:tests? #f)) ;only manual tests When it comes to software testing, there is no sequence of instructions that only a human can carry out. Tests either exist or they don't and in the case of GENie there at least formally exists a directory for them. > + (synopsis "Project generator tool") Note that tool is superfluous here. > + (description > + "GENie is project generator tool. It generates projects from > +Lua scripts, making applying the same settings for multiple projects > easy. It I'd simply write "GENie generates projects from Lua scripts, making it easy to apply the same settings to multiple projects." > +supports generating projects using GNU Makefiles; JSON Compilation > Database; > +Visual Studio 2010, 2012, 2013, 2015, 2017, and 2019; XCode; and > experimentally > +supports Ninja.") We're not going to use proprietary software on our FSDG-compliant system, so it's only Makefiles, JSON compilation databases and experimental Ninja. > + (license license:bsd-3)))) Cheers
From fffb22d1a7c7551fd3d7d843663bac0e61bf72fa Mon Sep 17 00:00:00 2001 From: jts <jtsims@protonmail.com> Date: Sat, 1 Oct 2022 16:30:06 -0500 Subject: [PATCH] gnu: genie: Add genie. * gnu/packages/build-tools.scm (genie): Add genie. --- gnu/packages/build-tools.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 84a62d0fd6..28418c236a 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2021 qblade <qblade@protonmail.com> ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;;; Copyright © 2022 Juliana Sims <jtsims@protonmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -763,3 +764,38 @@ (define-public build @item Extensible language/compiler framework. @end itemize") (license license:gpl2+))) + +(define-public genie + (let ((commit "b139103697bbb62db895e4cc7bfe202bcff4ff25") + (version "1167") + (revision "0")) + (package + (name "genie") + (version (git-version version revision commit)) + (home-page "https://github.com/bkaradzic/genie") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "16plshzkyjjzpfcxnwjskrs7i4gg0qn92h2k0rbfl4a79fgmwvwv")))) + (build-system gnu-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda _ + (install-file "bin/linux/genie" + (string-append #$output "/bin"))))) + #:tests? #f)) ;only manual tests + (synopsis "Project generator tool") + (description + "GENie is project generator tool. It generates projects from +Lua scripts, making applying the same settings for multiple projects easy. It +supports generating projects using GNU Makefiles; JSON Compilation Database; +Visual Studio 2010, 2012, 2013, 2015, 2017, and 2019; XCode; and experimentally +supports Ninja.") + (license license:bsd-3)))) base-commit: a96ebe47b0686b5dd7ebe5fc133073abce559f4d -- 2.37.3