2020 weasyprint ,
2121 gevent ,
2222 pillow ,
23+ pwdlib ,
24+ simpleeval ,
2325 withPostgresql ? true ,
2426 psycopg2 ,
2527 unittestCheckHook ,
28+ writableTmpDirAsHomeHook ,
2629} :
2730
2831buildPythonPackage rec {
2932 pname = "trytond" ;
30- version = "7.4.10 " ;
33+ version = "7.6.2 " ;
3134 pyproject = true ;
3235
3336 disabled = pythonOlder "3.7" ;
3437
3538 src = fetchPypi {
3639 inherit pname version ;
37- hash = "sha256-kzoZDcHNPjmsNxrQ11MAksK+24nI1YNmONQd21s3weA =" ;
40+ hash = "sha256-KD9gZ0ForX1iYQMYlsle2fJ+zlmQOymDf71p17aCr1k =" ;
3841 } ;
3942
4043 build-system = [ setuptools ] ;
@@ -58,16 +61,23 @@ buildPythonPackage rec {
5861 weasyprint
5962 gevent
6063 pillow
64+ pwdlib
65+ simpleeval
6166 ]
6267 ++ relatorio . optional-dependencies . fodt
6368 ++ passlib . optional-dependencies . bcrypt
6469 ++ passlib . optional-dependencies . argon2
6570 ++ lib . optional withPostgresql psycopg2 ;
6671
67- nativeCheckInputs = [ unittestCheckHook ] ;
72+ # Fontconfig error: Cannot load default config file: No such file: (null)
73+ doCheck = false ;
74+
75+ nativeCheckInputs = [
76+ unittestCheckHook
77+ writableTmpDirAsHomeHook
78+ ] ;
6879
6980 preCheck = ''
70- export HOME=$(mktemp -d)
7181 export TRYTOND_DATABASE_URI="sqlite://"
7282 export DB_NAME=":memory:";
7383 '' ;
@@ -77,7 +87,7 @@ buildPythonPackage rec {
7787 "trytond.tests"
7888 ] ;
7989
80- meta = with lib ; {
90+ meta = {
8191 description = "Server of the Tryton application platform" ;
8292 longDescription = ''
8393 The server for Tryton, a three-tier high-level general purpose
@@ -89,9 +99,9 @@ buildPythonPackage rec {
8999 '' ;
90100 homepage = "http://www.tryton.org/" ;
91101 changelog = "https://foss.heptapod.net/tryton/tryton/-/blob/trytond-${ version } /trytond/CHANGELOG?ref_type=tags" ;
92- license = licenses . gpl3Plus ;
102+ license = lib . licenses . gpl3Plus ;
93103 broken = stdenv . hostPlatform . isDarwin ;
94- maintainers = with maintainers ; [
104+ maintainers = with lib . maintainers ; [
95105 udono
96106 johbo
97107 ] ;
0 commit comments