Skip to content

Commit

Permalink
python312Packages.mammoth: init at 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Dec 16, 2024
1 parent 69c07a1 commit 82489bf
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/development/python-modules/mammoth/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:

buildPythonPackage rec {
pname = "mammoth";
version = "1.8.0";
pyproject = true;

src = fetchFromGitHub {
owner = "mwilliamson";
repo = "python-mammoth";
rev = version;
hash = "sha256-mIvzEyKpy1j7tZti+QTXgsbqqZAhYs7N+p5sQFsLhBg=";
};

build-system = [
setuptools
];

pythonImportsCheck = [
"mammoth"
];

meta = {
description = "Convert Word documents (.docx files) to HTML";
homepage = "https://github.com/mwilliamson/python-mammoth";
changelog = "https://github.com/mwilliamson/python-mammoth/blob/${src.rev}/NEWS";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7789,6 +7789,8 @@ self: super: with self; {

malduck = callPackage ../development/python-modules/malduck { };

mammoth = callPackage ../development/python-modules/mammoth { };

mamba-ssm = callPackage ../development/python-modules/mamba-ssm { };

managesieve = callPackage ../development/python-modules/managesieve { };
Expand Down

0 comments on commit 82489bf

Please sign in to comment.