gnu: textpieces: Move to (gnu packages gnome-circle).

* gnu/packages/gnome-circle.scm (textpieces): New variable.
* gnu/packages/text-editors.scm (textpieces): Replace with deprecated alias.

Change-Id: Idb78764d8dc299272c1f371af446c4383683b445
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Noé Lopez 2025-12-18 22:56:56 +01:00 committed by Liliana Marie Prikler
parent ab3b8e3b8f
commit ca3c5deca1
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87
2 changed files with 61 additions and 57 deletions

View file

@ -700,3 +700,61 @@ files.")
format. It integrates perfectly with the GNOME desktop and provides an easy
and uncluttered interface for the management of password databases.")
(license license:gpl3+)))
(define-public textpieces
(package
(name "textpieces")
(version "3.2.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/liferooter/textpieces")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"14zq2c7js80m4cq8wpdb3kyz5sw96l8znbz027w8s94gqhm632ff"))))
(arguments
'(;; The test suite fails to validate appstream file due to lack of
;; network access
#:tests? #f
#:glib-or-gtk? #t))
(build-system meson-build-system)
(native-inputs
(list appstream-glib
blueprint-compiler-0.4
desktop-file-utils
gettext-minimal
`(,glib "bin")
`(,gtk "bin")
pkg-config
vala))
(inputs
(list gtk
gtksourceview
json-glib
libadwaita
libgee
python
python-pygobject
python-pyyaml))
(home-page "https://github.com/liferooter/textpieces")
(synopsis "Quick text processor")
(description
"Text Pieces is a tool for quick text transformations such as checksums,
encoding, decoding, etc.
The basic features of Text Pieces are:
@itemize
@item Base64 encoding and decoding
@item SHA-1, SHA-2 and MD5 checksums
@item Prettify and minify JSON
@item Covert JSON to YAML and vice versa
@item Count lines, symbols and words
@item Escape and unescape string, URL and HTML
@item Remove leading and trailing whitespaces
@item Sort and reverse sort lines
@item Reverse lines and whole text
@item You can write your own scripts and create custom tools
@end itemize")
(license license:gpl3)))

View file

@ -59,6 +59,7 @@
(define-module (gnu packages text-editors)
#:use-module (guix packages)
#:use-module (guix deprecation)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download)
@ -1459,63 +1460,8 @@ and Corrector} written in C that strives to keep the original behavior.")
(home-page "https://github.com/blakemcbride/TECOC")
(license license:bsd-3))))
(define-public textpieces
(package
(name "textpieces")
(version "3.2.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/liferooter/textpieces")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"14zq2c7js80m4cq8wpdb3kyz5sw96l8znbz027w8s94gqhm632ff"))))
(arguments
'(;; The test suite fails to validate appstream file due to lack of
;; network access
#:tests? #f
#:glib-or-gtk? #t))
(build-system meson-build-system)
(native-inputs
(list appstream-glib
blueprint-compiler-0.4
desktop-file-utils
gettext-minimal
`(,glib "bin")
`(,gtk "bin")
pkg-config
vala))
(inputs
(list gtk
gtksourceview
json-glib
libadwaita
libgee
python
python-pygobject
python-pyyaml))
(home-page "https://github.com/liferooter/textpieces")
(synopsis "Quick text processor")
(description
"Text Pieces is a tool for quick text transformations such as checksums,
encoding, decoding, etc.
The basic features of Text Pieces are:
@itemize
@item Base64 encoding and decoding
@item SHA-1, SHA-2 and MD5 checksums
@item Prettify and minify JSON
@item Covert JSON to YAML and vice versa
@item Count lines, symbols and words
@item Escape and unescape string, URL and HTML
@item Remove leading and trailing whitespaces
@item Sort and reverse sort lines
@item Reverse lines and whole text
@item You can write your own scripts and create custom tools
@end itemize")
(license license:gpl3)))
(define-deprecated/public-alias textpieces
(@ (gnu packages gnome-circle) textpieces))
(define-public typstwriter
(package