pkgs/development/python-modules: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
@@ -21,8 +21,6 @@
|
||||
, withPostgresql ? true
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "trytond";
|
||||
version = "5.8.2";
|
||||
@@ -56,14 +54,14 @@ buildPythonApplication rec {
|
||||
python-Levenshtein
|
||||
simplejson
|
||||
html2text
|
||||
] ++ stdenv.lib.optional withPostgresql psycopg2;
|
||||
] ++ lib.optional withPostgresql psycopg2;
|
||||
|
||||
# If unset, trytond will try to mkdir /homeless-shelter
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "The server of the Tryton application platform";
|
||||
longDescription = ''
|
||||
The server for Tryton, a three-tier high-level general purpose
|
||||
|
||||
Reference in New Issue
Block a user