From patchwork Sat Oct 17 10:35:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malte Frank Gerdes X-Patchwork-Id: 24666 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AD37F27BBED; Sat, 17 Oct 2020 11:37:38 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BEBD827BBEE for ; Sat, 17 Oct 2020 11:37:37 +0100 (BST) Received: from localhost ([::1]:35142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTjai-0004oV-Te for patchwork@mira.cbaines.net; Sat, 17 Oct 2020 06:37:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTjaD-0004Qi-1j for guix-patches@gnu.org; Sat, 17 Oct 2020 06:37:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50222) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTjaC-00066e-MY for guix-patches@gnu.org; Sat, 17 Oct 2020 06:37:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kTjaC-0007zr-Kc for guix-patches@gnu.org; Sat, 17 Oct 2020 06:37:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44045] [PATCH 07/10] gnu: Add cura. Resent-From: Malte Frank Gerdes Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Oct 2020 10:37:04 +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.160293098030620 (code B ref 44045); Sat, 17 Oct 2020 10:37:04 +0000 Received: (at 44045) by debbugs.gnu.org; 17 Oct 2020 10:36:20 +0000 Received: from localhost ([127.0.0.1]:33523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTjZU-0007xj-45 for submit@debbugs.gnu.org; Sat, 17 Oct 2020 06:36:20 -0400 Received: from mail-ej1-f50.google.com ([209.85.218.50]:42875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTjZQ-0007w5-S0 for 44045@debbugs.gnu.org; Sat, 17 Oct 2020 06:36:17 -0400 Received: by mail-ej1-f50.google.com with SMTP id h24so7088229ejg.9 for <44045@debbugs.gnu.org>; Sat, 17 Oct 2020 03:36:16 -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=4ewfjHGe2QIBv6S54R/j6nAa2tTRXNB/TygZ1vzpv4o=; b=g2h/W0B/2F8LVjuiVRQv5aZeM48xTYrQQTNOfj7aocYkEx8uNgGvINQ04mIWKySiBt 0JVcGhe8yaV6W86CcPYAS6A6Lo2rash+BoWEFU7r2Td6F+v51mIFF9omP+UG6QrW9abt ow6/arkc3FnEnbn/okyk/D/YSUgcd0Zxn6yaktNRHz8KNxbCm73+q4eITariCrO3m5cL 7m26jMldF3oxKmMTzi1VFtIfGDF/xj1JU1y+6r9wGS9vYw+WBBv0iqCja4no+tkG5pJa IAxurL5I5T91sTtzMmX7s8sZoTefLxG+5jOYVKcAJ5fTQmXAKOK+itVShY4U4U+gqdjZ ZtNA== 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=4ewfjHGe2QIBv6S54R/j6nAa2tTRXNB/TygZ1vzpv4o=; b=ITZIBr+aWoUb9v9Ik3C1grRSmOoyEr4hvOYZ59fQbswnW7mOo0nzvIDftHooLQt83G FUECaY/2XXtS0wZfusMnXSzDNcHpq5KxiUYgWhWND0qeUBbQ3RzGhNjenVXK70h51rPy ofpk+VJo/ZUfGfD9IuRCCCkInGWIW7KvTZ6xQMPU4Xarx9mJ8ClS7OHPFF5vqzFsv034 pP7bzyfyY3elgEC91h1XO1TLtKfPXs+sVK/W9B2+vneexrP7NPciNeAG6e2AlcYRGJgW pHc0zpCW9kR2O4YaTVyg8W9vHjGlzd4vLignsmjh4b8UhmJnqtOHlYd+2DuiBeWHlL7p Pd6Q== X-Gm-Message-State: AOAM5305jc3AMqFYjGJNFPWBfyFPIzsG+C9KdOEHnbr/FBk2VCt4hlKS QfJafO7xe0DnyK/yvJ50kpTVmklsc6l9Og== X-Google-Smtp-Source: ABdhPJz7kwQEDafzZcluTeOPkOk4VxsS1DLlmyjpbRFA4YwcK2Eip+b9H6/rBQW9oZbQ7tVoCQ/qeA== X-Received: by 2002:a17:906:284f:: with SMTP id s15mr8271508ejc.336.1602930969851; Sat, 17 Oct 2020 03:36:09 -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.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Oct 2020 03:36:09 -0700 (PDT) From: Malte Frank Gerdes Date: Sat, 17 Oct 2020 12:35:44 +0200 Message-Id: <20201017103547.13769-7-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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/engineering.scm (cura): New variable. --- gnu/packages/engineering.scm | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index a65cbb81e8..2a7dfe470f 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -3075,3 +3075,46 @@ belongs to the Cura project from Ultimaker.") python bindings. It belongs to the Cura project from Ultimaker.") (license license:lgpl3)))) +(define-public cura + (package + (name "cura") + (version "4.7.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Ultimaker/Cura") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "19an168iad3cb5w8i71c0wbr79qnz5qnpxqx1j6dgh64qz6ffn2r")))) + (build-system cmake-build-system) + (native-inputs + `(("mypy" ,python-mypy) + ("pytest" ,python-pytest) + ("certifi" ,python-certifi) + ("requests" ,python-requests))) + (inputs + `(("uranium" ,uranium) + ("cura-engine" ,cura-engine) + ("serial" ,python-pyserial) + ("savitar" ,libSavitar) + ("charon" ,libCharon) + ("sip" ,python-sip))) + (arguments + `(#:tests? #false + #:configure-flags '("-DURANIUM_SCRIPTS_DIR=") + #:phases + (modify-phases %standard-phases + (add-after 'install 'link-to-CuraEngine + (lambda* (#:key inputs outputs #:allow-other-keys) + (symlink (string-append (assoc-ref inputs "cura-engine") + "/bin/CuraEngine") + (string-append (assoc-ref outputs "out") + "/bin/CuraEngine")) + #true))))) + (home-page "https://github.com/Ultimaker/Cura") + (synopsis "Cura Slicer") + (description "Cura is a slicing software from Ultimaker. A @emph{Slicer} +generates G-Code for 3D printers.") + (license license:lgpl3)))