From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 17 06:36:19 2020 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 To: 44045@debbugs.gnu.org Subject: [PATCH 04/10] gnu: Add uranium. 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-Debbugs-Envelope-To: 44045 Cc: Malte Frank Gerdes X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * 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