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 ms0.migadu.com with LMTPS id 2KkQCWJR9GHcIgAAgWs5BA (envelope-from ) for ; Fri, 28 Jan 2022 21:26:10 +0100 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 uN25BWJR9GFaLAEAauVa8A (envelope-from ) for ; Fri, 28 Jan 2022 21:26:10 +0100 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 987AB3D65E for ; Fri, 28 Jan 2022 21:26:09 +0100 (CET) Received: from localhost ([::1]:34684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDXou-0004yB-PH for larch@yhetil.org; Fri, 28 Jan 2022 15:26:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDXNy-0005pW-Jy for guix-patches@gnu.org; Fri, 28 Jan 2022 14:58:18 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39430) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDXNi-0004fr-Bc for guix-patches@gnu.org; Fri, 28 Jan 2022 14:58:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nDXNi-00056j-69 for guix-patches@gnu.org; Fri, 28 Jan 2022 14:58:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53615] [PATCH] gnu: Add sumo. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Jan 2022 19:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53615 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53615@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164339987019605 (code B ref -1); Fri, 28 Jan 2022 19:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Jan 2022 19:57:50 +0000 Received: from localhost ([127.0.0.1]:60566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDXNV-000569-IP for submit@debbugs.gnu.org; Fri, 28 Jan 2022 14:57:49 -0500 Received: from lists.gnu.org ([209.51.188.17]:32952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDXNU-000562-4g for submit@debbugs.gnu.org; Fri, 28 Jan 2022 14:57:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDXNR-0005Qw-2q for guix-patches@gnu.org; Fri, 28 Jan 2022 14:57:47 -0500 Received: from [2a00:1450:4864:20::341] (port=52756 helo=mail-wm1-x341.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDXNP-0004eg-0s for guix-patches@gnu.org; Fri, 28 Jan 2022 14:57:44 -0500 Received: by mail-wm1-x341.google.com with SMTP id v123so5269359wme.2 for ; Fri, 28 Jan 2022 11:57:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:subject:to:content-transfer-encoding:message-id :mime-version; bh=0NkwUUUAuaMrvYoF8CpbqKiHGmuilznlwbH71w6oYGo=; b=hTEOH7B0Dc/+EaXJty63FsksbmRTo/akXokujvPAc2a/h2YAba/vbsg99Ow1uIdBpC zALmf8ptFPOo9OQGW2j9g8T7pBQpBo7Z9WCOSDNtoJMvuvN1gjUBWegx/jZtSIYoN7EC QVikmFHtdOEfDEsSi0+K8yBvrJorJ4p6Zrxvd7oVFJ+2UQhnu+NNlRQCoZYjUxbilcFg r3WHfhJ7a8y58i8wb80W5ePEkTr4r4ZaJObnghEh6Do02+8YKdv9k0d4j4IeD0qKXunN CaWAwAQ1+Pcf/b1oglr/iTdifdiINyTTII9t/aJg+A+wlXbH9a+CdEMxEoCQ6PZ9owM2 Ul3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:subject:to:content-transfer-encoding :message-id:mime-version; bh=0NkwUUUAuaMrvYoF8CpbqKiHGmuilznlwbH71w6oYGo=; b=NVJedCfuHFUPBMpffRqZ+WrH6YccmlB5237C8tSspKcXrGbY3Ph65P5pJ29Ih7yeyA JuyrBXA+G/kXKjv0V4k29aEHJPm2RTYHsL/6VzKn5Y0n+RctomILjX3PPuhihmP83IsY qUUHgKoJS9PaK18DYl6V4CtUbkHlt+jTWB0pnY0RioGP/7Dvwmn9T2aygvzj92BSzY0e v3Ilej0WC/SucnQ+mdZCFkVmsUMpqPfb7pFDWpXnY4nd82bNx9aOu0tWKKCFQ/ryefzV QLOuHoVC5D/xA/vr2Rd1aXpUgoJ0JShu50KMHwCNYuLKEX3MFaw45QOuiYG0XHJMLY0H 9FeQ== X-Gm-Message-State: AOAM532H0+GeLHi0m7KSGvHHzXN7GLiv292mgIQz1Ib2WpV3GilTTxC5 ts/B0q11gOiWbdw8x88lX9cV7QUkRoM= X-Google-Smtp-Source: ABdhPJysTbNO95+2rzH/0vbTBWeGlmLO79RC1f53+wniBEMpB/jwhgwJ7ZL9s/Ij96a53dypN8zR2Q== X-Received: by 2002:a05:600c:5014:: with SMTP id n20mr8862325wmr.46.1643399858039; Fri, 28 Jan 2022 11:57:38 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id g6sm5224568wrq.97.2022.01.28.11.57.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jan 2022 11:57:37 -0800 (PST) From: Liliana Marie Prikler Date: Fri, 28 Jan 2022 15:39:23 +0100 Content-Transfer-Encoding: 8bit Message-ID: MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::341 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::341; envelope-from=liliana.prikler@gmail.com; helo=mail-wm1-x341.google.com X-Spam_score_int: 32 X-Spam_score: 3.2 X-Spam_bar: +++ X-Spam_report: (3.2 / 5.0 requ) DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, PP_MIME_FAKE_ASCII_TEXT=0.998, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, 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: 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643401569; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: 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=0NkwUUUAuaMrvYoF8CpbqKiHGmuilznlwbH71w6oYGo=; b=q+6xZsJ4qL0GX0Ip+P7tMyGWoxoqB+7pjwdtoEJPefIhcrg5LIt/cr+BSU+3YBf8J8IlXM grDLpEsT0+zUBV/igFLLiUOFagk8yNw9XpVKXw/hqQl4JDJcL57VMljxLw8Q9OTwaqh+/U bi/Br+Hydj0oWsd32j7RFgVgaCSdIGlTsnWXt+mVzFLxTeoH3uXB4Q3cY6pi6q/z0MkBIF J+2n2uJMbqoqOZTIrm8nKTkceKb9KW+uuOBq2wSFonSfH6Mtnj1gRqi++9aOdCYD8TJNSm qRW4fMzuaWQ7s+30FxwC+3BksXRJhdfuK1SUMehXB7vUjJddtnKUqUYFlCVJHQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643401569; a=rsa-sha256; cv=none; b=S7/JsocKkgYWk8hrOllU+JfxJNZ3uVFnDo1r5o4BLCJJKqhMsScRAMH2QuzEixmkJrD6xJ 53v8wAG9TIPnQlsAPW/36DwShPb6Fzi1o0Ut6NCat7uDaYz0gAcm7b2D/SnamFdKizTncs NkCnST0i5poUbVw9cFxI9RwxRYzpDKdCQXw7zNy9uS1HU3iSHiyQt975lo0yPuyezjcync Va1RAfCq6efVQqwRB97YymCYHGWyt3sjnKR0jFP4+64cvXX0IzGOnUUaIwcQ9UsjPBT9xI PS+TN1PQObuohIQ/vm2WG7fq0RBW4LBfxvgnWe2Tm5AzMKHyayH3Evm8WL2sFw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hTEOH7B0; 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-Spam-Score: -0.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hTEOH7B0; 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-Queue-Id: 987AB3D65E X-Spam-Score: -0.23 X-Migadu-Scanner: scn1.migadu.com X-TUID: fqv5qavPLJcR * gnu/packages/simulation.scm (sumo): New variable. --- gnu/packages/simulation.scm | 69 +++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 240549be47..454cebcd6c 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2017, 2018, 2019, 2020, 2021 Paul Garlick ;;; Copyright © 2021 Maxim Cournoyer +;;; Copyright © 2022 Liliana Marie Prikler ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,12 +29,16 @@ (define-module (gnu packages simulation) #:use-module (gnu packages check) #:use-module (gnu packages cmake) #:use-module (gnu packages compression) + #:use-module (gnu packages cpp) #:use-module (gnu packages flex) + #:use-module (gnu packages fontutils) #:use-module (gnu packages gettext) #:use-module (gnu packages gcc) + #:use-module (gnu packages geo) #:use-module (gnu packages gl) #:use-module (gnu packages graphics) #:use-module (gnu packages gtk) + #:use-module (gnu packages image) #:use-module (gnu packages linux) #:use-module (gnu packages m4) #:use-module (gnu packages maths) @@ -48,6 +53,7 @@ (define-module (gnu packages simulation) #:use-module (gnu packages readline) #:use-module (gnu packages tls) #:use-module (gnu packages version-control) + #:use-module (gnu packages video) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix download) @@ -58,6 +64,7 @@ (define-module (gnu packages simulation) #:use-module (guix build-system python) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) + #:use-module (guix gexp) #:use-module (guix utils) #:use-module (ice-9 ftw) #:use-module (ice-9 regex) @@ -945,3 +952,65 @@ (define-public python-dolfin-adjoint forward model is implemented in @code{fenics} or @url{https://firedrakeproject.org,firedrake}.") (license license:lgpl3))) + +(define-public sumo + (package + (name "sumo") + (version "1.12.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/eclipse/sumo") + (commit (string-append "v" + (string-replace-substring version + "." "_"))))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "095252n2gpmrrzvr76mwx6j95frgvasfhya5br9xb0xs70blzzki")))) + (build-system cmake-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'disable-problematic-tests + (lambda _ + (substitute* "CMakeLists.txt" + ;; docs/example appears to be missing + (("add_test\\(exampletest .*") "")) + (substitute* "src/traci_testclient/CMakeLists.txt" + ;; requires network connection (at least to localhost) + (("add_test\\(NAME libtracitest .*") ""))))))) + (inputs (list eigen + freetype + fontconfig + ffmpeg + fox + gdal + glu + gperftools ; tcmalloc + libjpeg-turbo + libtiff + libx11 + libxcursor + libxft + libxi + libxrandr + libxrender + openscenegraph + proj + python + xerces-c + zlib)) + (native-inputs (list googletest python)) + (home-page "https://eclipse.org/sumo") + (synopsis "Traffic simulator") + (description "Simulation of Urban MObility (SUMO) is a traffic simulation +package designed to handle large road networks and different modes of +transportation -- including road vehicles, public transport and pedestrians. +Included with SUMO is a wealth of supporting tools which automate core tasks +for the creation, the execution and evaluation of traffic simulations, +such as network import, route calculations, visualization and emission +calculation. SUMO can be enhanced with custom models and provides various +APIs to remotely control the simulation.") + (license (list license:epl2.0 license:gpl2+)))) -- 2.34.0