Picks up print formats for Purchase Invoice/Order and Sales Order, Withholding Tax Certificate print format and button, DRAFT watermark on unsubmitted certificates, Type of Income Paid on Tax Withholding Category.
36 lines
767 B
Nix
36 lines
767 B
Nix
{
|
|
buildPythonPackage,
|
|
pythonRelaxDepsHook,
|
|
flit-core,
|
|
mkAssets,
|
|
fetchFromGitea,
|
|
}:
|
|
let
|
|
version = "0.0.1";
|
|
src = fetchFromGitea {
|
|
domain = "git.b4l.co.th";
|
|
owner = "newedge";
|
|
repo = "default_thai_company";
|
|
rev = "e7d0a545b1d2259bef39a5b0ad6488c2fec2672d";
|
|
sha256 = "sha256-laqkzk6TzpDAbmAbBUxAfCgJAEJ5Bda08K+VYW/rTac=";
|
|
};
|
|
in
|
|
buildPythonPackage (finalAttrs: {
|
|
# pname doubles as the frappe app name (services.frappe reads app.pname)
|
|
pname = "default_thai_company";
|
|
inherit version;
|
|
|
|
pyproject = true;
|
|
|
|
src = mkAssets {
|
|
inherit (finalAttrs) pname version;
|
|
inherit src;
|
|
yarnHash = "sha256-oZgyP0hTU9bxszOVg3Bmiu6yos2d2Inc1Do8To4z8GQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pythonRelaxDepsHook
|
|
flit-core
|
|
];
|
|
})
|