unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Malte Frank Gerdes <malte.f.gerdes@gmail.com>
To: 44045@debbugs.gnu.org
Cc: Malte Frank Gerdes <malte.f.gerdes@gmail.com>
Subject: [bug#44045] [PATCH 04/10] gnu: Add uranium.
Date: Sat, 17 Oct 2020 12:35:41 +0200	[thread overview]
Message-ID: <20201017103547.13769-4-malte.f.gerdes@gmail.com> (raw)
In-Reply-To: <20201017103547.13769-1-malte.f.gerdes@gmail.com>

* 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





  parent reply	other threads:[~2020-10-17 10:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-17 10:32 [bug#44045] [PATCH 00/10] WIP Ultimaker Cura Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 01/10] gnu: Add libArcus Malte Frank Gerdes
2020-10-17 10:35   ` [bug#44045] [PATCH 02/10] gnu: Add cura-engine Malte Frank Gerdes
2020-10-17 10:35   ` [bug#44045] [PATCH 03/10] gnu: Add cura-binary-data Malte Frank Gerdes
2020-10-17 10:35   ` Malte Frank Gerdes [this message]
2020-10-17 10:35   ` [bug#44045] [PATCH 05/10] gnu: Add libCharon Malte Frank Gerdes
2020-10-17 10:35   ` [bug#44045] [PATCH 06/10] gnu: Add libSavitar Malte Frank Gerdes
2020-10-17 10:35   ` [bug#44045] [PATCH 07/10] gnu: Add cura Malte Frank Gerdes
2020-10-17 10:35   ` [bug#44045] [PATCH 08/10] gnu: Add python-pyinstrument-cext Malte Frank Gerdes
2020-10-17 10:35   ` [bug#44045] [PATCH 09/10] gnu: Add python-pyinstrument Malte Frank Gerdes
2020-10-17 10:35   ` [bug#44045] [PATCH 10/10] gnu: Add python-trimesh Malte Frank Gerdes
2020-10-19  7:08 ` [bug#44045] [PATCH 00/10] WIP Ultimaker Cura Efraim Flashner
2020-10-21 14:10 ` [bug#44045] [PATCH 10/10 v2] " Malte Frank Gerdes
2020-10-21 14:16 ` [bug#44045] [PATCH 08/10 " Malte Frank Gerdes
2022-04-07 20:41 ` bug#44045: [PATCH 00/10] " Guillaume Le Vaillant
2022-04-11 13:32   ` [bug#44045] " Malte Gerdes
2023-02-19 23:00 ` Demis Balbach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201017103547.13769-4-malte.f.gerdes@gmail.com \
    --to=malte.f.gerdes@gmail.com \
    --cc=44045@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).