From 429dc783c1bd2d8e8f1051352bfd26e7ca5d2bd0 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 27 Aug 2021 15:09:20 +0200 Subject: [PATCH] gnu: Add trytond-edocument-unece. * gnu/packages/tryton.scm (trytond-edocument-unece): New variable. --- gnu/packages/tryton.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index ed58ffb233..3e8354e2d3 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -1812,6 +1812,36 @@ (define-public trytond-edocument-uncefact @end itemize") (license license:gpl3+))) +(define-public trytond-edocument-unece + (package + (name "trytond-edocument-unece") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_edocument_unece" version)) + (sha256 + (base32 "1ri3gjvk0h0sljbgh7h2j0rbr3953p3k21l8x6rhrnh1q2rqgi70")))) + (build-system python-build-system) + (arguments (tryton-arguments "edocument_unece")) + (native-inputs `(,@%standard-trytond-native-inputs)) + (propagated-inputs + `(("trytond" ,trytond) + ("trytond-account" ,trytond-account) + ("trytond-product" ,trytond-product))) + (home-page "https://docs.tryton.org/projects/modules-edocument-unece") + (synopsis "Tryton module for electronic document UNECE codes") + (description "The @emph{Edocument UNECE} Tryton module adds several codes +from the UNECE. Supported formats are: + +@itemize +@item Recommendation N°. 20 Codes for + Units of Measure Used in International Trade +@item 5153 Duty or tax or fee type name code +@item 5305 Duty or tax or fee category code +@end itemize") + (license license:gpl3+))) + (define-public trytond-party (package (name "trytond-party")