pkgs/development/python-modules: stdenv.lib -> lib

This commit is contained in:
Pavol Rusnak
2021-01-24 01:29:22 +01:00
parent 2f34b4b883
commit a4bbfba80d
211 changed files with 525 additions and 546 deletions

View File

@@ -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