unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: phodina via Guix-patches via <guix-patches@gnu.org>
To: 49703@debbugs.gnu.org
Cc: Xinglu Chen <public@yoctocell.xyz>
Subject: [bug#49703] [PATCH v2] gnu: Add rust-rot8-0.1.
Date: Sun, 25 Jul 2021 18:44:42 +0000	[thread overview]
Message-ID: <Ir9JtPABWU0XRM45Q-qtf4bVKPK8v6rRihWDYdCz4twyFxRMsTeItk5YYpOpVhMrG0OfX91RYpIIel-aab_mh0cd8FIZF0kspKnwPZ9ncZQ=@protonmail.com> (raw)
In-Reply-To: <JXhdJVbh6eBC7z3b4DRh2h2DMYc_8Jhksy1n9ewZoQhvAWXb7cadH5kzmIYMfdF0uIXzrEDYXS7xD-u2DcDNIfZ9B6nmdy0wYqhx2jDgsgw=@protonmail.com>

* gnu/packages/crates-io.scm (rust-rot8-0.1): New variable.
---

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a6a383156d..8a2e0e9e84 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18,6 +18,7 @@
 ;;; Copyright © 2021 Antero Mejr <antero@kodmin.com>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -37525,6 +37526,35 @@ text-buffer for applications such as text editors.  Ropey is fast, robust, and
 can handle huge texts and memory-incoherent edits with ease.")
     (license license:expat)))

+(define-public rust-rot8-0.1
+  (package
+    (name "rust-rot8")
+    (version "0.1.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rot8" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "15mhszk9qy2q49dpab4p0d9d4aph61yshaxjf02mhdx07n9qpnmh"))))
+    (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
+      "Screen rotation daemon")
+    (description
+      "Automatic rotation for modern Linux screen and input device.  Compatible
+with wayland and X11.  Uses built-in accelerometer with configurable threshold.")
+    (license license:expat)))
+
 (define-public rust-route-recognizer-0.2
   (package
     (name "rust-route-recognizer")
--
2.31.1




  parent reply	other threads:[~2021-07-25 18:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-23  3:27 [bug#49703] [PATCH] gnu: Add rust-rot8 phodina via Guix-patches via
2021-07-24 13:19 ` Xinglu Chen
2021-07-25 18:44 ` phodina via Guix-patches via [this message]
2021-09-18  8:02   ` [bug#49703] [PATCH v2] gnu: Add rust-rot8-0.1 phodina via Guix-patches via
2021-09-20 12:03     ` Xinglu Chen
2021-09-20 15:20       ` phodina via Guix-patches via

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='Ir9JtPABWU0XRM45Q-qtf4bVKPK8v6rRihWDYdCz4twyFxRMsTeItk5YYpOpVhMrG0OfX91RYpIIel-aab_mh0cd8FIZF0kspKnwPZ9ncZQ=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=49703@debbugs.gnu.org \
    --cc=phodina@protonmail.com \
    --cc=public@yoctocell.xyz \
    /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).