3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/office/trytond/default.nix

53 lines
1.3 KiB
Nix
Raw Normal View History

{ stdenv, python2Packages
2017-02-18 15:27:25 +00:00
, withPostgresql ? true }:
with stdenv.lib;
python2Packages.buildPythonApplication rec {
pname = "trytond";
2018-05-30 20:29:43 +01:00
version = "4.8.1";
src = python2Packages.fetchPypi {
inherit pname version;
2018-05-30 20:29:43 +01:00
sha256 = "8e72a24bdf2fd090c5e12ce5f73a00322e31519608b31db44d7bb76382078db9";
2017-02-18 15:27:25 +00:00
};
# Tells the tests which database to use
DB_NAME = ":memory:";
buildInputs = with python2Packages; [
mock
];
propagatedBuildInputs = with python2Packages; ([
dateutil
lxml
polib
python-sql
relatorio
werkzeug
wrapt
ipaddress
2017-02-18 15:27:25 +00:00
# extra dependencies
bcrypt
pydot
python-Levenshtein
simplejson
cdecimal
html2text
2017-02-18 15:27:25 +00:00
] ++ stdenv.lib.optional withPostgresql psycopg2);
meta = {
description = "The server of the Tryton application platform";
longDescription = ''
The server for Tryton, a three-tier high-level general purpose
application platform under the license GPL-3 written in Python and using
PostgreSQL as database engine.
It is the core base of a complete business solution providing
modularity, scalability and security.
'';
homepage = http://www.tryton.org/;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ udono johbo ];
2017-02-18 15:27:25 +00:00
};
}