all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: phodina via Guix-patches via <guix-patches@gnu.org>
To: "50987@debbugs.gnu.org" <50987@debbugs.gnu.org>
Subject: [bug#50987] [PATCH 2/2] gnu: Add python-sl1tophoton.
Date: Sun, 03 Oct 2021 07:43:53 +0000	[thread overview]
Message-ID: <4Ru7g6bih3h2SgDG2izfiqmCEcySJ3xMOcvEtcn7fGoeBhTPYjYvgW8wnK77o7nrGnaILCrMu949HnZwEpEmGsw0UWtmOCHIlYFMJA0OIkg=@protonmail.com> (raw)
In-Reply-To: <wWL2JJwgAO2nHCWccvc6EdD_PbUvZYevHcUC9W6DZijZ2zf1x4GTxMR9PFFcEWDRSUONBwqotcUdBMvCJ3MxpfPEXFAJtGCz9jWQPOKchgE=@protonmail.com>

* gnu/packages/python-xyz.scm (python-sl1tophoton): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5f4df4c7fb..0c56c61946 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -547,6 +547,43 @@ Markdown.  All extensions are found under the module namespace of pymdownx.")
 generator MkDocs.")
     (license license:expat)))

+(define-public python-sl1tophoton
+  (package
+    (name "python-sl1tophoton")
+    (version "0.1.3")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/fookatchu/SL1toPhoton")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32
+            "1hmb74rcky3nax4lxn7pw6lcd5a66fdbwrm11c84zb31xb51bakw"))))
+    (build-system python-build-system)
+    (arguments
+      `(#:phases
+         (modify-phases %standard-phases
+           (add-after 'install 'install-binary
+             (lambda* (#:key outputs #:allow-other-keys)
+               (let* ((bin (string-append (assoc-ref outputs "out") "/bin")))
+                 (mkdir-p bin)
+                 (install-file "SL1_to_Photon_gui.py" bin)
+                 (install-file "SL1_to_Photon.py" bin)
+                 (chmod (string-append bin "/SL1_to_Photon_gui.py") #o555)
+                 (chmod (string-append bin "/SL1_to_Photon.py") #o555)))))))
+    (inputs `(("python-pyphotonfile", python-pyphotonfile)
+              ("python-numpy" ,python-numpy)
+              ("python-pyside-2" ,python-pyside-2)
+              ("python-pillow" ,python-pillow)))
+    (home-page "https://github.com/fookatchu/SL1toPhoton")
+    (synopsis "Converter for SL1 to Photon files")
+    (description "SL1toPhoton is a tool for converting PrusaSlicer's SL1 files
+to Photon files for the Anycubic Photon 3D-Printer.  Other cbddlp-files should
+also work (e.G. Elegoo Mars).")
+    (license license:gpl3)))
+
 (define-public python-slixmpp
   (package
     (name "python-slixmpp")
--
2.32.0




  reply	other threads:[~2021-10-03  8:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-03  7:41 [bug#50987] [PATCH 1/2] gnu: Add python-pyphotonfile phodina via Guix-patches via
2021-10-03  7:43 ` phodina via Guix-patches via [this message]
2021-10-03  7:48   ` [bug#50987] [PATCH 2/2] gnu: Add python-sl1tophoton phodina via Guix-patches via

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

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

  git send-email \
    --in-reply-to='4Ru7g6bih3h2SgDG2izfiqmCEcySJ3xMOcvEtcn7fGoeBhTPYjYvgW8wnK77o7nrGnaILCrMu949HnZwEpEmGsw0UWtmOCHIlYFMJA0OIkg=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=50987@debbugs.gnu.org \
    --cc=phodina@protonmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.