From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6CCNAL5ZZ2HitwAAgWs5BA (envelope-from ) for ; Thu, 14 Oct 2021 00:12:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GDbKN71ZZ2GyKQAAbx9fmQ (envelope-from ) for ; Wed, 13 Oct 2021 22:12:13 +0000 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 B697A33A3F for ; Thu, 14 Oct 2021 00:12:13 +0200 (CEST) Received: from localhost ([::1]:33298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mamTs-0008Sw-UT for larch@yhetil.org; Wed, 13 Oct 2021 18:12:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mamTi-0008PJ-GF for guix-patches@gnu.org; Wed, 13 Oct 2021 18:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50511) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mamTi-0000Dl-81 for guix-patches@gnu.org; Wed, 13 Oct 2021 18:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mamTh-00035O-Sz for guix-patches@gnu.org; Wed, 13 Oct 2021 18:12:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51193] Subject: [PATCH 3/4] gnu: Add rust-libpulse-binding-2. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 13 Oct 2021 22:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51193 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51193@debbugs.gnu.org Received: via spool by 51193-submit@debbugs.gnu.org id=B51193.163416308611815 (code B ref 51193); Wed, 13 Oct 2021 22:12:01 +0000 Received: (at 51193) by debbugs.gnu.org; 13 Oct 2021 22:11:26 +0000 Received: from localhost ([127.0.0.1]:33824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mamT4-00034Q-CZ for submit@debbugs.gnu.org; Wed, 13 Oct 2021 18:11:25 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:10999) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mamT1-00034C-Me for 51193@debbugs.gnu.org; Wed, 13 Oct 2021 18:11:20 -0400 Date: Wed, 13 Oct 2021 22:11:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1634163073; bh=eL8fWIzf5hCJPpdBr/u1skDh1gRQNYrzX3JHWiCWYn0=; h=Date:To:From:Reply-To:Subject:From; b=GmfKt6zV9ODxSs/CodbmRARVr3oE52gzFuacKd6OLoj9DCUUm15PoJ3+/nSI3I0Jq zKG/pX+0gZBkHXZXSfmwb7Mw3F9JQ0qabjUvIA1UzIcWiCwDiYAKEdyYqZlN2juLjl fS2hn6PT9RvDVjx+3hPBgsN7WirLaR7w3cpWLjgQ= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634163133; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=eL8fWIzf5hCJPpdBr/u1skDh1gRQNYrzX3JHWiCWYn0=; b=YBrMCy1EcwIAfFoYwQGEUOdbSSaDoNcU243IUqPjUR+KerBlAY4mZWsvDnaGAV4h9fyYOP b55NP7vUzSLEK+Iy8vgzcqPgeEb6kzmyrCCi5YXuFGa8zG9h3p/evOS6UdMFZfJqfld9tP HJTqi678HaT+PolWwEPW1GrFGqCqO6ZivC54I+JaM0qI1MvgOpfG1zkfbocIok6gwpWbLw B7B4g19YHz1iET3VafMoR3EzND9KLGw+eLJm46iaZ2oLOCv75GT85NoqyxgF5uYAooudT8 JPsJBdEKeshOolTAbyJzxyfVQeHxFK1e0uwniUdeFk8LkIzqDVMlUn6BUeL17Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634163133; a=rsa-sha256; cv=none; b=cwha0oxQb3Ef2t8izPBydY3xkqDECpnBZ2q3VKT0ejgytC79PBJZBRHkEUMAwmGDWEZe7F c3j67KsKX+a6QTqY3w6G36tgHRK6tD/v7fUUYnXwBSpAcj+vUHlgJYpaaE3evJfruXQxta H6X08TckprTO7nYoF385ZlWGqVcO4Wxrvkz3EWbdNhxPvr+0nR1whPx9aWtpvsZdbJaRJU Tt7JBxyxGVegnZy91YTx7OAWUzd50Soe8Rv67yhXdY644uewD6YToZCCD78JYNjl51a1g8 pDqT+87fwG/wDgCNGsjgy9Q7pJ2zFRl6EoDPBFt/zakddHrtCc+Rp7vC58w1yA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=GmfKt6zV; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=GmfKt6zV; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: B697A33A3F X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5dDANDCWv0cQ * gnu/packages/crates-io.scm (rust-libpulse-binding-2): New variable. diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c5703804df..67aa8f04da 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25285,6 +25285,44 @@ file. @end itemize") (license license:gpl2+))) +;; https://github.com/jnqnfe/pulse-binding-rust/blob/c788a8069f455f864d2ba= 5f0aa5f62e6648dfd26/pulse-sys/build.rs +;; fix location of pulseaudio +(define-public rust-libpulse-binding-2 + (package + (name "rust-libpulse-binding") + (version "2.23.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "libpulse-binding" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1qx85j489mmad9cvw5k71271l3qy4s8a5qq8a9wac6cfi4viz5fv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libpulse-sys" ,rust-libpulse-sys-1) + ("rust-num-derive" ,rust-num-derive-0.3) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-winapi" ,rust-winapi-0.3)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'set-HOME + (lambda _ (setenv "HOME" "/tmp") #t))))) + (native-inputs `(("pkg-config" ,pkg-config))) + (inputs `(("pulseaudio" ,pulseaudio))) + (home-page + "https://github.com/jnqnfe/pulse-binding-rust") + (synopsis + "Binding for the PulseAudio libpulse library") + (description + "This package provides a Rust language binding for the PulseAudio lib= pulse +library.") + (license (list license:expat license:asl2.0)))) (define-public rust-libpulse-sys-1 (package -- 2.33.0