admin.scm 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ;;; This file is part of guix-bavier.git
  2. ;;; Copyright © 2020 Eric Bavier <bavier@posteo.net>
  3. ;;; License: GPLv3+
  4. (define-module (bavier packages admin)
  5. #:use-module (guix build-system gnu)
  6. #:use-module (guix git-download)
  7. #:use-module (guix packages)
  8. #:use-module (gnu packages)
  9. #:use-module ((guix licenses) #:prefix license:))
  10. (define-public ltunify
  11. (let ((commit "b68dc9af6db53de231d5ac71f9b6ba2ff3057a68")
  12. (revision "0"))
  13. (package
  14. (name "ltunify")
  15. (version (git-version "0.3" revision commit))
  16. (source
  17. (origin
  18. (method git-fetch)
  19. (uri (git-reference
  20. (url "https://git.lekensteyn.nl/ltunify")
  21. (commit commit)))
  22. (file-name (git-file-name name version))
  23. (sha256
  24. (base32
  25. "1i6ya846jxi1y29h59qc2hkjvdlhsdw6kgm4clchpxx1mjrqjv3b"))))
  26. (build-system gnu-build-system)
  27. (arguments
  28. `(#:make-flags
  29. (list "CC=gcc"
  30. (string-append "bindir=" %output "/bin")
  31. (string-append "udevrulesdir=" %output "/etc/udev/rules.d"))
  32. #:phases
  33. (modify-phases %standard-phases
  34. (delete 'configure)
  35. (replace 'build
  36. (lambda* (#:key make-flags #:allow-other-keys)
  37. (apply invoke "make" "ltunify" make-flags)))
  38. (delete 'check))))
  39. (home-page "https://lekensteyn.nl/logitech-unifying.html")
  40. (synopsis "Pair and unpair Logitech Unifying devices")
  41. (description "@code{ltunify} allows you to pair additional devices like
  42. keyboards and mice to your Logitech Unifying receiver, unpair existing
  43. devices, and list information about connected devices.")
  44. (license license:gpl3+))))