Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
922 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, poetry-core, lxml, pytestCheckHook,}:
buildPythonPackage rec { pname = "docx2python"; version = "2.11.0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "ShayHill"; repo = "docx2python"; rev = "refs/tags/${version}"; hash = "sha256-SavRYnNbESRQh9Elk8qCt/qdI2x+sYZJFMYy+Gojg2k="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ lxml ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "docx2python" ];
meta = with lib; { homepage = "https://github.com/ShayHill/docx2python"; description = "Extract docx headers, footers, (formatted) text, footnotes, endnotes, properties, and images"; changelog = "https://github.com/ShayHill/docx2python/blob/${src.rev}/CHANGELOG.md"; maintainers = [ ]; license = licenses.mit; };}