aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/rust-apps.scm
diff options
context:
space:
mode:
authorM <matf@disr.it>2022-09-11 19:37:26 +0200
committerLudovic Courtès <ludo@gnu.org>2022-09-24 17:59:05 +0200
commit1cf39c41cff5e13bec64f3862133c12be5461adc (patch)
tree94738ffe0702cd28caad46b5fd78f16dbb75ce2d /gnu/packages/rust-apps.scm
parent870422a15e81b32b1a805b264a79e3db9e57b486 (diff)
downloadguix-1cf39c41cff5e13bec64f3862133c12be5461adc.tar
guix-1cf39c41cff5e13bec64f3862133c12be5461adc.tar.gz
gnu: Add rot8.
* gnu/packages/rust-apps.scm (rot8): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/rust-apps.scm')
-rw-r--r--gnu/packages/rust-apps.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index b89eff4eb0..8e7c4a0ed5 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2022 Gabriel Arazas <foo.dogsquared@gmail.com>
;;; Copyright © 2022 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2022 Mathieu Laparie <mlaparie@disr.it>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -768,6 +769,31 @@ your current directory for a regex pattern while respecting your
gitignore rules.")
(license (list license:unlicense license:expat))))
+(define-public rot8
+ (package
+ (name "rot8")
+ (version "0.1.4")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "rot8" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1m5kzpqq9pgc19lbnh20iaq654lzlmc1m5fc9f73w2vpwqdiw1qf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-clap" ,rust-clap-2)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/efernau/rot8/")
+ (synopsis "Automatic display rotation using built-in accelerometer")
+ (description "@command{rot8} is a daemon that automates rotating screen and
+associated input devices using the built-in accelerometer; handy for convertible
+touchscreen devices.")
+ (license license:expat)))
+
(define-public git-interactive-rebase-tool
(package
(name "git-interactive-rebase-tool")