guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

58/154: gnu: Add trytond-customs.


From: guix-commits
Subject: 58/154: gnu: Add trytond-customs.
Date: Tue, 21 Sep 2021 15:07:40 -0400 (EDT)

htgoebel pushed a commit to branch master
in repository guix.

commit 35869e854c402c54df76f141b2d5adebea7420c2
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Fri Aug 27 15:09:19 2021 +0200

    gnu: Add trytond-customs.
    
    * gnu/packages/tryton.scm (trytond-customs): New variable.
---
 gnu/packages/tryton.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index 3f8920b..4f7bd60 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -1737,6 +1737,31 @@ currency and rate.")
 (define-public python-trytond-currency
   (deprecated-package "python-trytond-currency" trytond-currency))
 
+(define-public trytond-customs
+  (package
+    (name "trytond-customs")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_customs" version))
+       (sha256
+        (base32 "1qilj1b9zr35z15313xbvgklf87dgxddvkcnymklwp9n7vs7hrz5"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "customs"))
+    (native-inputs `(,@%standard-trytond-native-inputs))
+    (propagated-inputs
+     `(("python-simpleeval" ,python-simpleeval)
+       ("trytond" ,trytond)
+       ("trytond-country" ,trytond-country)
+       ("trytond-currency" ,trytond-currency)
+       ("trytond-product" ,trytond-product)))
+    (home-page "https://docs.tryton.org/projects/modules-customs";)
+    (synopsis "Tryton module for customs")
+    (description "The @emph{Customs} Tryton module allows to define customs
+duty based on the tariff code.")
+    (license license:gpl3+)))
+
 (define-public trytond-party
   (package
     (name "trytond-party")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]