From patchwork Thu Jan 28 15:37:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Nicol=C3=B2_Balzarotti?= X-Patchwork-Id: 26702 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 27C0227BC1D; Thu, 28 Jan 2021 15:38:44 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CABDB27BC1C for ; Thu, 28 Jan 2021 15:38:41 +0000 (GMT) Received: from localhost ([::1]:59208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l59NZ-0006Ti-0f for patchwork@mira.cbaines.net; Thu, 28 Jan 2021 10:38:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l59Mv-0005vY-VL for guix-patches@gnu.org; Thu, 28 Jan 2021 10:38:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l59Mv-0002Xh-OH for guix-patches@gnu.org; Thu, 28 Jan 2021 10:38:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l59Mv-0002Fa-LY for guix-patches@gnu.org; Thu, 28 Jan 2021 10:38:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45972] [PATCH] Add julia-json with dependencies Resent-From: =?utf-8?q?Nicol=C3=B2?= Balzarotti Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Jan 2021 15:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45972 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by 45972-submit@debbugs.gnu.org id=B45972.16118482708613 (code B ref 45972); Thu, 28 Jan 2021 15:38:01 +0000 Received: (at 45972) by debbugs.gnu.org; 28 Jan 2021 15:37:50 +0000 Received: from localhost ([127.0.0.1]:49445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l59Me-0002Ej-20 for submit@debbugs.gnu.org; Thu, 28 Jan 2021 10:37:50 -0500 Received: from mail-wr1-f49.google.com ([209.85.221.49]:46312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l59Mb-0002ES-CE for 45972@debbugs.gnu.org; Thu, 28 Jan 2021 10:37:42 -0500 Received: by mail-wr1-f49.google.com with SMTP id q7so5804037wre.13 for <45972@debbugs.gnu.org>; Thu, 28 Jan 2021 07:37:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=m5Y26WQWZE4sIRB9vDwKeFVbPjt707Yrxy+DDUIfxVo=; b=kqJg2yolXEKtx615Lhqbf2sdzOWUjbb5EGzdwTpkeXPsMLkAhsL5820E2ewi5pML/z OWO3RyHm4vXC7CNG1jurBThPprubdOn/vHy56iEFlL9SJsuRCoKriw4TjUdbmd6Jkcee EBZGvF96buvXyqQmQ2eZR74/TFbqk2szuDkQJwMVl3ew21jVDUlX0sHVQRJeIzqcFjML ZEXeRVtiXNJF4LcoK3s7Xmd8QTUW2btXL7J5bxfVlztM/pEu+fGW4miDmG+qTyWJymqs FnR0HcDnG4vbc+JUd+FDP0QClZcrl1t+EINQjnf797eVaAEkicykaW87KFrw91u3mw2u fPqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=m5Y26WQWZE4sIRB9vDwKeFVbPjt707Yrxy+DDUIfxVo=; b=ZfOWOuGioV/WaZhBiuhWKMU6uvO8UoY8RGR+z8KqSxrMry+S1oWsTvIkf+r5OvlwOs ao2XLetz8hDeG8LFRUGHV0Ytt0StQg9ws4cRvmzkp0I6bRFZKNIasBhUM6vSroh2FSX6 KmN172plZ6xzhtRW/PO9fMGiTUVuezyjL7pf64gmIAzQNyf70JlhZ+7/pB1v8vmQOqtC 3GDWHhS5KBDewO1YDSL9ySodunaeODPgxNjHshpsGd4fFGqxQCmHBjCpevcTMjfVbafY HKK7tvv87tExOf6SNeil8w7J64dE+UlPd/c9F8EfLwI/DqKZczviJmbERwtOT6RqKu2I GXng== X-Gm-Message-State: AOAM5313nlIawENDzx9aIfohTo5gHujbdPCy6YjtRMNw6S+T7t1W+AVl XqJfEDohaCexsprFLp/CNQrUcXQ964IIiA== X-Google-Smtp-Source: ABdhPJxXcqDXFBjBBkhFJs1dGV26if1sZ4V5M2cP/635pglS9x13ictXK6g4lJBvN1NU1uGyX7MxPA== X-Received: by 2002:a5d:6712:: with SMTP id o18mr16618107wru.375.1611848255417; Thu, 28 Jan 2021 07:37:35 -0800 (PST) Received: from guixSD (host-87-4-165-57.retail.telecomitalia.it. [87.4.165.57]) by smtp.gmail.com with ESMTPSA id o9sm7650714wrw.81.2021.01.28.07.37.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jan 2021 07:37:33 -0800 (PST) From: =?utf-8?q?Nicol=C3=B2?= Balzarotti In-Reply-To: <87h7n1qkaw.fsf@gnu.org> References: <87ft2xzu1g.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> <87wnvzwfgu.fsf@gnu.org> <87lfcfcmf3.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> <87mtwut34z.fsf@gnu.org> <87czxpdhsv.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> <87h7n1qkaw.fsf@gnu.org> Date: Thu, 28 Jan 2021 16:37:32 +0100 Message-ID: <87y2gdax8j.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> 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: , Cc: 45972@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Ludovic Courtès writes: > Buon giorno! > >>> IMO, that shouldn’t be the case. > If it was me it was probably an oversight, I’m sorry about that. No problem! It appeared also in the manual so I fixed it > >>> Can we either extract the Julia package name from metadata that’s in >>> the package itself (?), or otherwise pass it to all the phases via >>> ‘julia-build-system’? > > Sounds reasonable to me. If I understand the toml format correctly, > “name=.*” is guaranteed to be on a line on its own, so that looks > safe. exactly > > To be on the safe side, we can add a #:julia-package-name parameter to > the build system; it would default to #f, in which case the name is > extracted from the toml file. > Done, I attached the updated patch set! From 3da3028123253ebe69017607e3dc7c8825b47c51 Mon Sep 17 00:00:00 2001 From: nixo Date: Tue, 19 Jan 2021 00:06:34 +0100 Subject: [PATCH v4 11/11] gnu: Add julia-json. * gnu/packages/julia-xyz.scm (julia-json): New variable. --- gnu/packages/julia-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 3dd731ef28..34dba958ce 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -125,6 +125,31 @@ scaled by a constant factor. Consequently, they have a fixed number of digits (bits) after the decimal (radix) point.") (license license:expat))) +(define-public julia-json + (package + (name "julia-json") + (version "0.21.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaIO/JSON.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1f9k613kbknmp4fgjxvjaw4d5sfbx8a5hmcszmp1w9rqfqngjx9m")))) + (build-system julia-build-system) + (propagated-inputs + `(("julia-datastructures" ,julia-datastructures) + ("julia-fixedpointnumbers" ,julia-fixedpointnumbers) + ("julia-parsers" ,julia-parsers) + ("julia-offsetarrays" ,julia-offsetarrays))) + (home-page "https://github.com/JuliaIO/JSON.jl") + (synopsis "JSON parsing and printing library for Julia") + (description "@code{JSON.jl} is a pure Julia module which supports parsing +and printing JSON documents.") + (license license:expat))) + (define-public julia-orderedcollections (package (name "julia-orderedcollections") -- 2.30.0