From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id upnuDVvJil+TTgAA0tVLHw (envelope-from ) for ; Sat, 17 Oct 2020 10:37:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id Jp5LCVvJil/lSgAA1q6Kng (envelope-from ) for ; Sat, 17 Oct 2020 10:37:15 +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 DBDB39402AF for ; Sat, 17 Oct 2020 10:37:14 +0000 (UTC) Received: from localhost ([::1]:34340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTjaL-0004T1-PG for larch@yhetil.org; Sat, 17 Oct 2020 06:37:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTjaC-0004Pk-9u for guix-patches@gnu.org; Sat, 17 Oct 2020 06:37:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50220) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTjaB-00066M-V0 for guix-patches@gnu.org; Sat, 17 Oct 2020 06:37:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kTjaB-0007zc-SZ for guix-patches@gnu.org; Sat, 17 Oct 2020 06:37:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44045] [PATCH 04/10] gnu: Add uranium. Resent-From: Malte Frank Gerdes Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Oct 2020 10:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44045 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44045@debbugs.gnu.org Cc: Malte Frank Gerdes Received: via spool by 44045-submit@debbugs.gnu.org id=B44045.160293097930601 (code B ref 44045); Sat, 17 Oct 2020 10:37:03 +0000 Received: (at 44045) by debbugs.gnu.org; 17 Oct 2020 10:36:19 +0000 Received: from localhost ([127.0.0.1]:33518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTjZT-0007xO-6v for submit@debbugs.gnu.org; Sat, 17 Oct 2020 06:36:19 -0400 Received: from mail-ej1-f45.google.com ([209.85.218.45]:39373) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTjZN-0007vz-GI for 44045@debbugs.gnu.org; Sat, 17 Oct 2020 06:36:14 -0400 Received: by mail-ej1-f45.google.com with SMTP id lw21so7089362ejb.6 for <44045@debbugs.gnu.org>; Sat, 17 Oct 2020 03:36:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hjn3IrqPKWFSER2kgv7a3BP7euyAefvVBmB9godn89o=; b=vgT6ASWS+4DCcCc2fmTW6AtCp78ootZMGc7dErgn/7NlFwrw/vMysJFw/D0V4kxLRb aYarA+h/5wo2cSQK8YcvFNU7D58ng/mhK5hySEZa96UDQMZbAk+tmJvqz/Bmvd4CnEFv TPN7/38dh2BL4qekoA5mgVmt5AMqhvWV7esvaquAT9CoMKaHHkVoZ1VEz5a20Pyy/4Bp Rt3EtAZ5ug6uIorL8zQHAx8G1XrRzlnoOB+/sfizagn7u2+hXN/OGp0m6t9bNEqtjFSj kggNwuk2GRjllXvXo/Um9icwzcsEh1Esjk6zAffB9paU44AwDWoze1uNF2NPmtM+cRyj MFEA== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hjn3IrqPKWFSER2kgv7a3BP7euyAefvVBmB9godn89o=; b=kBDrhXGJ5O3wKu2XfLM5+d6Cw4qh67YI5YBAYt53loOdqjtCWoVe9evullKKAzlW6u QWbmyKQrmdbjagMZh168dcryreAK1IuTxXn/+0k2JnJc4Ga6Yz8rX4bUqxY6/3/G0kfo jse/gs8rHvlCy3jOufuSHxZYSzRnxZTcCeUEmCXYLzao4o9u8UQHHvTzJt1KXG4sA9ly 8Uvn8sJiAHka2p3uM08fKiC4RKiBCf00gIenqGfQNoT/EaWp5LfqNb4Cfc29902SKBBL 8CzCwMwn5M2V937u4c85PHWSEV3qeVj5mvNsDEGNZbJ3L8ZPJlXJFw/un/DeY39owg2W JHUQ== X-Gm-Message-State: AOAM533GpuxtArQtjREu7JyxcMGJFZs/SzsaEEQwcO2dvyMhbdS5TZNL U9RCvFuxMp2TM2/OfiDBwjsovn3Re/hqsg== X-Google-Smtp-Source: ABdhPJzwJDa7SNbS1/Us5anz+nCa80xRLHLQBkDq5vWMXjiSyqZZCdoBM83N3mpGewp2vMhp7OW7Aw== X-Received: by 2002:a17:906:eb59:: with SMTP id mc25mr8026820ejb.34.1602930967530; Sat, 17 Oct 2020 03:36:07 -0700 (PDT) Received: from Morphium.intus (ip-84-118-73-55.unity-media.net. [84.118.73.55]) by smtp.gmail.com with ESMTPSA id cz11sm4794679edb.62.2020.10.17.03.36.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Oct 2020 03:36:06 -0700 (PDT) From: Malte Frank Gerdes Date: Sat, 17 Oct 2020 12:35:41 +0200 Message-Id: <20201017103547.13769-4-malte.f.gerdes@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201017103547.13769-1-malte.f.gerdes@gmail.com> References: <20201017103547.13769-1-malte.f.gerdes@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=vgT6ASWS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Spam-Score: 4.09 X-TUID: eLdiwrXBatmp * gnu/packages/engineering.scm (uranium): New variable. --- gnu/packages/engineering.scm | 68 ++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index e36abe0dbd..1b4cb391b3 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -104,6 +104,10 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages protobuf) #:use-module (gnu packages python) + #:use-module (gnu packages python-check) + #:use-module (gnu packages python-crypto) + #:use-module (gnu packages python-science) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages readline) @@ -2941,3 +2945,67 @@ Cura.") translations. Prebuilt Firmware files are removed.") (license license:agpl3))) +(define-public uranium + (package + (name "uranium") + (version "4.7.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Ultimaker/Uranium") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1h5d3scy3cnbyhh0pbavflpqklhn2lbp7hl193rc5gx8yzr3mqbh")))) + (build-system cmake-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("pytest" ,python-pytest) + ("mypy" ,python-mypy) + ("certifi" ,python-certifi) + ("twisted" ,python-twisted) + ("doxygen" ,doxygen) + ("graphviz" ,graphviz) + ("gettext" ,gettext-minimal))) + (propagated-inputs + `(("cura-binary-data" ,cura-binary-data) + ("qtbase" ,qtbase) + ("qtdeclarative" ,qtdeclarative) + ("qtcontrols2" ,qtquickcontrols2) + ("qtcontrols" ,qtquickcontrols) + ("qtgraphicaleffects" ,qtgraphicaleffects) + ("pyQt5" ,python-pyqt) + ("numpy" ,python-numpy) + ("arcus" ,libArcus) + ("shapely" ,python-shapely) + ("scipy" ,python-scipy) + ("python" ,python) + ("cryptography" ,python-cryptography) + ;; ("trimesh" ,python-trimesh) + )) + (arguments + `(#:tests? #false ;; tests are disabled, because they cause an infinite loop + #:configure-flags + `(,(string-append "-DGETTEXT_MSGINIT_EXECUTABLE=" + (assoc-ref %build-inputs "gettext") "/bin/msginit") + ,(string-append "-DCURA_BINARY_DATA_DIRECTORY=" + (assoc-ref %build-inputs "cura-binary-data"))) + #:phases + (modify-phases %standard-phases + (add-before 'configure 'fix-uranium-plugin-path + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "UM/Application.py" + (("app_root =.*$") + (string-append "app_root = \"" + (assoc-ref outputs "out") "\"\n")) + (("app_root, \"share\", \"uranium\", \"plugins\"") + "app_root, \"lib\", \"uranium\", \"plugins\"")) + #true))))) + (home-page "https://github.com/Ultimaker/Uranium") + (synopsis "Python Framework for building Desktop applications") + (description "Uranium is a Python Framework for building 3D Printing +related Desktop Applications using PyQt5. It belongs to the Cura project +from Ultimaker.") + (license license:lgpl3))) + -- 2.28.0