mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
42c6acd33b
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/.trytond-wrapped -h` got 0 exit code - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/.trytond-wrapped --help` got 0 exit code - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/.trytond-wrapped --version` and found version 4.6.2 - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/trytond -h` got 0 exit code - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/trytond --help` got 0 exit code - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/trytond --version` and found version 4.6.2 - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/.trytond-admin-wrapped -h` got 0 exit code - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/.trytond-admin-wrapped --help` got 0 exit code - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/.trytond-admin-wrapped --version` and found version 4.6.2 - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/trytond-admin -h` got 0 exit code - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/trytond-admin --help` got 0 exit code - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/trytond-admin --version` and found version 4.6.2 - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/.trytond-cron-wrapped -h` got 0 exit code - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/.trytond-cron-wrapped --help` got 0 exit code - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/.trytond-cron-wrapped --version` and found version 4.6.2 - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/trytond-cron -h` got 0 exit code - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/trytond-cron --help` got 0 exit code - ran `/nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2/bin/trytond-cron --version` and found version 4.6.2 - found 4.6.2 with grep in /nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2 - found 4.6.2 in filename of file in /nix/store/7xmbfsniz5i0wfl7rcqmmhx5pvifqp24-trytond-4.6.2 cc "@johbo"
50 lines
1.2 KiB
Nix
50 lines
1.2 KiB
Nix
{ stdenv, fetchurl, python2Packages
|
|
, withPostgresql ? true }:
|
|
|
|
with stdenv.lib;
|
|
|
|
python2Packages.buildPythonApplication rec {
|
|
name = "trytond-${version}";
|
|
version = "4.6.2";
|
|
src = fetchurl {
|
|
url = "mirror://pypi/t/trytond/${name}.tar.gz";
|
|
sha256 = "0asc3pd37h8ky8j66iqxr0fv0k6mpjcwxwm0xgm5hrdi32l5cdda";
|
|
};
|
|
|
|
# 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
|
|
|
|
# extra dependencies
|
|
bcrypt
|
|
pydot
|
|
python-Levenshtein
|
|
simplejson
|
|
] ++ 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 = [ maintainers.johbo ];
|
|
};
|
|
}
|