summaryrefslogtreecommitdiffstats
path: root/src/jd/packages/supernote.scm
blob: 921d0d1ca032ac10a8a94f78d48d9aa90fb73446 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
(define-module (jd packages supernote)
  #:use-module (gnu packages python-build)
  #:use-module (gnu packages python-xyz)

  #:use-module (guix build-system pyproject)
  #:use-module (guix git-download)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)

  #:use-module (jd packages python))

(define-public supernote-tool
  (package
    (name "supernote-tool")
    (version "0.6.2")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/jya-dev/supernote-tool")
             (commit "73166ca4fbe23a50e188c212f7f1a8d30ce1ce66")))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1mzq6s8lwq3qnq3sbp2hwxkcy07j5izjf309wfx38g7ssd3b8mwd"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:tests? #f))
    (propagated-inputs
     (list
      python-colour
      python-fusepy
      python-numpy
      python-pillow
      python-potracer
      python-pypng
      python-reportlab
      python-svglib
      python-svgwrite))
    (native-inputs
     (list python-hatchling))
    (home-page "https://github.com/jya-dev/supernote-tool")
    (synopsis "An unofficial converter library for Ratta Supernote")
    (description
     "Supernotelib is an unofficial converter and utility library for Ratta Supernote
devices, supporting conversion of note files, vector tracing, and export to
standard formats like PDF and SVG.")
    (license license:asl2.0)))