| Message ID | 22132e72eed5efc4cfbd5bec63c21d07bf69f206.1658698210.git.avityazev@posteo.org |
|---|---|
| State | New |
| Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 74E6027BBEA; Sun, 24 Jul 2022 22:34:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3A6CF27BBE9 for <patchwork@mira.cbaines.net>; Sun, 24 Jul 2022 22:34:19 +0100 (BST) Received: from localhost ([::1]:56712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org>) id 1oFjEw-0000RK-D4 for patchwork@mira.cbaines.net; Sun, 24 Jul 2022 17:34:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1oFjEg-0000Fw-NX for guix-patches@gnu.org; Sun, 24 Jul 2022 17:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59061) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1oFjEg-0006N2-FR for guix-patches@gnu.org; Sun, 24 Jul 2022 17:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1oFjEg-0002Ba-Bt for guix-patches@gnu.org; Sun, 24 Jul 2022 17:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56752] [PATCH 06/27] gnu: Add rust-swayipc-3. Resent-From: Aleksandr Vityazev <avityazev@posteo.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Jul 2022 21:34:02 +0000 Resent-Message-ID: <handler.56752.B56752.16586984318377@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56752 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56752@debbugs.gnu.org Received: via spool by 56752-submit@debbugs.gnu.org id=B56752.16586984318377 (code B ref 56752); Sun, 24 Jul 2022 21:34:02 +0000 Received: (at 56752) by debbugs.gnu.org; 24 Jul 2022 21:33:51 +0000 Received: from localhost ([127.0.0.1]:48809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1oFjEU-0002B2-Vl for submit@debbugs.gnu.org; Sun, 24 Jul 2022 17:33:51 -0400 Received: from mout01.posteo.de ([185.67.36.65]:44521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <avityazev@posteo.org>) id 1oFjET-0002Ao-2b for 56752@debbugs.gnu.org; Sun, 24 Jul 2022 17:33:49 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 835D0240028 for <56752@debbugs.gnu.org>; Sun, 24 Jul 2022 23:33:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1658698423; bh=GNlGhvVMaG10VXWpyfTx9lxKTkAcBkAFk58oewj03bI=; h=From:To:Subject:Date:From; b=Tcc4eGbk/lF3w3ifwiPTwJrf37xc8Dd3yE9vx7824bBrG5Rhz9Q7DLirKUMqZA/EZ KSYpkcAFHvAmlU1kk7ySUEIYSCa1esl9nlYDSgYqIazlWG0P6oi04Ece5n483k5CBo Oh1O9tNtduJQG6J2z6wy2kbo7CJJ85s5FWLFcOKCnRM9mzSgvEx/TjuTlJJ/uXYSmK wUdszKs+NYbj+9mYa1X7nP8Bilk245m39e3aSm2UDAw4goMHvoDaRZCIno97EvTgQ4 nh7oiqmDrmqsMFcqoPbWeJsmO3FqU1nb3qxIq3uiKzwGoA+MXPsH8qVy25eJ8Ff0ji NXugo6WXF6/8w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LrbyZ6gdQz9rxL for <56752@debbugs.gnu.org>; Sun, 24 Jul 2022 23:33:42 +0200 (CEST) From: Aleksandr Vityazev <avityazev@posteo.org> In-Reply-To: <cover.1658698210.git.avityazev@posteo.org> References: <cover.1658698210.git.avityazev@posteo.org> Message-Id: <22132e72eed5efc4cfbd5bec63c21d07bf69f206.1658698210.git.avityazev@posteo.org> Date: Sun, 24 Jul 2022 21:33:40 +0000 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: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-getmail-retrieved-from-mailbox: Patches |
| Series |
[bug#56752,01/27] gnu: Add rust-rt-format-0.3.
|
|
Commit Message
Aleksandr Vityazev
July 24, 2022, 9:33 p.m. UTC
* gnu/packages/crates-io.scm (rust-swayipc-3): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+)
Comments
On 24-07-2022 23:33, Aleksandr Vityazev wrote: > + (build-system cargo-build-system) > + (arguments > + `(#:skip-build? #t > + #:cargo-inputs > + (("rust-serde" ,rust-serde-1) > + ("rust-serde-json" ,rust-serde-json-1) > + ("rust-swayipc-types" ,rust-swayipc-types-1)))) > + (home-page"https://github.com/jaycefayne/swayipc-rs") > + (synopsis "Library for controlling sway through its IPC interface") > + (description > + "This package provides a library for controlling sway through its IPC > +interface.") > + (license license:expat))) > + We already have that package, try "guix edit rust-swayipc". No need to override the description, home-page, etc. Greetings, Maxime.
On 24-07-2022 23:33, Aleksandr Vityazev wrote: > +(define-public rust-swayipc-3 > + (package > + (name "rust-swayipc") > + (version "3.0.0") > + (source > + (origin > + (method url-fetch) > + (uri (crate-uri "swayipc" version)) > + (file-name (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "1v6arq79b72wm938yvb72j8np04n4ia9r78idg2ffcczp8mpxk20")))) Looks like this can not legally be distributed as-is -- from the expat license: > Permission is hereby granted, free of charge, to any person obtaining > a copy of this software and associated documentation files (the > "Software"), to deal in the Software without restriction, including > without limitation the rights to use, copy, modify, merge, publish, > distribute, sublicense, and/or sell copies of the Software, and to > permit persons to whom the Software is furnished to do so, ___subject > to the following conditions___: > > __The above copyright notice and this permission notice shall be > included in all copies or substantial portions of the Software.___ > (emphasis mine). This notice is missing from the tarball I've downloaded. The other packages might have the same issue, please check. Greetings, Maxime
On 2022-07-24, 23:35 +0200, Maxime Devos <maximedevos@telenet.be> wrote: > On 24-07-2022 23:33, Aleksandr Vityazev wrote: >> + (build-system cargo-build-system) >> + (arguments >> + `(#:skip-build? #t >> + #:cargo-inputs >> + (("rust-serde" ,rust-serde-1) >> + ("rust-serde-json" ,rust-serde-json-1) >> + ("rust-swayipc-types" ,rust-swayipc-types-1)))) >> + (home-page"https://github.com/jaycefayne/swayipc-rs") >> + (synopsis "Library for controlling sway through its IPC interface") >> + (description >> + "This package provides a library for controlling sway through its IPC >> +interface.") >> + (license license:expat))) >> + > > We already have that package, try "guix edit rust-swayipc". No need to override the description, > home-page, etc. We have rust-swayipc-2, and I have not seen the newer version inherited from the older one. In this case, we can add inheritance for rust-swayipc-2.
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2974bf344a..01ca45349d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -60019,6 +60019,32 @@ (define-public rust-swaybar-types-3 Rust.") (license license:expat))) +(define-public rust-swayipc-3 + (package + (name "rust-swayipc") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "swayipc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1v6arq79b72wm938yvb72j8np04n4ia9r78idg2ffcczp8mpxk20")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-swayipc-types" ,rust-swayipc-types-1)))) + (home-page "https://github.com/jaycefayne/swayipc-rs") + (synopsis "Library for controlling sway through its IPC interface") + (description + "This package provides a library for controlling sway through its IPC +interface.") + (license license:expat))) + (define-public rust-swayipc-2 (package (name "rust-swayipc")