From patchwork Sat May 4 11:34:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64024 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 15FE827BBE9; Sat, 4 May 2024 12:38:37 +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 C2C6627BBE2 for ; Sat, 4 May 2024 12:38:35 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3DiR-0003mg-KV; Sat, 04 May 2024 07:38:07 -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 1s3Di5-0003bD-Ng for guix-patches@gnu.org; Sat, 04 May 2024 07:37:46 -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 1s3Di5-0006Lh-F1 for guix-patches@gnu.org; Sat, 04 May 2024 07:37:45 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3DiS-0004UU-DD; Sat, 04 May 2024 07:38:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH rust-team v3 13/75] gnu: Add rust-libspa-0.8. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 04 May 2024 11:38:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.171482266716964 (code B ref 69257); Sat, 04 May 2024 11:38:08 +0000 Received: (at 69257) by debbugs.gnu.org; 4 May 2024 11:37:47 +0000 Received: from localhost ([127.0.0.1]:52926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Di6-0004PI-Nx for submit@debbugs.gnu.org; Sat, 04 May 2024 07:37:47 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:41759 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Dhy-0004M2-He for 69257@debbugs.gnu.org; Sat, 04 May 2024 07:37:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714822622; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Y4xhkHbwx53XlwvmpStaDVZq1NRs96Vx95ZktPruZfw=; b=CSR0tarH1D+eaF9LnERajBATJvk4MQS4bQj6rLBlf6LAjDr7KIg+TPoVtf396rE0eWHj2o B+o7qPj4cdCB+EEPBibnzE9Day2C/yo0lHZ/Tp+hBIybYCunlgmZgfoap5jnKMCRKLKJ5b XVjXtbK8Sft8Z2Ka9B69TKDIAPb0M47lY+/0hsbd3qUMvCskzfNIjGhsAbnt/Cwn+lIn+f 3j/qpjYy4FqDq8yMT09NSyaOdwaRNzNF+Ozye62T8araAyYso3bRTGXIoZQkTeBtzDLzpW bC5C1A7aMiWGWdHcv7v3bsaAhdtfC/LkHCYpGl9X6kAxYIdPoTbyk1OBXDe3NQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 575b006f (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <69257@debbugs.gnu.org>; Sat, 4 May 2024 11:37:02 +0000 (UTC) Date: Sat, 4 May 2024 13:34:45 +0200 Message-ID: <1ff1506ee2c30c279849bf48233b209138f6f2b2.1714820129.git.herman@rimm.ee> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-libspa-0.8): Add variable. --- gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ac355b5a41..48eefc7ee6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -38890,6 +38890,42 @@ (define-public rust-libsensors-sys-0.2 (description "This package provides Rust bindings to libsensors.") (license license:miros))) +(define-public rust-libspa-0.8 + (package + (name "rust-libspa") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libspa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "044qs48yl0llp2dmrgwxj9y1pgfy09i6fhq661zqqb9a3fwa9wv5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=utils::result::tests::async_seq_panic") + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-cc" ,rust-cc-1) + ("rust-convert-case" ,rust-convert-case-0.6) + ("rust-cookie-factory" ,rust-cookie-factory-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-libspa-sys" ,rust-libspa-sys-0.8) + ("rust-nix" ,rust-nix-0.27) + ("rust-nom" ,rust-nom-7) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs + (("rust-pipewire" ,rust-pipewire-0.8) + ("rust-pipewire-sys" ,rust-pipewire-sys-0.8)))) + (native-inputs (list pkg-config)) + (inputs (list clang pipewire)) + (home-page "https://pipewire.org") + (synopsis "Rust bindings for libspa") + (description "This package provides Rust bindings for libspa.") + (license license:expat))) + (define-public rust-libspa-sys-0.8 (package (name "rust-libspa-sys")