Paste number 357194: android-udev-rules

Paste number 357194: android-udev-rules
Pasted by: Apteryx
When:4 years, 2 months ago
Share:Tweet this! |
Paste contents:
Raw Source | XML | Display As
(define-public android-udev-rules
    (name "android-udev-rules")
    (version "20170910")
       (method git-fetch)
       (uri (git-reference
             (url "")
             (commit version)))
       (file-name (string-append name "-" version "-checkout"))
        (base32 "0vic40n3si0dxag3dyc3hi3pn7cjpm5q378x8v2ys19n3iz9fp1g"))))
    (build-system trivial-build-system)
     '(#:modules ((guix build utils))
         (use-modules (guix build utils))
         (install-file "51-android.rules"
                       (string-append %output "/lib/udev/rules.d")))))
    (home-page "")
    (synopsis "udev rules for Android devices")
    (description "Provides a set of udev rules to allow using Android devices
with tools such as @command{adb} and @command{fastboot} without root
privileges.  This package is intended to be added as a rule to the
@code{udev-service-type} in your @code{operating-system}
configuration. Additionally, an @code{adbusers} group must be defined and your
user added to it.  @emph{Simply installing this package will @strong{not} have
an effect.}")
    (license license:gpl3+)))

;; Evaluating it gives
scheme@(guile-user)> ,run-in-store (build-package android-udev-rules #:use-substitutes? #t #:dry-run? #f)
The following derivation will be built:
building path(s) `/gnu/store/p9gl6imaiaigg5nc78788gvlnhvhfj52-android-udev-rules-20170910'
           2 (primitive-load "/gnu/store/gdclh8z39zwn138p77ranhhv7wk?")
In ice-9/eval.scm:
   191:35  1 (_ #f)
In unknown file:
           0 (copy-file "51-android.rules" "/gnu/store/p9gl6imaiaigg?")

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.