erpnext-nix/python/frappe.nix
2023-05-18 16:50:31 +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 = "38708ba7c1e3eb0efd74d2876b79f6b17d8818dc";
sha256 = "sha256-eee6IS/Ep/DSDCPdnyrqBea/ag0kNnN5Id3YQMNz5js=";
};
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
];
}