unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: guix-devel@gnu.org
Subject: [PATCH v2] gnu: Add sunxi-tools.
Date: Sun,  2 Oct 2016 11:58:36 +0200	[thread overview]
Message-ID: <20161002095836.6495-1-dannym@scratchpost.org> (raw)
In-Reply-To: <20161002115401.2bea3797@scratchpost.org>

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


* gnu/packages/admin.scm (sunxi-tools): New variable.
---
 gnu/packages/admin.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-sunxi-tools.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-sunxi-tools.patch", Size: 1563 bytes --]

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 6981242..06c552f 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1846,3 +1846,35 @@ Kerberos and Heimdal and FAST is supported with recent MIT Kerberos.")
     (license license:gpl1+)))
 
 ;;http://archives.eyrie.org/software/kerberos/pam-krb5-4.7.tar.xz
+
+(define-public sunxi-tools
+  (package
+    (name "sunxi-tools")
+    (version "1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/linux-sunxi/"
+                           "sunxi-tools/archive/v" version ".tar.gz"))
+       (sha256
+        (base32 "1iazm28gws1i8sls3gxwc5p108n56ags287zmh1rpvkn2k1az81a"))
+       (modules '((guix build utils)))
+       (snippet
+        ;; Source is included anyway.
+        '(delete-file-recursively "bin"))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("libusb" ,libusb)))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; no tests exist
+       #:make-flags (list (string-append "PREFIX="
+                                         (assoc-ref %outputs "out")))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))))
+    (home-page "https://github.com/linux-sunxi/sunxi-tools")
+    (synopsis "Tools to help manage Allwinner A10 devices")
+    (description "This package contains tools for Allwinner A10 devices (for FEX, FEL USB, PIO, NAND, JTAG, RAM)")
+    (license license:gpl2+)))

  parent reply	other threads:[~2016-10-02  9:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-29 11:02 [PATCH] gnu: Add sunxi-tools Danny Milosavljevic
2016-10-02  1:54 ` Leo Famulari
2016-10-02  9:54   ` Danny Milosavljevic
2016-10-02  9:57     ` Vincent Legoll
2016-10-02 10:01       ` Danny Milosavljevic
2016-10-02  9:58     ` Danny Milosavljevic [this message]
2016-10-04  9:19       ` [PATCH v2] " Ludovic Courtès
2016-10-04 10:07         ` Danny Milosavljevic
2016-10-04 13:15           ` Ludovic Courtès
2016-10-04 14:38             ` Vincent Legoll
2016-10-05  3:03             ` [PATCH v3] " Danny Milosavljevic
2016-10-05 16:51               ` 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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161002095836.6495-1-dannym@scratchpost.org \
    --to=dannym@scratchpost.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 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).