From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OG25N/Qv/WCh/gAAgWs5BA (envelope-from ) for ; Sun, 25 Jul 2021 11:33:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iN8jM/Qv/WDxWgAAbx9fmQ (envelope-from ) for ; Sun, 25 Jul 2021 09:33:40 +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 36C256DDE for ; Sun, 25 Jul 2021 11:33:40 +0200 (CEST) Received: from localhost ([::1]:52258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7aVv-0004cH-B7 for larch@yhetil.org; Sun, 25 Jul 2021 05:33:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7aV9-0004Zz-1X for help-guix@gnu.org; Sun, 25 Jul 2021 05:32:51 -0400 Received: from mail-4323.protonmail.ch ([185.70.43.23]:32602) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7aV6-0008LZ-Bp for help-guix@gnu.org; Sun, 25 Jul 2021 05:32:50 -0400 Date: Sun, 25 Jul 2021 09:32:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1627205565; bh=UzruabwCots5Q5RCoElADHZio4fgVK0gqVBvtFBApcE=; h=Date:To:From:Reply-To:Subject:From; b=T/80N4bUsLzm6Ke+KDVIPvPLqrmNBCSrBAIfnBI4i/AP8aBDtr/ogmDr4PhqRczuL wU0mLDBe+WXxCruVzizCL9WIeyyFV14mzoepb2VPiqCEgsR4q1ytfwpy4bQhtr14Rg 5+W5+SsCv407uJV4heh4udePHvjRNgvOqorProFw= To: "help-guix@gnu.org" From: phodina Subject: Help: No matching package Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=phodina@protonmail.com; helo=mail-4323.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: phodina Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627205620; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=UzruabwCots5Q5RCoElADHZio4fgVK0gqVBvtFBApcE=; b=NRYCfQXcLiF6OW3+wccnnDgJCkxC7WLR597jiVcfM6l9vUl46COpzZJ1+PsWvlIknSVQ3g SBxbBY8McoCVKKh4f1Rtj+wnGoDluBMeQlMGw05S5pLKiozhtt3GCIgklYGhLxonF67gDw QRUsTg/4zoDJ5r5ninoaRrtvIdG7ZGfkFfT20n9/sPBdNPb1FVFQB6hFr0j2zyRRhdK0bP qtvkMCIayjKWZEOZV1DU1sy/xXebRRCE7L33fW0hEQ+g0hssJ4JlkQ6QDYI2d97FxoLENQ Ac1H3XfnZGooGOhefJEuCiPbAFUfLcebWUXtzETSFsuaMWdZdZnBXGl8vNtdcw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627205620; a=rsa-sha256; cv=none; b=J6/4leDNAIPfOGOJFd9n8Qi9Qci/sOArS+0GqMNOERyNu8kwaaRA0lofO+RtscuSaNGz3g Vntc78Bb05fMS7Y0fWnlcwcpDls31EJfE57bHoniyRRryV52i9LtJe0DfcUoeZUVkiStxq i81TfNMGheh9GkSeBv9ZbPlH+AvV6fGpdSB92qCa0fnWUuJuOypFvZAjZt590E4cRk4ITj IZ3JBcVgc/RoQ4SJYAV6WySCctxGhz/W2xgHQJ/7LBIsgyjqkua3neOG0O7uwiomZH3dtT /0azU7CsaUDyo9tK2LUcaOQLHvMJ0oUQ2Vnc2x55p84dMxiU3mEJE9H3VGqR8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b="T/80N4bU"; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b="T/80N4bU"; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 36C256DDE X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9i0mt6ame9SP Greetings, I want to package a Rust crate `calculate` available on Gitlab. So I create= d the package description and defined also another one `decimal`. Package `rust-decimal` build correctly. However, when I want to build `calculate` package it complains that the cra= te is not available. starting phase `build' error: no matching package named `decimal` found As the crate is not available on crates.io I had to substitute the dependen= cy in Cargo.toml. The crate is listed in #:cargo-inputs. I'm wondering about what I'm doing w= rong? Source code is listed below. Kind regards Petr --- (define-public rust-calculate-0.7 (package (name "rust-calculate") (version "9f975c504bf6d1a2bcf44992866233f49afaeb29") (source (origin (method git-fetch) =09(uri (git-reference (url "https://gitlab.redox-os.org/redox-os/calc") (commit version))) =09(file-name (git-file-name name version)) (sha256 (base32 "0vmpn2j38h2hh0rhmvbq6yhpw4ibym5370p6142ch470fbqs4jf1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs =09(("rust-atty" ,rust-atty-0.2) =09 ("rust-clap" ,rust-clap-2) =09 ("rust-decimal" ,rust-decimal-2) =09 ("rust-liner" ,rust-liner-0.5) =09 ("rust-num" ,rust-num-0.3) =09 ("rust-rand" ,rust-rand-0.7)) =09#:phases =09 (modify-phases %standard-phases =09=09=09(add-after 'unpack 'fix-decimal-dependency =09=09=09=09 (lambda _ =09=09=09=09 (substitute* "Cargo.toml" =09=09=09=09=09=09 (("^decimal.*") "decimal =3D \"*\"\n"))) =09=09=09=09 )))) (home-page "https://gitlab.redox-os.org/redox-os/calc") (synopsis "Rust library for parsing and processing arithmetic expressions") (description "calc is a Rust library for tokenizing and evaluating arithmetic expr= essions with a command line application of the same name included. ") (license license:expat))) ; MIT (define-public rust-decimal-2 (package (name "rust-decimal") (version "2.1.0") (source (origin (method git-fetch) =09(uri (git-reference (url "https://github.com/alkis/decimal") (commit version))) =09(file-name (git-file-name name version)) (sha256 (base32 "1g6f7vqri5cqlca9a6vcdqgymvkxsff1061cdcfia30s552876dk")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs =09 (("rust-bitflags" ,rust-bitflags-1) =09 ("rust-libc" ,rust-libc-0.2) =09 ("rust-ord-subset" ,rust-ord-subset-3) =09 ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) =09 ("rust-serde" ,rust-serde-1) =09 ("rust-serde-json" ,rust-serde-json-1)))) (home-page "https://github.com/alkis/decimal") (synopsis "Decimal Floating Point arithmetic for rust") (description "The library provides d128 which is a 128-bit decimal floating point = number. You can use it as other primitive numbers in Rust. All operators ar= e overloaded to allow ergonomic use of this type.") (license license:asl2.0)))