From: Eric Bavier <ericbavier@gmail.com>
To: guix-devel@gnu.org
Cc: Eric Bavier <bavier@member.fsf.org>
Subject: [PATCH 01/14] gnu: Add astyle.
Date: Sun, 7 Dec 2014 15:51:41 -0600 [thread overview]
Message-ID: <1417989115-32107-2-git-send-email-bavier@member.fsf.org> (raw)
In-Reply-To: <1417989115-32107-1-git-send-email-bavier@member.fsf.org>
* gnu/packages/pretty-print.scm (astyle): New variable.
---
gnu/packages/pretty-print.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm
index bd38a4b..1576c3d 100644
--- a/gnu/packages/pretty-print.scm
+++ b/gnu/packages/pretty-print.scm
@@ -196,3 +196,44 @@ output to 8 different formats, including HTML, LaTeX and ODF. It can also
output to ANSI color escape sequences, so that highlighted source code can be
seen in a terminal.")
(license gpl3+)))
+
+(define-public astyle
+ (package
+ (name "astyle")
+ (version "2.05")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/astyle/astyle/astyle%20"
+ version "/astyle_" version "_linux.tar.gz"))
+ (sha256
+ (base32
+ "0f9sh9kq5ajp1yz133h00fr9235p1m698x7n3h7zbrhjiwgynd6s"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ;no tests
+ #:make-flags (list (string-append "prefix=" %output)
+ "INSTALL=install"
+ "all")
+ #:phases (alist-replace
+ 'configure
+ (lambda _ (chdir "build/gcc"))
+ (alist-cons-after
+ 'install 'install-libs
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Libraries are not installed by default
+ (let* ((output (assoc-ref outputs "out"))
+ (libdir (string-append output "/lib")))
+ (begin
+ (mkdir-p libdir)
+ (for-each (lambda (l)
+ (copy-file
+ l (string-append libdir "/" (basename l))))
+ (find-files "bin" "lib*")))))
+ %standard-phases))))
+ (home-page "http://astyle.sourceforge.net/")
+ (synopsis "Source code indenter, formatter, and beautifier")
+ (description
+ "Artistic Style is a source code indenter, formatter, and beautifier for
+the C, C++, C++/CLI, Objective‑C, C#, and Java programming languages.")
+ (license lgpl3+)))
--
1.7.9.5
next prev parent reply other threads:[~2014-12-07 21:50 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-07 21:51 [PATCH 00/14]: gnu: Add c-reduce Eric Bavier
2014-12-07 21:51 ` Eric Bavier [this message]
2014-12-08 20:43 ` [PATCH 01/14] gnu: Add astyle Ludovic Courtès
2014-12-07 21:51 ` [PATCH 02/14] gnu: Add delta Eric Bavier
2014-12-08 20:45 ` Ludovic Courtès
2014-12-07 21:51 ` [PATCH 03/14] gnu: Add perl-benchmark-timer Eric Bavier
2014-12-08 20:47 ` Ludovic Courtès
2014-12-07 21:51 ` [PATCH 04/14] gnu: Add perl-exporter-lite Eric Bavier
2014-12-08 20:47 ` Ludovic Courtès
2014-12-07 21:51 ` [PATCH 05/14] gnu: Add perl-probe-perl Eric Bavier
2014-12-08 20:48 ` Ludovic Courtès
2014-12-07 21:51 ` [PATCH 06/14] gnu: Add perl-ipc-run3 Eric Bavier
2014-12-08 20:48 ` Ludovic Courtès
2014-12-07 21:51 ` [PATCH 07/14] gnu: Add perl-test-script Eric Bavier
2014-12-08 20:49 ` Ludovic Courtès
2014-12-07 21:51 ` [PATCH 08/14] gnu: Add perl-file-which Eric Bavier
2014-12-08 20:49 ` Ludovic Courtès
2014-12-07 21:51 ` [PATCH 09/14] gnu: Add perl-getopt-tabular Eric Bavier
2014-12-08 20:49 ` Ludovic Courtès
2014-12-07 21:51 ` [PATCH 10/14] gnu: Add perl-regexp-common Eric Bavier
2014-12-08 20:50 ` Ludovic Courtès
2014-12-07 21:51 ` [PATCH 11/14] gnu: Add perl-sys-cpu Eric Bavier
2014-12-08 20:51 ` Ludovic Courtès
2014-12-07 21:51 ` [PATCH 12/14] gnu: Add NCSA license Eric Bavier
2014-12-08 20:52 ` Ludovic Courtès
2014-12-07 21:51 ` [PATCH 13/14] gnu: Add llvm and clang Eric Bavier
2014-12-08 20:55 ` Ludovic Courtès
2014-12-09 17:21 ` Eric Bavier
2014-12-09 20:26 ` Ludovic Courtès
2014-12-07 21:51 ` [PATCH 14/14] gnu: Add c-reduce Eric Bavier
2014-12-08 20:56 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1417989115-32107-2-git-send-email-bavier@member.fsf.org \
--to=ericbavier@gmail.com \
--cc=bavier@member.fsf.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.