21 , withPostgresql ? true
26 buildPythonPackage rec {
29 format = "setuptools";
31 disabled = pythonOlder "3.7";
34 inherit pname version;
35 sha256 = "sha256-AF8LG68K+CvHpFOIoGbxD+lF7IVwBDk8K06I4uTNguI=";
38 propagatedBuildInputs = [
57 ] ++ relatorio.optional-dependencies.fodt
58 ++ passlib.optional-dependencies.bcrypt
59 ++ passlib.optional-dependencies.argon2
60 ++ lib.optional withPostgresql psycopg2;
62 checkInputs = [ 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://hg.tryton.org/trytond/file/${version}/CHANGELOG";
84 license = licenses.gpl3Plus;
85 maintainers = with maintainers; [ udono johbo ];