mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
gnu: Add tgs2png.
* gnu/packages/telegram.scm (tgs2png): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
1551f28ca7
commit
5b738d10e2
1 changed files with 28 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
|
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
|
||||||
;;; Copyright © 2022 Hilton Chain <hako@ultrarare.space>
|
;;; Copyright © 2022 Hilton Chain <hako@ultrarare.space>
|
||||||
;;; Copyright © 2023 Saku Laesvuori <saku@laesvuori.fi>
|
;;; Copyright © 2023 Saku Laesvuori <saku@laesvuori.fi>
|
||||||
|
;;; Copyright © 2023 Lu Hui <luhux76@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -792,3 +793,30 @@ (define-public tgcli
|
||||||
(synopsis "Telegram Terminal Application")
|
(synopsis "Telegram Terminal Application")
|
||||||
(description "TgCli is a telegram client to automate repetitive tasks.")
|
(description "TgCli is a telegram client to automate repetitive tasks.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public tgs2png
|
||||||
|
(let ((commit "25c15b7c2ca3b1a580a383d9d3cb13bf8531d04a")
|
||||||
|
(revision "0"))
|
||||||
|
(package
|
||||||
|
(name "tgs2png")
|
||||||
|
(version (git-version "0" revision commit))
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/zevlg/tgs2png")
|
||||||
|
(commit commit)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0camvzapkfvr9v0nkk96n26rdmw0g8wbpv41i5l03j6bzdgm4myl"))))
|
||||||
|
(build-system cmake-build-system)
|
||||||
|
(native-inputs (list pkg-config))
|
||||||
|
(inputs (list libpng rlottie))
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f)) ;no tests
|
||||||
|
(home-page "https://github.com/zevlg/tgs2png")
|
||||||
|
(synopsis "Convert Telegram's TGS format into PNG images")
|
||||||
|
(description
|
||||||
|
"This program converts Telegram's animated stickers in TGS format into
|
||||||
|
a series of PNG images.")
|
||||||
|
(license license:gpl3+))))
|
||||||
|
|
Loading…
Reference in a new issue