From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wLC4IcU8p2S9LgAASxT56A (envelope-from ) for ; Fri, 07 Jul 2023 00:14:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WALKIcU8p2QbZQEAauVa8A (envelope-from ) for ; Fri, 07 Jul 2023 00:14:29 +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 E73382A4BB for ; Fri, 7 Jul 2023 00:14:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHXEj-0001jz-L5; Thu, 06 Jul 2023 18:14:05 -0400 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 1qHXEi-0001jo-Ae for guix-patches@gnu.org; Thu, 06 Jul 2023 18:14:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qHXEi-00032p-30 for guix-patches@gnu.org; Thu, 06 Jul 2023 18:14:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qHXEg-0002xf-Ke; Thu, 06 Jul 2023 18:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64504] [PATCH] gnu: Add unsio. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, efraim@flashner.co.il, bavier@posteo.net, guix-patches@gnu.org Resent-Date: Thu, 06 Jul 2023 22:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64504 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64504@debbugs.gnu.org Cc: Sharlatan Hellseher , Iliya Tikhonenko , Andreas Enge , Efraim Flashner , Eric Bavier X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andreas Enge , Efraim Flashner , Eric Bavier Received: via spool by submit@debbugs.gnu.org id=B.168868159711324 (code B ref -1); Thu, 06 Jul 2023 22:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jul 2023 22:13:17 +0000 Received: from localhost ([127.0.0.1]:42186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHXDx-0002wZ-5L for submit@debbugs.gnu.org; Thu, 06 Jul 2023 18:13:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:45962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHXDs-0002wP-V3 for submit@debbugs.gnu.org; Thu, 06 Jul 2023 18:13:15 -0400 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 1qHXDs-0001ah-M3 for guix-patches@gnu.org; Thu, 06 Jul 2023 18:13:12 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qHXDq-0002q1-Q5 for guix-patches@gnu.org; Thu, 06 Jul 2023 18:13:12 -0400 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-314417861b9so1212817f8f.0 for ; Thu, 06 Jul 2023 15:13:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688681589; x=1691273589; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=hd4LG4Hw709usvU767KvPzt5Cnixdz9TLTThzA3PT14=; b=LsO/mB8LE1MI89f+9auGIy9tDFnAKrkonZMzTOK0Nc+5aZMNFE4M4pfYVhUvgwoVDq AfifgK6uO8wh8p2sdevCHsN+PyMYucNh4goa7mLawpalCMIBw/tjfIYI4JVjEsx1cS1d yhsWbrV0RLsBRhYdMWlyN8ZSXX6KUy/C7YzEnvSmB3yDvLj606QSI/TD7Y3WDNhMphmh 98OCy9ieU2Q2fCynygAtGmyIUWWUtba/+5gjY/pRWDZBRb11m3yMc2k4UKAf+uFKVrVf Y00FOEwKu7gfznjXHEWIAWpPEAhBRJIPQp5GwApQ1ZVPbk6F9ei7Ee827Er4Kj4cM1o1 qo7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688681589; x=1691273589; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hd4LG4Hw709usvU767KvPzt5Cnixdz9TLTThzA3PT14=; b=TtnCYg4rj5tS4q51Bdjt/CPJSIY9JB5+RkqO8aey8pOfGZfoGVo5NSgaPLs+6Eq48N yOgJBkprKBL/4WcWN792Rwzhnw/xBXmyBcQVa7O5keIKJXpy9R1585nFF2fJnY60iVcH MmXIUZkmfvN1pgigDnskImKG7mVCHzGGRSA3HFVgQHq+vlz7WkKIUWOPCV/tOcH/eRnR mDdcGafOf+vyrGyN5OFCfu0GrwKuA4keW4OtwMAlYWSFpNbm01oL+BPrZgr9kiJomNo6 6zT1fiRShBAcHKNXbGphAWS/RtmoLf8E1eVn+Nbkshbf1PR4yioco5d2Qi7QgB/Usi3C dYcg== X-Gm-Message-State: ABy/qLa8KprXN321mQsGD6U3eG21kVlMYiMOwkcBe6M5ZMiF12ApcT3L Zo1NFUjvl4kuCbk5+2OI9sl0dp3nKK4= X-Google-Smtp-Source: APBJJlG2+p8MsD0rwcaYNzTyNhMF5BrfTAYCPr82+njUwp4zCfjjJGy7XNugy4OTN95iI3bIaKT1tQ== X-Received: by 2002:adf:e289:0:b0:314:91d:58b5 with SMTP id v9-20020adfe289000000b00314091d58b5mr2516380wri.65.1688681588487; Thu, 06 Jul 2023 15:13:08 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id a12-20020a05600c224c00b003fba94c9e18sm727125wmm.4.2023.07.06.15.13.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jul 2023 15:13:07 -0700 (PDT) From: Sharlatan Hellseher Date: Thu, 6 Jul 2023 23:13:05 +0100 Message-Id: <521af611d0794672c19a4899e42eb5e448ab1c1f.1688681498.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=sharlatanus@gmail.com; helo=mail-wr1-x42b.google.com 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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688681669; a=rsa-sha256; cv=none; b=SJbkIbx23XEnOIfvsaQG2MFDbDVeG48G72MEO0qebKuU6g4k83XYi24sRl4HSR3ktgokm6 ZZvhFrVeJ7rp2QrulqP9oVVVIkDjWXC4qiY60AOvH1qBHKFDO8hZEblxpXZWVyAeFHHIvj +Z+UxksZd6rAYfssu/SBbrBTD+8YEf0CVHopPO4EcdUxHhYI6XTy3Z6KYC3uTrs00UK6RW 8UYhe6NQrInzhSYUqc5RLdJPoHa7mWnekDfQ+ELXItm/P6dqGKhjS205jjnsihHjCg+8mv qFyIlra8/ZOIYYQQG7ZsELTo/kUiDkABbN/m/Du2bEKyhMbUiTY49ijVVvpxRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b="LsO/mB8L"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688681669; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=hd4LG4Hw709usvU767KvPzt5Cnixdz9TLTThzA3PT14=; b=trdn7HdYZnHq7+Drlxo+6qPgIaOoBSJuKPCH0r2sft3Ikie3Sqq+6Ab54U8JqTGV/iNWS4 J95wSd/h9RAcr10LSziUb0ycPyFKe11G1GAyDQtqkJL9uD8kaIOfYtACsblSw5KYO+Iuoe aR9jgUrRnUFiPvIb0PIprjJao5LEczCG3/FatCsl2hE7dQyV7mlybsNtI434rbn1jPGIrb kKp4+aQvo3QEX40fO3d/CN/QUrB6fQ9+9UIdUHgBNUkg4YgtukpLNNdzyLiywMem9myA2F b/CCgzBFAAYuGlJOBNNGhIJfUmpymxGP9cu8S5BJ6r2idM8mi40se0ydK8DZLQ== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b="LsO/mB8L"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -0.17 X-Spam-Score: -0.17 X-Migadu-Queue-Id: E73382A4BB X-TUID: lfEzVxqfkjQ/ * gnu/packages/astronomy.scm (unsio): New variable. Co-Authored-By: Iliya Tikhonenko --- gnu/packages/astronomy.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 3a1b584808..15590cb84b 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2021, 2022 Vinicius Monego ;;; Copyright © 2021 Greg Hogan ;;; Copyright © 2021 Foo Chuan Wei +;;; Copyright © 2023 Iliya Tikhonenko ;;; ;;; This file is part of GNU Guix. ;;; @@ -74,6 +75,7 @@ (define-module (gnu packages astronomy) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages readline) + #:use-module (gnu packages sqlite) #:use-module (gnu packages sphinx) #:use-module (gnu packages textutils) #:use-module (gnu packages time) @@ -3767,3 +3769,39 @@ (define-public python-wiimatch for optimal @code{matching} of weighted N-dimensional image intensity data using (multivariate) polynomials.") (license license:bsd-3))) + +(define-public unsio + ;; There is no versioned tag, use the latest commit. + (let ((commit "25e52468298e1194c9726ef5dba9d5fbb46870f5") + (revision "0")) + (package + (name "unsio") + (version (git-version "1.3.3" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.lam.fr/infrastructure/unsio") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "110i2p5608zhh5w3pf3b5r2651hykw2ayspgq6vpqsffhya1p170")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f ;No tests + #:build-type "Release" + #:configure-flags #~(list "-DCMAKE_CXX_STANDARD=14"))) + (inputs (list gfortran hdf5 perl sqlite zlib)) + (home-page "https://projets.lam.fr/projects/unsio/wiki") + (synopsis "Universal Nbody snapshot I/O") + (description + "@acronym{UNSIO, Universal Nbody Snapshot Input Output} is an API which +perform input/output operations in a generic way, and on different kind of nbody +files format (nemo, Gadget binaries 1 and 2, Gadget hdf5, Ramses). By using this +API, a user could write only one analysis program which will work on all known +files format supported by UNSIO. It's not necessary anymore to know how is +implemented a file format, UNSIO will do transparently and automatically all the +hard work for you! With UNSIO, you will spend less time to develop your +analysis program. UNSIO comes with an integrated sqlite3 database which can be +used to retrieve automatically all your data among terabytes of hard disks.") + (license license:cecill)))) base-commit: de3b8684e9a8e90e243cc2061100b06576c04077 -- 2.40.1