From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CK/DEfNMBmNFygAAbAwnHQ (envelope-from ) for ; Wed, 24 Aug 2022 18:08:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kP3OEfNMBmNcIQEA9RJhRA (envelope-from ) for ; Wed, 24 Aug 2022 18:08:19 +0200 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 E780824146 for ; Wed, 24 Aug 2022 18:08:18 +0200 (CEST) Received: from localhost ([::1]:46966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQsvR-0007K3-D4 for larch@yhetil.org; Wed, 24 Aug 2022 12:08:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQsur-0007F4-Dd for help-guix@gnu.org; Wed, 24 Aug 2022 12:07:41 -0400 Received: from knopi.disroot.org ([178.21.23.139]:52504) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQsup-0004pf-46 for help-guix@gnu.org; Wed, 24 Aug 2022 12:07:41 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7BFC440070; Wed, 24 Aug 2022 18:07:35 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T1v56soqL6p3; Wed, 24 Aug 2022 18:07:34 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1661357196; bh=QR+zHx4rLWRfim1AR3C7Yt+7R8AEXQ03xcQ78v4TI5o=; h=Date:To:Subject:From:References:In-Reply-To; b=i4+mWsoKmKytol98+CNmFrn+O4spEIZsLbNSniOy4EovcBxuhJHceiMiXfQD8O4GD DhIjMHbUiGUgBGwWvBUEnICefpfJxaHJ20aN+Un7LjLe2C1Rc6+Myz8gdKjfxpeknC Kyw3OqnkBRB9qbc/o7wpQivB4LwzHDcQWYegiRXJN78eC4jnAtTpvrQvxige6PLi75 SJnXbhoIMe4sLI6jIPRf/qXYBFjwCHPYDqCL5ZTp4F+pDGPHdsQqGglERkmhtkVve+ 2TgkLPIacbZaZPPEsHh2Ulc1J3Rt6NlS4TS5/2wbDGpxyc8QhumQh0+W2Y7uSJBn+4 7SZz1Tu9TxCjA== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 24 Aug 2022 17:06:35 +0100 Message-Id: To: "Jonathan Scoresby" , Subject: Re: Rust Packaging without crates.io From: "(" References: In-Reply-To: Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 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, FROM_ONE_CHAR=2.299, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661357299; h=from:from:sender:sender: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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=OzsPOth99yTwW2Xp9+StgcfSLJgzkwQUsQgl4bUlvp8=; b=GkXLDId1m4O3+R/3+ROXoDAy6JatqJFt2zuji/eejCU98GVzK64O09UMx2njb1G9TpVeT3 w1oIFC6WPWh8PAyMPANhvHudSYvr2bhZ/vYaDbDQbdommJ3ioxJ2UCh5CWlBdtsZWiYUVn yrMqeiU50uHYWJPq2ICUB7sl4pnoJsEkbhvGz2+zHd/OxbLmhbZ7gpAQBBBNOgn9dUuz5/ gfeJD/QVh4q8u5tgH2uWnFcWAmb40TRHV/AvHnBsiPFoPWquDA75DXJiOs1Nb67Js+a4A4 MHuxhdKT6qYia4uxXEx6l+ee7u+5AVOEVhftkh1aDB+Dvgt4Ij+eXkx+NeFOqw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661357299; a=rsa-sha256; cv=none; b=Hf515EEOJwYV8tuGJUBxqCqZ63rIQghBS4PolL6kSLdS6sQgFtWb4rKnIAsRodLmrRcXpK hef5Pqtww0hUFHDxb+hggyXVMAfyLVMAjQSyVG8eNhjY05CCIFWoO1wK5C8w8YVZ2vFcb0 +Sf3tIO842Xj7kUBQgQ8p4b7jFzSKB4V1LQnR4elH4J7d8zW0XIK+FLeGHgJBlHcybOUHL 6VMwxjMlOxGEjbrxVd2hF/Y+oWFkNg6Wu4nd52ExznoRlA9oDTF/6Tg+92vFm+mANr8xLP NDXzUY/FLvAcQNKp1y4oSB8ZC0Y1BzzW8Sg/x2CJDZtIkWmwMLwLuRCevSey9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=i4+mWsoK; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.81 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=i4+mWsoK; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E780824146 X-Spam-Score: -7.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: gesM78QaJGy5 Hi Jonathon, You can just write a normal package for a crate on Git, replacing the sourc= e with something like: (origin (method git-fetch) (uri (git-reference (url "...") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "..."))) You can use a Rust package built like this in the same way as a normal crat= es.io crate. Just add it to cargo-inputs or cargo-development-inputs as appropria= te :) -- (