GNU bug report logs - #50628
[PATCH 000/154] Add 146 Tryton modules and some dependencies

Previous Next

Package: guix-patches;

Reported by: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Date: Thu, 16 Sep 2021 22:54:01 UTC

Severity: normal

Tags: patch

Done: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Bug is archived. No further changes may be made.

Full log


Message #305 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 50628 <at> debbugs.gnu.org,
	guix-patches <at> gnu.org
Subject: [PATCH 054/154] gnu: Add trytond-carrier-weight.
Date: Fri, 17 Sep 2021 00:53:13 +0200
* gnu/packages/tryton.scm (trytond-carrier-weight): 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 2e6e2c1036..66d755ff3f 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -1542,6 +1542,36 @@ These can be used to restrict the usage of a carrier to a specific subdivision
 or a specific postal code.")
     (license license:gpl3+)))
 
+(define-public trytond-carrier-weight
+  (package
+    (name "trytond-carrier-weight")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_carrier_weight" version))
+       (sha256
+        (base32 "0l2gg4syym7jk0vjqnw7invh0gngrfmg9zmmvc1k6110aryr77yi"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "carrier_weight"))
+    (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-company" ,trytond-company)
+       ("trytond-currency" ,trytond-currency)
+       ("trytond-product" ,trytond-product)
+       ("trytond-product-measurements" ,trytond-product-measurements)))
+    (home-page "https://docs.tryton.org/projects/modules-carrier-weight")
+    (synopsis "Tryton module to add cost method based on weight")
+    (description "The @emph{Carrier Weight} Tryton module adds a cost method
+\"on weight\" on carrier.  The price is computed by finding the line for which
+the weight is greater or equal but smaller than the next line.")
+    (license license:gpl3+)))
+
 (define-public trytond-company
   (package
     (name "trytond-company")
-- 
2.30.2





This bug report was last modified 3 years and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.