2023-06-12 13:28:17 +00:00
|
|
|
final: prev: {
|
2024-01-06 09:47:04 +00:00
|
|
|
# Without this, we may inadvertedly end up with old versions (if we happen to
|
|
|
|
# overlay a dependency for other packages)
|
|
|
|
python3Packages = final.python3.pkgs;
|
2023-06-12 13:28:17 +00:00
|
|
|
python3 = prev.python3.override {
|
|
|
|
packageOverrides = pyFinal: pyPrev: {
|
|
|
|
bench = pyFinal.callPackage ./python/bench.nix {};
|
|
|
|
erpnext = pyFinal.callPackage ./python/erpnext.nix {};
|
|
|
|
frappe = pyFinal.callPackage ./python/frappe.nix {};
|
2023-06-02 14:00:58 +00:00
|
|
|
|
2023-07-18 11:23:52 +00:00
|
|
|
# bench dependencies
|
|
|
|
honcho = pyFinal.callPackage ./python/honcho.nix {};
|
|
|
|
|
|
|
|
# erpnext dependencies
|
2024-01-06 16:15:26 +00:00
|
|
|
barcodenumber = pyFinal.callPackage ./python/barcodenumber.nix {};
|
2023-07-18 11:23:52 +00:00
|
|
|
|
|
|
|
# frappe dependencies
|
2023-06-12 13:28:17 +00:00
|
|
|
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 {};
|
2024-09-19 11:30:30 +00:00
|
|
|
sql-metadata = pyFinal.callPackage ./python/sql-metadata.nix {};
|
2023-06-12 13:28:17 +00:00
|
|
|
traceback-with-variables = pyFinal.callPackage ./python/traceback-with-variables.nix {};
|
2023-07-18 11:23:52 +00:00
|
|
|
|
2024-09-19 11:30:30 +00:00
|
|
|
#fastapi = pyPrev.fastapi.overridePythonAttrs (oldAttrs: (rec {
|
|
|
|
# propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [
|
|
|
|
# pyPrev.pydantic-settings
|
|
|
|
# pyPrev.pydantic-extra-types
|
|
|
|
# ];
|
|
|
|
#}));
|
2023-07-18 11:23:52 +00:00
|
|
|
|
2023-06-12 13:28:17 +00:00
|
|
|
plaid-python = pyPrev.plaid-python.overridePythonAttrs (oldAttrs: (rec {
|
2023-06-02 14:00:58 +00:00
|
|
|
version = "7.2.1";
|
2023-06-12 13:28:17 +00:00
|
|
|
src = pyPrev.fetchPypi {
|
2023-06-02 14:00:58 +00:00
|
|
|
inherit version;
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
sha256 = "sha256-ryrTJug3fIyG2XGE9gwL5BzXH1B1IB39szMcyF1N5RM=";
|
|
|
|
};
|
2023-06-12 13:28:17 +00:00
|
|
|
propagatedBuildInputs = [ pyPrev.requests ];
|
|
|
|
checkInputs = [ pyPrev.pytest ];
|
2023-06-02 14:00:58 +00:00
|
|
|
# Integration tests require API keys and internet access
|
2023-06-12 13:28:17 +00:00
|
|
|
checkPhase = "pyPrev.test -rxs ./tests/unit";
|
2023-06-02 14:00:58 +00:00
|
|
|
}));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|