erpnext-nix/python/frappe.nix
2023-05-18 17:36:51 +02:00

169 lines
2.5 KiB
Nix

{
buildPythonPackage,
fetchPypi,
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,
pyopenssl,
pycryptodome,
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,
}:
buildPythonPackage rec {
pname = "frappe";
version = "14.36.1";
format = "flit";
src = fetchFromGitHub {
owner = "akshaymankar";
repo = "frappe";
rev = "d4d3cbc12d3e40f104500866a2bf468d128e2e32";
sha256 = "sha256-+z/IeK3bFGYxnvWCR6GTgik25lSReJvRCbV7MsoUA/g=";
};
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
pyopenssl
pycryptodome
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
];
}