Subject: [bug#50628] [PATCH 079/154] gnu: Add trytond-product-price-list.

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

* gnu/packages/tryton.scm (trytond-product-price-list): New variable.
---
 gnu/packages/tryton.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index fb22bdfe96..666455d29c 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -2325,6 +2325,30 @@ purchased using a single line.")
 following measurements to Product:")
     (license license:gpl3+)))
 
+(define-public trytond-product-price-list
+  (package
+    (name "trytond-product-price-list")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_product_price_list" version))
+       (sha256
+        (base32 "1csr2g7wx89kykhm76dyrjn0nicvjmc4razqfqpj9rhdpwppdgr6"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "product_price_list"))
+    (native-inputs `(,@%standard-trytond-native-inputs))
+    (propagated-inputs
+     `(("python-simpleeval" ,python-simpleeval)
+       ("trytond" ,trytond)
+       ("trytond-company" ,trytond-company)
+       ("trytond-product" ,trytond-product)))
+    (home-page "https://docs.tryton.org/projects/modules-product-price-list")
+    (synopsis "Tryton module with price list")
+    (description "The @emph{Product Price List} Tryton module provides formula
+to compute prices per product or category.")
+    (license license:gpl3+)))
+
 (define-public trytond-purchase
   (package
     (name "trytond-purchase")
-- 
2.30.2