summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2021-08-27 15:09:43 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2021-09-21 21:00:32 +0200
commit6400707d9631cdc69f3b7f53c1bee0d96b80239f (patch)
treeb6f54af019f4b1165410c050e57653f58be9e409 /gnu/packages
parent9030b10b7668b167e73ed54db06f65f998851260 (diff)
gnu: Add trytond-sale-promotion-coupon.
* gnu/packages/tryton.scm (trytond-sale-promotion-coupon): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/tryton.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index 0dddbb935b..2bd05c48b9 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -3366,6 +3366,30 @@ customer's names and codes for products or variants.")
on sale based on criteria.")
(license license:gpl3+)))
+(define-public trytond-sale-promotion-coupon
+ (package
+ (name "trytond-sale-promotion-coupon")
+ (version "6.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "trytond_sale_promotion_coupon" version))
+ (sha256
+ (base32 "1hkbsamsf6swx05ij2yh7b3nvmcnlvf9xbz9r7hfs6blx2jkxs3p"))))
+ (build-system python-build-system)
+ (arguments (tryton-arguments "sale_promotion_coupon"))
+ (native-inputs `(,@%standard-trytond-native-inputs))
+ (propagated-inputs
+ `(("trytond" ,trytond)
+ ("trytond-sale" ,trytond-sale)
+ ("trytond-sale-promotion" ,trytond-sale-promotion)))
+ (home-page
+ "https://docs.tryton.org/projects/modules-sale-promotion-coupon")
+ (synopsis "Tryton module for sale promotion coupon")
+ (description "The @emph{Sale Promotion Coupon} Tryton module adds coupon
+to the promotions.")
+ (license license:gpl3+)))
+
(define-public trytond-stock
(package
(name "trytond-stock")