trytond: convert to python package
This commit is contained in:
parent
218c8509c6
commit
63bcf4f4ec
@ -1,14 +1,31 @@
|
||||
{ stdenv
|
||||
, python3Packages
|
||||
, buildPythonApplication
|
||||
, fetchPypi
|
||||
, mock
|
||||
, lxml
|
||||
, relatorio
|
||||
, genshi
|
||||
, dateutil
|
||||
, polib
|
||||
, python-sql
|
||||
, werkzeug
|
||||
, wrapt
|
||||
, passlib
|
||||
, bcrypt
|
||||
, pydot
|
||||
, python-Levenshtein
|
||||
, simplejson
|
||||
, html2text
|
||||
, psycopg2
|
||||
, withPostgresql ? true
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
buildPythonApplication rec {
|
||||
pname = "trytond";
|
||||
version = "5.6.2";
|
||||
src = python3Packages.fetchPypi {
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0mlfl34zmmqrwip39mvhkk0h6dsljqwff2mk1ldahm253d4vzflp";
|
||||
};
|
||||
@ -16,10 +33,10 @@ python3Packages.buildPythonApplication rec {
|
||||
# Tells the tests which database to use
|
||||
DB_NAME = ":memory:";
|
||||
|
||||
buildInputs = with python3Packages; [
|
||||
buildInputs = [
|
||||
mock
|
||||
];
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
propagatedBuildInputs = [
|
||||
lxml
|
||||
relatorio
|
||||
genshi
|
@ -7193,7 +7193,7 @@ in
|
||||
|
||||
tryton = callPackage ../applications/office/tryton { };
|
||||
|
||||
trytond = callPackage ../applications/office/trytond { };
|
||||
trytond = with python3Packages; toPythonApplication trytond;
|
||||
|
||||
omapd = callPackage ../tools/security/omapd { };
|
||||
|
||||
|
@ -6056,6 +6056,8 @@ in {
|
||||
|
||||
tqdm = callPackage ../development/python-modules/tqdm { };
|
||||
|
||||
trytond = callPackage ../development/python-modules/trytond { };
|
||||
|
||||
smmap = callPackage ../development/python-modules/smmap { };
|
||||
|
||||
smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14
|
||||
|
Loading…
x
Reference in New Issue
Block a user