fix: resolve test failures and update flake.nix for factur-x source distribution

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
m3tm3re
2026-02-04 21:08:08 +01:00
parent 3eddd66003
commit d585390289
6 changed files with 223 additions and 41 deletions

View File

@@ -16,13 +16,18 @@
factur-x = pythonPackages.buildPythonPackage rec {
pname = "factur_x";
version = "3.8";
format = "wheel";
format = "pyproject";
src = pythonPackages.fetchPypi {
inherit pname version format;
hash = "sha256-alctEgMZw79S2UStnt/bYTigE6h9wqCVpm7i1qc5efs=";
inherit pname version;
hash = "sha256-/pNY5w09pxcGAFFh3USTkLlkGr+JOTUqhglYzNMByks=";
};
nativeBuildInputs = with pythonPackages; [
hatchling
hatch-requirements-txt
];
dependencies = with pythonPackages; [ pypdf lxml ];
pythonRelaxDeps = true;