summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2021-08-27 15:09:16 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2021-09-21 21:00:28 +0200
commitd727ff9d292077781454a3fd8a8766c7990b7b9f (patch)
tree549fdbc4d74b29f72fac69ce807a8c034e814827
parent8b1810bf31973d105d6f770ef8f2d7c16d8a9f2a (diff)
gnu: Add trytond-carrier-percentage.
* gnu/packages/tryton.scm (trytond-carrier-percentage): New variable.
-rw-r--r--gnu/packages/tryton.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index c42d34b41e..4472b18305 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -1481,6 +1481,32 @@ and account.")
of carrier.")
(license license:gpl3+)))
+(define-public trytond-carrier-percentage
+ (package
+ (name "trytond-carrier-percentage")
+ (version "6.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "trytond_carrier_percentage" version))
+ (sha256
+ (base32 "0glgjf733qliqxbr1sykxn2rlphagnpixhkg84my7bv6cxfmvkh6"))))
+ (build-system python-build-system)
+ (arguments (tryton-arguments "carrier_percentage"))
+ (native-inputs
+ `(,@%standard-trytond-native-inputs
+ ("trytond-purchase-shipment-cost" ,trytond-purchase-shipment-cost)
+ ("trytond-sale-shipment-cost" ,trytond-sale-shipment-cost)))
+ (propagated-inputs
+ `(("trytond" ,trytond)
+ ("trytond-carrier" ,trytond-carrier)
+ ("trytond-currency" ,trytond-currency)))
+ (home-page "https://docs.tryton.org/projects/modules-carrier-percentage")
+ (synopsis "Tryton module to add cost method based on percentage")
+ (description "The @emph{Carrier Percentage} Tryton module adds a cost
+method \"on percentage\" on carrier.")
+ (license license:gpl3+)))
+
(define-public trytond-company
(package
(name "trytond-company")