Something went wrong. Try again.
lol
Something went wrong. Try again.
753 B · 40 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchFromGitHub, setuptools, lxml, pypdf, pytestCheckHook,}:
buildPythonPackage rec { pname = "drafthorse"; version = "2025.2.0"; pyproject = true;
src = fetchFromGitHub { owner = "pretix"; repo = "python-drafthorse"; rev = version; hash = "sha256-z8w1n/rjrVpL+3MFoTaKCI7NZpchIg4H80rNlm0sFgQ="; };
build-system = [ setuptools ];
dependencies = [ lxml pypdf ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "drafthorse" ];
meta = { description = "Pure-python ZUGFeRD implementation"; homepage = "https://github.com/pretix/python-drafthorse"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ hexa ]; };}