forked from axeman/erpnext-nix
Compare commits
3 commits
4abf58436c
...
ae7a917ed9
Author | SHA1 | Date | |
---|---|---|---|
teutat3s | ae7a917ed9 | ||
teutat3s | 75bb14ba70 | ||
teutat3s | 0307d8d9fc |
|
@ -8,7 +8,6 @@
|
|||
|
||||
devshell.url = "github:numtide/devshell";
|
||||
devshell.inputs.nixpkgs.follows = "nixpkgs";
|
||||
devshell.inputs.systems.follows = "systems";
|
||||
|
||||
agenix.url = "github:ryantm/agenix";
|
||||
agenix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
|
@ -18,14 +18,15 @@ final: prev: {
|
|||
email-reply-parser = pyFinal.callPackage ./python/email-reply-parser.nix {};
|
||||
maxminddb-geolite2 = pyFinal.callPackage ./python/maxminddb-geolite2.nix {};
|
||||
psycopg2-binary = pyFinal.callPackage ./python/psycopg2-binary.nix {};
|
||||
sql-metadata = pyFinal.callPackage ./python/sql-metadata.nix {};
|
||||
traceback-with-variables = pyFinal.callPackage ./python/traceback-with-variables.nix {};
|
||||
|
||||
fastapi = pyPrev.fastapi.overridePythonAttrs (oldAttrs: (rec {
|
||||
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [
|
||||
pyPrev.pydantic-settings
|
||||
pyPrev.pydantic-extra-types
|
||||
];
|
||||
}));
|
||||
#fastapi = pyPrev.fastapi.overridePythonAttrs (oldAttrs: (rec {
|
||||
# propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [
|
||||
# pyPrev.pydantic-settings
|
||||
# pyPrev.pydantic-extra-types
|
||||
# ];
|
||||
#}));
|
||||
|
||||
plaid-python = pyPrev.plaid-python.overridePythonAttrs (oldAttrs: (rec {
|
||||
version = "7.2.1";
|
||||
|
|
|
@ -68,6 +68,8 @@
|
|||
, xlrd
|
||||
, zxcvbn
|
||||
, markdownify
|
||||
, tomli
|
||||
, sql-metadata
|
||||
|
||||
# Integration dependencies
|
||||
, boto3
|
||||
|
@ -97,6 +99,38 @@ buildPythonPackage rec {
|
|||
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook flit-core ];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"babel"
|
||||
"pypdf"
|
||||
"weasyprint"
|
||||
"pydyf"
|
||||
"bleach"
|
||||
"cairocffi"
|
||||
"chardet"
|
||||
"cssutils"
|
||||
"gunicorn"
|
||||
"ipython"
|
||||
"phonenumbers"
|
||||
"pyopenssl"
|
||||
"pydantic"
|
||||
"pyotp"
|
||||
"python-dateutil"
|
||||
"pytz"
|
||||
"rauth"
|
||||
"redis"
|
||||
"hiredis"
|
||||
"requests"
|
||||
"rq"
|
||||
"sentry-sdk"
|
||||
"markdownify"
|
||||
"boto3"
|
||||
"dropbox"
|
||||
"google-api-python-client"
|
||||
"google-auth-oauthlib"
|
||||
"google-auth"
|
||||
"posthog"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
babel
|
||||
click
|
||||
|
@ -161,6 +195,8 @@ buildPythonPackage rec {
|
|||
xlrd
|
||||
zxcvbn
|
||||
markdownify
|
||||
tomli
|
||||
sql-metadata
|
||||
|
||||
# integration dependencies
|
||||
boto3
|
||||
|
|
20
python/sql-metadata.nix
Normal file
20
python/sql-metadata.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
poetry-core,
|
||||
sqlparse,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "sql-metadata";
|
||||
version = "2.11.0";
|
||||
src = fetchPypi {
|
||||
pname = "sql_metadata";
|
||||
inherit version;
|
||||
sha256 = "sha256-8jtwjOVYIh8so3YOtKuFa0+AVAtc9RczrZeRO8VGhis=";
|
||||
};
|
||||
format = "pyproject";
|
||||
propagatedBuildInputs = [
|
||||
poetry-core
|
||||
sqlparse
|
||||
];
|
||||
}
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
benchVersion = "5.22.9";
|
||||
erpnextVersion = "15.36.1";
|
||||
frappeVersion = "15.41.0";
|
||||
frappeVersion = "15.39.2";
|
||||
hashes = {
|
||||
"benchSrcHash" = "sha256-VOsAd7l09/GPf4eRV/Vrdj6XPLQS19/cq1h4Vym174A=";
|
||||
"erpnextSrcHash" = "sha256-fECwtuMWOCRydcfWSx4CXLp5SWzWGIQ5yWOlsDsdDQI=";
|
||||
"erpnextYarnHash" = "1farnqrfnzshpbpx4nyarw13g8m3389ix3hrc4661xxm887lz5fv";
|
||||
"frappeSrcHash" = "sha256-PINpNwJR5m/wvVcor3YKWs0RS805uvuBbT5pUjtk/yE=";
|
||||
"frappeSrcHash" = "sha256-mArEVtkdVpiaHgr6u+cGCKjTL0pFJ2dXJw/dExh0atI=";
|
||||
"frappeYarnHash" = "0ahch2jazvpigwjhk872i00paachya3ym3zjyc3dl5ris851qyss";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue