teutat3s
e74f2d0f04
premailer.premailer.ExternalFileLoadingError: Unable to load external file 'assets/frappe/dist/css/email.bundle.HETZ7G4Y.css' because it's explicitly not allowed Unsupported new option introduced in premailer version 3.9.0 allow_loading_external_files=False https://github.com/peterbe/premailer/blob/master/CHANGES.rst#390 Also, sort dependencies in python overlay by usage
212 lines
2.9 KiB
Nix
212 lines
2.9 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonRelaxDepsHook
|
|
, fetchFromGitHub
|
|
|
|
# Core dependencies
|
|
, babel
|
|
, click
|
|
, filelock
|
|
, gitpython
|
|
, jinja2
|
|
, pillow
|
|
, pyjwt
|
|
, pymysql
|
|
, pypdf2
|
|
, pypika
|
|
, pyqrcode
|
|
, pyyaml
|
|
, restrictedpython
|
|
, weasyprint
|
|
, werkzeug
|
|
, whoosh
|
|
, beautifulsoup4
|
|
, bleach-allowlist
|
|
, bleach
|
|
, cairocffi
|
|
, chardet
|
|
, croniter
|
|
, cryptography
|
|
, email-reply-parser
|
|
, git-url-parse
|
|
, gitdb
|
|
, gunicorn
|
|
, html5lib
|
|
, ipython
|
|
, ldap3
|
|
, markdown2
|
|
, markupsafe
|
|
, maxminddb-geolite2
|
|
, num2words
|
|
, oauthlib
|
|
, openpyxl
|
|
, passlib
|
|
, pdfkit
|
|
, phonenumbers
|
|
, premailer
|
|
, psutil
|
|
, psycopg2-binary
|
|
, pyasn1
|
|
, pycountry
|
|
, pycryptodome
|
|
, pyopenssl
|
|
, pyotp
|
|
, pypng
|
|
, python-dateutil
|
|
, pytz
|
|
, rauth
|
|
, redis
|
|
, hiredis
|
|
, requests-oauthlib
|
|
, requests
|
|
, rq
|
|
, rsa
|
|
, semantic-version
|
|
, sqlparse
|
|
, tenacity
|
|
, terminaltables
|
|
, traceback-with-variables
|
|
, urllib3
|
|
, xlrd
|
|
, zxcvbn
|
|
, markdownify
|
|
|
|
# Integration dependencies
|
|
, boto3
|
|
, dropbox
|
|
, google-api-python-client
|
|
, google-auth-httplib2
|
|
, google-auth-oauthlib
|
|
, google-auth
|
|
, posthog
|
|
}:
|
|
let
|
|
pinData = import ../srcs/pin.nix;
|
|
inherit (pinData) frappeVersion;
|
|
inherit (pinData.hashes) frappeSrcHash;
|
|
in
|
|
buildPythonPackage rec {
|
|
pname = "frappe";
|
|
version = frappeVersion;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = "v${frappeVersion}";
|
|
sha256 = frappeSrcHash;
|
|
};
|
|
|
|
format = "flit";
|
|
|
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
|
pythonRelaxDeps = [
|
|
"Babel"
|
|
"beautifulsoup4"
|
|
"boto3"
|
|
"cairocffi"
|
|
"Click"
|
|
"croniter"
|
|
"cryptography"
|
|
"filelock"
|
|
"google-api-python-client"
|
|
"google-auth"
|
|
"hiredis"
|
|
"ipython"
|
|
"openpyxl"
|
|
"phonenumbers"
|
|
"Pillow"
|
|
"pyasn1"
|
|
"pycountry"
|
|
"pycryptodome"
|
|
"PyJWT"
|
|
"PyMySQL"
|
|
"pyOpenSSL"
|
|
"pyotp"
|
|
"pypng"
|
|
"pytz"
|
|
"redis"
|
|
"requests"
|
|
"rq"
|
|
"tenacity"
|
|
"WeasyPrint"
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
babel
|
|
click
|
|
filelock
|
|
gitpython
|
|
jinja2
|
|
pillow
|
|
pyjwt
|
|
pymysql
|
|
pypdf2
|
|
pypika
|
|
pyqrcode
|
|
pyyaml
|
|
restrictedpython
|
|
weasyprint
|
|
werkzeug
|
|
whoosh
|
|
beautifulsoup4
|
|
bleach-allowlist
|
|
bleach
|
|
cairocffi
|
|
chardet
|
|
croniter
|
|
cryptography
|
|
email-reply-parser
|
|
git-url-parse
|
|
gitdb
|
|
gunicorn
|
|
html5lib
|
|
ipython
|
|
ldap3
|
|
markdown2
|
|
markupsafe
|
|
maxminddb-geolite2
|
|
num2words
|
|
oauthlib
|
|
openpyxl
|
|
passlib
|
|
pdfkit
|
|
phonenumbers
|
|
premailer
|
|
psutil
|
|
psycopg2-binary
|
|
pyasn1
|
|
pycountry
|
|
pycryptodome
|
|
pyopenssl
|
|
pyotp
|
|
pypng
|
|
python-dateutil
|
|
pytz
|
|
rauth
|
|
redis
|
|
hiredis
|
|
requests-oauthlib
|
|
requests
|
|
rq
|
|
rsa
|
|
semantic-version
|
|
sqlparse
|
|
tenacity
|
|
terminaltables
|
|
traceback-with-variables
|
|
urllib3
|
|
xlrd
|
|
zxcvbn
|
|
markdownify
|
|
|
|
# integration dependencies
|
|
boto3
|
|
dropbox
|
|
google-api-python-client
|
|
google-auth-httplib2
|
|
google-auth-oauthlib
|
|
google-auth
|
|
posthog
|
|
];
|
|
}
|