File tree Expand file tree Collapse file tree 1 file changed +5
-27
lines changed Expand file tree Collapse file tree 1 file changed +5
-27
lines changed Original file line number Diff line number Diff line change 77} :
88
99let
10+ odoo_version = "16.0" ;
11+ odoo_release = "20241010" ;
1012 python = python310 . override {
1113 self = python ;
12- packageOverrides = self : super : {
13- flask = super . flask . overridePythonAttrs ( old : rec {
14- version = "2.3.3" ;
15- src = old . src . override {
16- inherit version ;
17- hash = "sha256-CcNHqSqn/0qOfzIGeV8w2CZlS684uHPQdEzVccpgnvw=" ;
18- } ;
19- } ) ;
20- werkzeug = super . werkzeug . overridePythonAttrs ( old : rec {
21- version = "2.3.7" ;
22- src = old . src . override {
23- inherit version ;
24- hash = "sha256-K4wORHtLnbzIXdl7butNy69si2w74L1lTiVVPgohV9g=" ;
25- } ;
26- disabledTests = old . disabledTests ++ [
27- "test_response_body"
28- ] ;
29- } ) ;
30- } ;
3114 } ;
32-
33- odoo_version = "16.0" ;
34- odoo_release = "20231024" ;
3515in python . pkgs . buildPythonApplication rec {
3616 pname = "odoo" ;
3717 version = "${ odoo_version } .${ odoo_release } " ;
@@ -41,13 +21,10 @@ in python.pkgs.buildPythonApplication rec {
4121 # latest release is at https://github.com/odoo/docker/blob/master/16.0/Dockerfile
4222 src = fetchzip {
4323 url = "https://nightly.odoo.com/${ odoo_version } /nightly/src/odoo_${ version } .zip" ;
44- name = "${ pname } -${ version } " ;
45- hash = "sha256-Ux8RfA7kWLKissBBY5wrfL+aKKw++5BxjP3Vw0JAOsk =" ; # odoo
24+ name = "odoo -${ version } " ;
25+ hash = "sha256-ICe5UOy+Ga81fE66SnIhRz3+JEEbGfoz7ag53mkG4UM =" ; # odoo
4626 } ;
4727
48- # needs some investigation
49- doCheck = false ;
50-
5128 makeWrapperArgs = [
5229 "--prefix" "PATH" ":" "${ lib . makeBinPath [ wkhtmltopdf rtlcss ] } "
5330 ] ;
@@ -66,6 +43,7 @@ in python.pkgs.buildPythonApplication rec {
6643 jinja2
6744 libsass
6845 lxml
46+ lxml-html-clean
6947 markupsafe
7048 num2words
7149 ofxparse
You can’t perform that action at this time.
0 commit comments