mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 12:34:15 +00:00
trytond: 4.8.4 -> 5.6.2
This commit is contained in:
parent
ec1d9c63d7
commit
218c8509c6
@ -1,40 +1,48 @@
|
|||||||
{ stdenv, python2Packages
|
{ stdenv
|
||||||
, withPostgresql ? true }:
|
, python3Packages
|
||||||
|
, withPostgresql ? true
|
||||||
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
python2Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "trytond";
|
pname = "trytond";
|
||||||
version = "4.8.4";
|
version = "5.6.2";
|
||||||
src = python2Packages.fetchPypi {
|
src = python3Packages.fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1935045b1b4674de602b4279a9cfd0a14431624a28ccb490234cffecb81fbca7";
|
sha256 = "0mlfl34zmmqrwip39mvhkk0h6dsljqwff2mk1ldahm253d4vzflp";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Tells the tests which database to use
|
# Tells the tests which database to use
|
||||||
DB_NAME = ":memory:";
|
DB_NAME = ":memory:";
|
||||||
|
|
||||||
buildInputs = with python2Packages; [
|
buildInputs = with python3Packages; [
|
||||||
mock
|
mock
|
||||||
];
|
];
|
||||||
propagatedBuildInputs = with python2Packages; ([
|
propagatedBuildInputs = with python3Packages; [
|
||||||
dateutil
|
|
||||||
lxml
|
lxml
|
||||||
|
relatorio
|
||||||
|
genshi
|
||||||
|
dateutil
|
||||||
polib
|
polib
|
||||||
python-sql
|
python-sql
|
||||||
relatorio
|
|
||||||
werkzeug
|
werkzeug
|
||||||
wrapt
|
wrapt
|
||||||
ipaddress
|
passlib
|
||||||
|
|
||||||
# extra dependencies
|
# extra dependencies
|
||||||
bcrypt
|
bcrypt
|
||||||
pydot
|
pydot
|
||||||
python-Levenshtein
|
python-Levenshtein
|
||||||
simplejson
|
simplejson
|
||||||
cdecimal
|
|
||||||
html2text
|
html2text
|
||||||
] ++ stdenv.lib.optional withPostgresql psycopg2);
|
] ++ stdenv.lib.optional withPostgresql psycopg2;
|
||||||
|
|
||||||
|
# If unset, trytond will try to mkdir /homeless-shelter
|
||||||
|
preCheck = ''
|
||||||
|
export HOME=$(mktemp -d)
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "The server of the Tryton application platform";
|
description = "The server of the Tryton application platform";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user