Paste number 357194: android-udev-rules

Paste number 357194: android-udev-rules
Pasted by: Apteryx
When:4 years, 2 months ago
Share:Tweet this! | http://paste.lisp.org/+7NM2
Channel:None
Paste contents:
Raw Source | XML | Display As
(define-public android-udev-rules
  (package
    (name "android-udev-rules")
    (version "20170910")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/M0Rf30/android-udev-rules")
             (commit version)))
       (file-name (string-append name "-" version "-checkout"))
       (sha256
        (base32 "0vic40n3si0dxag3dyc3hi3pn7cjpm5q378x8v2ys19n3iz9fp1g"))))
    (build-system trivial-build-system)
    (arguments
     '(#:modules ((guix build utils))
       #:builder
       (begin
         (use-modules (guix build utils))
         (install-file "51-android.rules"
                       (string-append %output "/lib/udev/rules.d")))))
    (home-page "https://github.com/M0Rf30/android-udev-rules")
    (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:
   /gnu/store/da2zs8w72zmsrj2s866b26d6p7xrii95-android-udev-rules-20170910.drv
building path(s) `/gnu/store/p9gl6imaiaigg5nc78788gvlnhvhfj52-android-udev-rules-20170910'
Backtrace:
           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.