forked from axeman/erpnext-nix
teutat3s
7763af845d
bench: 5.16.2 -> 5.16.4 https://github.com/frappe/bench/releases/tag/v5.16.4 erpnext: 14.26.0 -> 14.30.6 https://github.com/frappe/erpnext/releases/tag/v14.30.6 Use new relaxed dependency: rapidfuzz frappe: 14.37.0 -> 14.40.3 https://github.com/frappe/frappe/releases/tag/v14.40.3 Add update.sh script to quickly update all versions in pin.nix Sort erpnext dependencies like upstream Update Readme with docs how to use update.sh script
211 lines
2.9 KiB
Nix
211 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"
|
|
"cryptography"
|
|
"filelock"
|
|
"google-api-python-client"
|
|
"google-auth"
|
|
"hiredis"
|
|
"ipython"
|
|
"openpyxl"
|
|
"phonenumbers"
|
|
"Pillow"
|
|
"premailer"
|
|
"pyasn1"
|
|
"pycountry"
|
|
"pycryptodome"
|
|
"PyJWT"
|
|
"PyMySQL"
|
|
"pyOpenSSL"
|
|
"pyotp"
|
|
"pypng"
|
|
"pytz"
|
|
"redis"
|
|
"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
|
|
];
|
|
}
|