From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0PrlHFG8k2I3GwAAbAwnHQ (envelope-from ) for ; Sun, 29 May 2022 20:32:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YAfmG1G8k2IefgAAG6o9tA (envelope-from ) for ; Sun, 29 May 2022 20:32:49 +0200 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 0D0121273C for ; Sun, 29 May 2022 20:32:49 +0200 (CEST) Received: from localhost ([::1]:45826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvNia-0002vv-7u for larch@yhetil.org; Sun, 29 May 2022 14:32:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvNfz-0007kb-Dh for guix-patches@gnu.org; Sun, 29 May 2022 14:30:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48033) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvNfz-0000Ui-01 for guix-patches@gnu.org; Sun, 29 May 2022 14:30:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nvNfy-0003Gf-S8 for guix-patches@gnu.org; Sun, 29 May 2022 14:30:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] [PATCH v4 14/14] gnu: Add octoprint. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 May 2022 18:30:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51314@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 51314-submit@debbugs.gnu.org id=B51314.165384898412441 (code B ref 51314); Sun, 29 May 2022 18:30:06 +0000 Received: (at 51314) by debbugs.gnu.org; 29 May 2022 18:29:44 +0000 Received: from localhost ([127.0.0.1]:41921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvNfb-0003Ea-Jm for submit@debbugs.gnu.org; Sun, 29 May 2022 14:29:44 -0400 Received: from mout01.posteo.de ([185.67.36.65]:36903) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvNfT-0003Dq-Hs for 51314@debbugs.gnu.org; Sun, 29 May 2022 14:29:39 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id F4083240026 for <51314@debbugs.gnu.org>; Sun, 29 May 2022 20:29:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1653848970; bh=MTY+q4xbogfai5ak3XyH9GWGZz7NVh1453FpGhEg6eo=; h=From:To:Cc:Subject:Date:From; b=G4oTrR29XE6TvAJoj3cMDfRvXPji6PTAFpVMFk2dXc+h6/UoPOzdcviQrr4o0yiWV G8fCst1axe7WMMmYFg3wkM54dJveRVKCjcPY7HpXn9VeSeFkDta+qWvb5/P2hAyyHt 6k7zHM83SzZk6xatmJI4niRZP7uPLZFM0GaeYP2HZ1oANNgrf/BpFAbjKU1ZEblHpo bMi38BbtcyfJykxgdJhqVYFfLanzaw58Nmp167acML2Nqy4GxK0LDlKg1qO/9zYivQ +O5xs50hGiSpNSMA0eqTaJ+ateNNpUkxj6dYNB+0wmvFqX2YU7JvZDYYbeKc49Ed4E aDn7UYhRg+8vQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LB6Ws0hWyz9rxD; Sun, 29 May 2022 20:29:28 +0200 (CEST) From: Vinicius Monego Date: Sun, 29 May 2022 18:27:46 +0000 Message-Id: <20220529182746.314668-15-monego@posteo.net> In-Reply-To: <20220529182746.314668-1-monego@posteo.net> References: <20220529182746.314668-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653849169; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=URm55MOjZ+7zcFWPXs4j4DOB0FJsKQUJZFQzS7lXgog=; b=qVwNkc82uKdAGqA4fl7wfxckVSUb8pNo+RwPuwdu0VKQKlAD8bhipg9XWgZB5znL2Ey6OD 9btRMxKk+bujj7sXjcLYfYkw7XZUNJOngO4QC50HGgTiYYntMiccKfhh/KvyV4m1Sa7sin kkaivxWBJNlIzxGggX0QwSKYjyGgXanR2vYHICKLtaGE9VzsqjFcm9abea+os2muZRxK6/ 6aHU/jWgbcDv2TFNeUSr16XFRHmdDlly1/ZDDuH31Cwy2qT+mWTftVPyY1ZdjepBf3q1fL Cc1ZooQ48oiYd00utDHAIdIdyMWcjXWiNtbHckPsPRKPoy9d6ElylxoPvzGwHg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653849169; a=rsa-sha256; cv=none; b=RoJPKDAK9sKWbcycE69vg/15xyB4AsD7gRprWUj30l01WNwqLVdO/wlqw2Se2miylYP7J3 weL7IKPzfprXee57jP+b1WpVX9t9tzVT8SF3t0+SnCw8B3WMuE/sAZiE3ycJO5TCdYQXbM 2kwgVdoFmmcb5Ik1yYQ6o2iOBLRd+cQDi0XctfJ86umsyiuBptc3VVpOKU16ljfE8x+yzg Xub8D9ONBD3HJUlx6Wza8VoyJv4RMW2PbhbmjpALyy4veRu291mGxIxWQQF4OlEpltI7nG uJfFLdJA6+gXwaLfEVUWZhY87mrl/o2O1q8ZfmsgSVmis2gmCRWFJ6iNN4XfOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=G4oTrR29; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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: 8.77 X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=G4oTrR29; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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: 0D0121273C X-Spam-Score: 8.77 X-Migadu-Spam: Yes X-Migadu-Scanner: scn1.migadu.com X-TUID: TeGaMdvM5hAs * gnu/packages/printers.scm (octoprint): New variable. --- gnu/packages/printers.scm | 88 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 87 insertions(+), 1 deletion(-) diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm index edbc1386b5..acf341c5d6 100644 --- a/gnu/packages/printers.scm +++ b/gnu/packages/printers.scm @@ -25,10 +25,15 @@ (define-module (gnu packages printers) #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages check) #:use-module (gnu packages libusb) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) + #:use-module (gnu packages python-check) + #:use-module (gnu packages python-web) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) - #:use-module (gnu packages python-web)) + #:use-module (gnu packages web)) ;; This is a module for packages related to printer-like devices, but not ;; related to CUPS. @@ -106,6 +111,87 @@ (define-public octoprint-filecheck the past have caused support requests on OctoPrint's Community Forums.") (license license:agpl3))) +(define-public octoprint + (package + (name "octoprint") + (version "1.8.1") + (source + (origin + (method git-fetch) ; no tests in the PyPI tarball. + (uri (git-reference + (url "https://github.com/OctoPrint/OctoPrint") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0yqbq4gbnzgbipv35z5b1i1f8x20p0gdz37721f163iyipsxppj6")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Remove bundled font-awesome. + (delete-file-recursively "src/octoprint/static/vendor"))))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'set-home + (lambda _ + (setenv "HOME" (getcwd)))) ; some tests need a writable home + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "tests"))))))) + (native-inputs + (list python-ddt python-mock python-pytest python-pytest-doctest-custom)) + (inputs + (list octoprint-filecheck + octoprint-firmwarecheck + octoprint-pisupport + python-appdirs + python-blinker + python-cachelib-0.2 + python-click + python-colorlog + python-emoji + python-feedparser + python-filetype + python-flask + python-flask-assets + python-flask-babel + python-flask-login-0.5 + python-frozendict + python-future + python-immutabledict + python-itsdangerous + python-jinja2 + python-markdown + python-markupsafe + python-netaddr + python-netifaces + python-pathvalidate + python-pkginfo + python-psutil + python-pylru + python-pyserial + python-pyyaml-5 + python-regex + python-requests + python-sarge-0.1.6 + python-semantic-version + python-sentry-sdk + python-tornado-6 + python-unidecode + python-watchdog-1 + python-websocket-client + python-werkzeug + python-wrapt-1.13 + python-zeroconf-0.33 + python-zipstream-ng)) + (home-page "https://octoprint.org") + (synopsis "Web interface for 3D printers") + (description "OctoPrint provides a snappy web interface for controlling +consumer 3D printers.") + (license license:agpl3))) + (define-public robocut (package (name "robocut") -- 2.34.1