From patchwork Thu Nov 7 22:27:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 70105 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 AC6A527BBE9; Thu, 7 Nov 2024 22:28:53 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 3C8FD27BBEB for ; Thu, 7 Nov 2024 22:28:52 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9Az3-00086P-Ba; Thu, 07 Nov 2024 17:28:09 -0500 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 1t9Az2-00085p-4W for guix-patches@gnu.org; Thu, 07 Nov 2024 17:28:08 -0500 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 1t9Az1-0007uA-Jo for guix-patches@gnu.org; Thu, 07 Nov 2024 17:28:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=MGXtXQInt18AC4nRRRIjjsdFK+HDJN2bPEn/lgtYYkA=; b=mb1nCDb1qS/zWXeXg7N69OwGsHgIsx3+QLAwgivrZd8azgGc1Y1capZF4RUfuLCLn9WlROPZCinzKzWveUWacTAAoCqDbRSUDFX2XQSM1wjqbAOXWh1AfEAScCF0dySDRIgwBL+VOIaej7VnftlC/DEus6+L4fgIKfQA3MMAcX9hVnadfcx9mu767CdNKU/N+Zeibo/eLDwJvakNfmWJBNap98gQpYJPI4uxtRN2Ia+QkTK8yyT5OptKSJqlyFu1RFttaHYqHJGxPXRlZZTHBPpYuiYV7tYFN6FYTT9KhUZU19rHUO911ZdgfjZd/jYgaNnhZOaRj92kGnMuO/vKPQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9Az1-00083A-Dq; Thu, 07 Nov 2024 17:28:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74234] [PATCHv2 rust-team 16/20] gnu: Add rust-zbar-rust-0.0. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 07 Nov 2024 22:28:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74234 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74234@debbugs.gnu.org Cc: Giacomo Leidi , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 74234-submit@debbugs.gnu.org id=B74234.173101847330786 (code B ref 74234); Thu, 07 Nov 2024 22:28:07 +0000 Received: (at 74234) by debbugs.gnu.org; 7 Nov 2024 22:27:53 +0000 Received: from localhost ([127.0.0.1]:50162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Aym-00080C-Je for submit@debbugs.gnu.org; Thu, 07 Nov 2024 17:27:53 -0500 Received: from confino.investici.org ([93.190.126.19]:60563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Ayg-0007y0-Jh for 74234@debbugs.gnu.org; Thu, 07 Nov 2024 17:27:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1731018465; bh=MGXtXQInt18AC4nRRRIjjsdFK+HDJN2bPEn/lgtYYkA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FeiZTqlZBBsXSGC7ziA6NU4KmOTOQ70hdY65if93kTGOAw+FCuQPifnB8qizRxKxs FpLt6rwO5tZxlBuhVmlpi0mu/OYa9pq0qG5WQXlz8QoQW9ZEQ39OaldXEj5V5mvGml Tg1JZHY5jGdnGfxjEcWRa+/SHE4ItyMCCzaCK6hk= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkxXd5wtNz1136; Thu, 7 Nov 2024 22:27:45 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XkxXd54TZz1132; Thu, 7 Nov 2024 22:27:45 +0000 (UTC) Date: Thu, 7 Nov 2024 23:27:13 +0100 Message-ID: <913193d84c5699c0203de24128d2e2ae840ab644.1731018437.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <509aa62709c43d2a92900d9249065342d14bc1fa.1731018436.git.goodoldpaul@autistici.org> References: <509aa62709c43d2a92900d9249065342d14bc1fa.1731018436.git.goodoldpaul@autistici.org> 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: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi 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-zbar-rust-0.0): New variable. Change-Id: I4cca2fd8c9fcaf0d2d53a8ae858e42e67ffc27bc --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ac123fe3fa..d79dffc775 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -72,6 +72,7 @@ (define-module (gnu packages crates-io) #:use-module (gnu packages) #:use-module (gnu packages acl) #:use-module (gnu packages admin) + #:use-module (gnu packages aidc) #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages avahi) @@ -94984,6 +94985,33 @@ (define-public rust-z-base-32-0.1 (description "This package provides human-oriented base-32 encoding.") (license license:expat))) +(define-public rust-zbar-rust-0.0 + (package + (name "rust-zbar-rust") + (version "0.0.23") + (source + (origin + (method url-fetch) + (uri (crate-uri "zbar-rust" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m6c9393bvw2sngp36m0db1gzqxyqa9ms5biibz659md68di7k59")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-enum-ordinalize" ,rust-enum-ordinalize-4) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #:cargo-development-inputs (("rust-image" ,rust-image-0.24) + ("rust-qrcode-generator" ,rust-qrcode-generator-4)))) + (native-inputs (list pkg-config)) + (inputs (list zbar)) + (home-page "https://magiclen.org/zbar-rust") + (synopsis "High-level and low-level ZBar bindings") + (description + "This package provides High-level and low-level ZBar bindings +for the Rust language.") + (license license:lgpl2.1))) + (define-public rust-zbase32-0.1 (package (name "rust-zbase32")