21 , withPostgresql ? true
26 buildPythonPackage rec {
29 format = "setuptools";
31 disabled = pythonOlder "3.7";
34 inherit pname version;
35 hash = "sha256-DlPuIaGTpJu4FyLOTNAy2CAEJHoe7+8e34wacz8C7d8=";
38 propagatedBuildInputs = [
57 ] ++ relatorio.optional-dependencies.fodt
58 ++ passlib.optional-dependencies.bcrypt
59 ++ passlib.optional-dependencies.argon2
60 ++ lib.optional withPostgresql psycopg2;
62 nativeCheckInputs = [ unittestCheckHook ];
65 export HOME=$(mktemp -d)
66 export TRYTOND_DATABASE_URI="sqlite://"
67 export DB_NAME=":memory:";
70 unittestFlagsArray = [ "-s" "trytond.tests" ];
73 description = "The server of the Tryton application platform";
75 The server for Tryton, a three-tier high-level general purpose
76 application platform under the license GPL-3 written in Python and using
77 PostgreSQL as database engine.
79 It is the core base of a complete business solution providing
80 modularity, scalability and security.
82 homepage = "http://www.tryton.org/";
83 changelog = "https://foss.heptapod.net/tryton/tryton/-/blob/trytond-${version}/trytond/CHANGELOG?ref_type=tags";
84 license = licenses.gpl3Plus;
85 maintainers = with maintainers; [ udono johbo ];