From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6HOUANcgXGG1IQEAgWs5BA (envelope-from ) for ; Tue, 05 Oct 2021 11:54:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GDveN9YgXGEzNQAAB5/wlQ (envelope-from ) for ; Tue, 05 Oct 2021 09:54:30 +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 A62D4142F1 for ; Tue, 5 Oct 2021 11:54:30 +0200 (CEST) Received: from localhost ([::1]:36640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXh9Z-0005xh-RR for larch@yhetil.org; Tue, 05 Oct 2021 05:54:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXh8A-0004EP-Hg for guix-patches@gnu.org; Tue, 05 Oct 2021 05:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55824) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXh8A-0005uq-9a for guix-patches@gnu.org; Tue, 05 Oct 2021 05:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXh8A-0008Kz-8b for guix-patches@gnu.org; Tue, 05 Oct 2021 05:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51028] [PATCH 6/7] gnu: Add julia-configurations. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Oct 2021 09:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51028 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51028@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 51028-submit@debbugs.gnu.org id=B51028.163342753031973 (code B ref 51028); Tue, 05 Oct 2021 09:53:02 +0000 Received: (at 51028) by debbugs.gnu.org; 5 Oct 2021 09:52:10 +0000 Received: from localhost ([127.0.0.1]:39134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXh7J-0008Jd-Nl for submit@debbugs.gnu.org; Tue, 05 Oct 2021 05:52:09 -0400 Received: from flashner.co.il ([178.62.234.194]:36536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXh7I-0008JE-BK for 51028@debbugs.gnu.org; Tue, 05 Oct 2021 05:52:08 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id 8502540417; Tue, 5 Oct 2021 09:52:02 +0000 (UTC) From: Efraim Flashner Date: Tue, 5 Oct 2021 12:47:35 +0300 Message-Id: <95ebe917da1dac82eaa43123eb4d0c6817d4acb6.1633411929.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.33.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633427670; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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; bh=X+O6AbDMk+EfIeb8PRXgbw7zjgxHtoul85JLszmVw0g=; b=e2T8RTMx2uzhHDGOMWzwi0hN1f0xpz6CR325Z2MGsy0b/mfmY+CJ+RDVWeTiAi495MDwQn LKnY1z7lGKq5KD2elh/GByH1G+miw7c+YvaUX8FnNXhv43JqT9v4E6uII/jJt0/R75ywCq n16nj//5UOoEDHrhSFAKvF681e5XZKynvgSeka7l7cTIow6RUG9Vn9kOADgK41EOLjzGH+ 0FvsF/kUlcHM4zxITlBg8pIhcJoQgtJEPA5Q/9aAREOxxiRhAdS//vR23mYiJLPJ7i83Gm DNzLWG7JqLtE4xoJ5i+Z+QnJFDNwSQw1DkUil+UxKEjbaGySGIo0wtFDXvbtDw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633427670; a=rsa-sha256; cv=none; b=bUqoCro1klfrZQa9+cHHsnYPMqqnZFHp35vjMD0V7OsnCF2xlJIm5UkJtbrL8RtvhN1uo4 y9zoBl0fS3Z6ACCwSPsYzwRicFaU/pU/8y08IqpFl+r1slMrOjxL+n4W7h/2xZvfFDiayV IoBl299U+9lMPHs5OQnodEFSUwf1AnHqzdfROTjUGWRpQId1YF8nymBXC6T6lDyR7z1qxB 0JrNP0WEeff3h289rx2Y+KOqtkOfRX3bQ4ft/2CenNc+694M7dQqh43KNNM4wZ+bgrqiUW x4yTZq2YvgVG1ajPpbnAw/DQFMEZ/AWU73SBkiuFR3kjVDP5ry7LD0qon8crIA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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.19 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: A62D4142F1 X-Spam-Score: 2.19 X-Migadu-Scanner: scn1.migadu.com X-TUID: G+hnCxfc62eQ * gnu/packages/julia-xyz.scm (julia-configurations): New variable. --- gnu/packages/julia-xyz.scm | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 895e43bb14..ee0e1fb74a 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -729,6 +729,49 @@ (define-public julia-compat way.") (license license:expat))) +(define-public julia-configurations + (package + (name "julia-configurations") + (version "0.16.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Roger-luo/Configurations.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1b23p0zk8dx2sf01cnw177mqci7qd81b9s32ixz9clsh0r0icl1b")))) + (build-system julia-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-tests + (lambda _ + (substitute* "test/runtests.jl" + (("option.toml") "test/option.toml")) + #t)) + (add-after 'unpack 'dont-use-exproniconlite + (lambda _ + (substitute* '("Project.toml" + "src/Configurations.jl" + "test/runtests.jl") + (("ExproniconLite") "Expronicon")) + (substitute* "Project.toml" + (("55351af7-c7e9-48d6-89ff-24e801d99491") + "6b7a57c9-7cc1-4fdf-b7f5-e857abae3636")) + #t))))) + (propagated-inputs + `(("julia-crayons" ,julia-crayons) + ("julia-expronicon" ,julia-expronicon) + ("julia-orderedcollections" ,julia-orderedcollections))) + (home-page "https://configurations.rogerluo.dev/stable/") + (synopsis "Options and configurations in Julia") + (description "@code{Configurations.jl} provides a macro @code{@@option} to +let you define @code{structs} to represent options/configurations, and serialize +between different option/configuration file formats such as @code{TOML}.") + (license license:expat))) + (define-public julia-constructionbase (package (name "julia-constructionbase") -- 2.33.0