Subject: [bug#50628] [PATCH 153/154] gnu: Add trytond-web-shortener.

From: Hartmut Goebel <[email-masked]>
Date: Fri, 17 Sep 2021 00:54:52 +0200

* gnu/packages/tryton.scm (trytond-web-shortener): New variable.
---
 gnu/packages/tryton.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index cc57037a77..1f24277ccb 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -4449,3 +4449,25 @@ Vue Storefront 1.x.")
     (description "The @emph{Web Shop Vue Storefront Stripe} Tryton module
 provides support of Stripe payment for Vue Storefront integration.")
     (license license:gpl3+)))
+
+(define-public trytond-web-shortener
+  (package
+    (name "trytond-web-shortener")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_web_shortener" version))
+       (sha256
+        (base32 "0vxwnsy7xzxawn7fmm6ykdrhih6ahrwwx6fzd6kz7qbwh4nmqcpk"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "web_shortener"))
+    (native-inputs `(,@%standard-trytond-native-inputs))
+    (propagated-inputs
+     `(("trytond" ,trytond)))
+    (home-page "https://docs.tryton.org/projects/modules-web-shortener")
+    (synopsis "Tryton module to plug a URL to an action")
+    (description "The @emph{Web Shortener} Tryton module allows URLs to be
+shortened.  It also counts the number of times the URL is accessed and
+optionally triggers action.")
+    (license license:gpl3+)))
-- 
2.30.2