From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IKoNHtegIGXoTgAAauVa8A:P1 (envelope-from ) for ; Sat, 07 Oct 2023 02:05:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IKoNHtegIGXoTgAAauVa8A (envelope-from ) for ; Sat, 07 Oct 2023 02:05:43 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3AB753F58F for ; Sat, 7 Oct 2023 02:05:43 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Q6tZJaq2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696637143; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=sqezkgX6JxJb1HFusUUgJc50FKsjIwC0TkkAp3ZBh0w=; b=POKYwttquC5Ll9Hd/2mkhGYkni635ANu8t1WPeaaiyXvB+HecohQ8c53bHQtbLR3Mz8ZyH DlfLVJ37A5Zmf48oQRVmTFqAiJN4LEG4v8K+m6fQ5mZTCY0gj+IeV6F90jAEUsOI3TSYHb oyRAmheYl0gVagKdNs+ohk3BWqyjASkiQA6iy+V9yGPcj6Ojwm30EwSdDshNsu7Q6cOSig k2CnO+bwsm3urXm81eYtsd/3oqQ8DV5AgBrrJ2OgOuhAYSXFjM5Pjjh5hsEzxO4qRFR5C0 UAUdAP1ordNxF9IsptBYUkTOXROwF2AG2+5xYY4WpQXQoOrUc8CY1rFMIom+tQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Q6tZJaq2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696637143; a=rsa-sha256; cv=none; b=hZIO/+v9CIfaE8Eq77p8mUrMKFcvc9LohhhC13HQQH43Fl7NXamS+JMB36M4hopwTKtIRM P71TlP3CwztMYijT7q9393zUdbSSvNQqHuABrIL6STjXsdXglJSHJrhuRFfXXxA3hAj4Gs Mby7WBYXc7S02vGOF6Du9KwAmdXi06ZXCBIGHn5k+i2MQ5C5TtA8d2ppfWBosJs8cmPsle JyDstfbeOMVEqOV2iFXOMOwv0HLRAOIzvPG60dPjVPa1x5y8/4W6SrdM2M3H0pygcM3OpU eDN3yosYpjIcW+axKvkGMNqsozDnwk5MgylzYTyTFXXXg8xeMo8wmB/PdfQnKg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qounU-00027w-IT; Fri, 06 Oct 2023 20:03:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qounL-0001tI-Fr for guix-patches@gnu.org; Fri, 06 Oct 2023 20:03:47 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qounL-0006S7-7m for guix-patches@gnu.org; Fri, 06 Oct 2023 20:03:47 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoune-0007ty-9z for guix-patches@gnu.org; Fri, 06 Oct 2023 20:04:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66378] [PATCH] gnu: Add rust-xremap. References: <878r8ftiaq.fsf@gmail.com> In-Reply-To: <878r8ftiaq.fsf@gmail.com> Resent-From: Aleksandr Vityazev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Oct 2023 00:04:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66378 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66378@debbugs.gnu.org Received: via spool by 66378-submit@debbugs.gnu.org id=B66378.169663701930228 (code B ref 66378); Sat, 07 Oct 2023 00:04:06 +0000 Received: (at 66378) by debbugs.gnu.org; 7 Oct 2023 00:03:39 +0000 Received: from localhost ([127.0.0.1]:53023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qounD-0007rO-5L for submit@debbugs.gnu.org; Fri, 06 Oct 2023 20:03:39 -0400 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:59599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qounA-0007qi-Hy for 66378@debbugs.gnu.org; Fri, 06 Oct 2023 20:03:37 -0400 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2bffc55af02so31464761fa.2 for <66378@debbugs.gnu.org>; Fri, 06 Oct 2023 17:03:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696636991; x=1697241791; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=sqezkgX6JxJb1HFusUUgJc50FKsjIwC0TkkAp3ZBh0w=; b=Q6tZJaq2I5BV6ltwrG6m1C66MCg6NIKYJkrof//ft48YNrLM5LEvgc7hXispYlp6Uf SiTGb+gTvCWsUVsgeVvQDcQKndBnuIbb6NpfGlXxC7Yg/oqcQ8ST6q3kPOX0iP4A1+y5 iq465u1Y04CNxr1OUcju2NnpaMx9RNzARvs2ZiyhFY+Gb3f2448z43uutwex5cAwEU+R 3WCX3n0K+CpJEfBMozPHXc8DWvQnaolCQC/zqb3XdUahLg4esdk4KKjF89K1TXrJeuyA wjpLt23+jDhJ/1D+YRTdvU4bN6mDbuFQ7lkyGQD2VISOIthJ++NdOMdhcbOMDVZP66LH o7aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696636991; x=1697241791; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sqezkgX6JxJb1HFusUUgJc50FKsjIwC0TkkAp3ZBh0w=; b=t1/Op8jrlC+l1MkoIJDDKoa8EGjHrR2yuTGz7xY8QP6KWy7DPMTNDrSpxu77fiv64Q LP26vqJOoJM4lSNYT8EYefSihK6CZ9gLFaqbOzeggf0oRJfJeEkgi//RUtnngYPB46S/ CXjc+Qt/Jt/wAlU+GRZC/vV7gZvwW8TOLH04/rTtNuDO7e764IkAPgB3/xTH+a8ssciZ /a4hyxyPy8j20atNKCWoY9p9Tj+FwzyqdxfOY9grGn46qaJ9Yu8GKAYYhcuYATxUb8z9 JgOlhoYYBV92Js4hxoJ57nSVn6tMQZpk8Tk8TX3xDaf+kys3EDk5PEn6EPD9/510yRJ6 BK6A== X-Gm-Message-State: AOJu0YwnL9RngLD2e895FKEMPGx6ahMOQ3hsN7x+6BS6ndxRwLUlTQUy njiqzp2Czumq0F6HQ6Ts2NgsBXI+ehE= X-Google-Smtp-Source: AGHT+IE1BR0VQc5Bzb0ANbvLgGP79DRFHF1KMu2V5ehF+olL4dLO/91W48b/2MHioThzMaKWwTbEFw== X-Received: by 2002:a2e:6a0d:0:b0:2bf:b133:dd65 with SMTP id f13-20020a2e6a0d000000b002bfb133dd65mr8487471ljc.38.1696636991262; Fri, 06 Oct 2023 17:03:11 -0700 (PDT) Received: from magi ([176.59.18.42]) by smtp.gmail.com with ESMTPSA id t26-20020a2e9c5a000000b002c032e54948sm962748ljj.117.2023.10.06.17.03.10 for <66378@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Oct 2023 17:03:11 -0700 (PDT) From: Aleksandr Vityazev Date: Sat, 07 Oct 2023 03:03:10 +0300 Message-ID: <875y3jnvsx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 2.81 X-Spam-Score: 2.81 X-Migadu-Queue-Id: 3AB753F58F X-Migadu-Scanner: mx2.migadu.com X-TUID: uBoHfz5Gexj7 * gnu/packages/rust-apps.scm (rust-xremap): New local variable. --- gnu/packages/rust-apps.scm | 57 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 894173b7dd..fd9f36ab8a 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -2535,3 +2535,60 @@ (define-public htmlq (synopsis "Like jq, but for HTML") (description "Extract content from HTML files using CSS selectors.") (license license:expat))) + +(define rust-xremap + (package + (name "rust-xremap") + (version "0.8.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "xremap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1815hz1a93brj6v9102xypds1qslf6gxgk9vcvxhxlhy1c2pfxvj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release") + #:features '() + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-derive-where" ,rust-derive-where-1) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-evdev" ,rust-evdev-0.12) + ("rust-fork" ,rust-fork-0.1) + ("rust-hyprland" ,rust-hyprland-0.3) + ("rust-indoc" ,rust-indoc-2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.26) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-with" ,rust-serde-with-3) + ("rust-serde-yaml" ,rust-serde-yaml-0.9) + ("rust-swayipc" ,rust-swayipc-3) + ("rust-wayland-client" ,rust-wayland-client-0.30) + ("rust-wayland-protocols-wlr" ,rust-wayland-protocols-wlr-0.1) + ("rust-x11rb" ,rust-x11rb-0.12) + ("rust-zbus" ,rust-zbus-1)) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'relax-requirements + (lambda _ + (substitute* + "guix-vendor/rust-wayland-sys-0.31.1.tar.gz/Cargo.toml" + (("version = \"0.5.1\"") "version = \"0.5.0\"")) + (substitute* + "guix-vendor/rust-strum-macros-0.25.2.tar.gz/Cargo.toml" + (("version = \"0.4.1\"") "version = \"0.4.0\"")) + (substitute* "Cargo.toml" + (("version = \"0.4.19\"") "version = \"0.4.17\"") + (("version = \"1.9.4\"") "version = \"1.9.1\""))))))) + (home-page "https://github.com/k0kubun/xremap") + (synopsis "Dynamic key remapp for X and Wayland") + (description "This package provides dynamic key remapp for X and Wayland.") + (license license:expat))) base-commit: a7e6b4c98b97921ab695218f9b89be4f1ded48c9 prerequisite-patch-id: ec4a09723b91089c8eb5b5269ae81272bb4d81b4 prerequisite-patch-id: 9680399593e3dcdb5b10ee646023efd1215942d9 prerequisite-patch-id: 66497a0079d0077e7b5001707d8211c525ea7193 prerequisite-patch-id: 4f512542ae5806d47054e063e3dd1df66258c530 prerequisite-patch-id: 48abb1e84ca8d85b23794222f8fa5b4d2dfa4699 prerequisite-patch-id: a7fdd2f87131ad73865389152d4a826df24fcae7 prerequisite-patch-id: 1600413a45a50114906f4390653c3fbb7f536a4c prerequisite-patch-id: 51e95882782a53eda933e884fb5e80487ba52b9f prerequisite-patch-id: 177b2873f4e77585c464ac3d24bec78d58f128bd prerequisite-patch-id: 631a6785018f999fcbf7e22fb8e2aae9329ced55 prerequisite-patch-id: 1bd1b328f9e3c7119fed731ffd7e7d87ac33f0c2 prerequisite-patch-id: 79105270952c22f07255cb315da1db44f505b07b prerequisite-patch-id: 9c5af3baa3dac6233837fb6eb0b7467b969caff4 prerequisite-patch-id: 1156b461c8622b5071656309b05c026abab0f277 prerequisite-patch-id: 8a5e3746b5092496884d50ef4359148ac9349a83 prerequisite-patch-id: 579e44cb67db2d0d3c6232c7c306457a0b5a1a27 prerequisite-patch-id: f5dc3c2782749512e23becb166db7aafacd0be1f prerequisite-patch-id: 41717fac7367d7e596c093548408ab4bb7d11575 prerequisite-patch-id: 82761b9bede107314f9e75282e1851da281e1d53 prerequisite-patch-id: 4eaffd8b1788833c76590916476337e55ae234b0 prerequisite-patch-id: b501999eff4662ed2917dba3b934abd1a5e2252a prerequisite-patch-id: d2b947c72b82c6366d8164f1d732a4d25c6cb4fa prerequisite-patch-id: e1df80a774d3de676f01f262c68f506b0bc1ed92 prerequisite-patch-id: 1e2e9dfb8051b74814d7711e0247674a20329b1e prerequisite-patch-id: 3dc346b9df988744c17f4c810753d8afcb00a642 prerequisite-patch-id: e2c517c1181b6b34eda2f660985dd6db280d886f prerequisite-patch-id: cf256fc20be65ced1f1486423f4bbea768d686ae prerequisite-patch-id: 4c8c9425dae8a721016c4e0e7ed9c2fbe3556d9e prerequisite-patch-id: fb5c2f33b0ee041a46c6025d04271c3dbdb53d15 prerequisite-patch-id: c9d2a6a24a622955395ad090a0eb22598c16b23d prerequisite-patch-id: eeeefc7040171849bdaa2c9cd9f47731c80287ea prerequisite-patch-id: 56c4e80a78ecd8514c5d96c4492925ad57d4dd14 prerequisite-patch-id: ebee5547a41485f7ca26f93609f53ade60601f3f prerequisite-patch-id: 9c816f74d4166f1be0964ea0ef27d602495cd9bb prerequisite-patch-id: faae90b478e36eb4f2f17bde8782032b30e2e4db prerequisite-patch-id: bf26fe3d5e2082445217490ec635e6e85b65247f -- 2.41.0 -- Aleksandr Vityazev