From a7a084fbffee4fb64111726c5b299495a9760d79 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 27 Aug 2021 15:09:24 +0200 Subject: [PATCH] gnu: Add trytond-product-classification. * gnu/packages/tryton.scm (trytond-product-classification): 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 7d8d015077..dd8b6d51fc 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -2147,6 +2147,30 @@ (define-public trytond-product-attribute models `Attribute` and `Attribute Set` for products.") (license license:gpl3+))) +(define-public trytond-product-classification + (package + (name "trytond-product-classification") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_product_classification" version)) + (sha256 + (base32 "1sq42siqq8w6dd8jnqnkzy3npaf9g2nrdzazkl6nw5dysvpsz8cr")))) + (build-system python-build-system) + (arguments (tryton-arguments "product_classification")) + (native-inputs `(,@%standard-trytond-native-inputs)) + (propagated-inputs + `(("trytond" ,trytond) + ("trytond-product" ,trytond-product))) + (home-page + "https://docs.tryton.org/projects/modules-product-classification") + (synopsis "Tryton module to implement product classification") + (description "The @emph{Product Classification} Tryton module defines the +tools for other modules to create classifications of products. It adds a +reference field classification to the product template.") + (license license:gpl3+))) + (define-public trytond-purchase (package (name "trytond-purchase")