diff options
| author | Jakub Dlugosz <me@jdlugosz.com> | 2025-10-31 13:16:43 +0100 | 
|---|---|---|
| committer | Jakub Dlugosz <me@jdlugosz.com> | 2025-10-31 13:16:43 +0100 | 
| commit | aff3bf8cbf35e90afbcfdedd8909d6e9469532d0 (patch) | |
| tree | 56dc48a65058d9376f44edfc2f19039ae742e754 /src/jd/packages/supernote.scm | |
| parent | 05067670476f839100fbb98b77284ddbf8e5adc4 (diff) | |
| download | dotfiles-aff3bf8cbf35e90afbcfdedd8909d6e9469532d0.tar.gz dotfiles-aff3bf8cbf35e90afbcfdedd8909d6e9469532d0.zip  | |
Add supernote-tool package and apply it to user config
Diffstat (limited to 'src/jd/packages/supernote.scm')
| -rw-r--r-- | src/jd/packages/supernote.scm | 48 | 
1 files changed, 48 insertions, 0 deletions
diff --git a/src/jd/packages/supernote.scm b/src/jd/packages/supernote.scm new file mode 100644 index 0000000..921d0d1 --- /dev/null +++ b/src/jd/packages/supernote.scm  | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | (define-module (jd packages supernote) | ||
| 2 | #:use-module (gnu packages python-build) | ||
| 3 | #:use-module (gnu packages python-xyz) | ||
| 4 | |||
| 5 | #:use-module (guix build-system pyproject) | ||
| 6 | #:use-module (guix git-download) | ||
| 7 | #:use-module ((guix licenses) #:prefix license:) | ||
| 8 | #:use-module (guix packages) | ||
| 9 | |||
| 10 | #:use-module (jd packages python)) | ||
| 11 | |||
| 12 | (define-public supernote-tool | ||
| 13 | (package | ||
| 14 | (name "supernote-tool") | ||
| 15 | (version "0.6.2") | ||
| 16 | (source | ||
| 17 | (origin | ||
| 18 | (method git-fetch) | ||
| 19 | (uri (git-reference | ||
| 20 | (url "https://github.com/jya-dev/supernote-tool") | ||
| 21 | (commit "73166ca4fbe23a50e188c212f7f1a8d30ce1ce66"))) | ||
| 22 | (file-name (git-file-name name version)) | ||
| 23 | (sha256 | ||
| 24 | (base32 "1mzq6s8lwq3qnq3sbp2hwxkcy07j5izjf309wfx38g7ssd3b8mwd")))) | ||
| 25 | (build-system pyproject-build-system) | ||
| 26 | (arguments | ||
| 27 | (list | ||
| 28 | #:tests? #f)) | ||
| 29 | (propagated-inputs | ||
| 30 | (list | ||
| 31 | python-colour | ||
| 32 | python-fusepy | ||
| 33 | python-numpy | ||
| 34 | python-pillow | ||
| 35 | python-potracer | ||
| 36 | python-pypng | ||
| 37 | python-reportlab | ||
| 38 | python-svglib | ||
| 39 | python-svgwrite)) | ||
| 40 | (native-inputs | ||
| 41 | (list python-hatchling)) | ||
| 42 | (home-page "https://github.com/jya-dev/supernote-tool") | ||
| 43 | (synopsis "An unofficial converter library for Ratta Supernote") | ||
| 44 | (description | ||
| 45 | "Supernotelib is an unofficial converter and utility library for Ratta Supernote | ||
| 46 | devices, supporting conversion of note files, vector tracing, and export to | ||
| 47 | standard formats like PDF and SVG.") | ||
| 48 | (license license:asl2.0))) | ||
