python312Packages.pywavefront: init at 1.3.3

This commit is contained in:
Peder Bergebakken Sundt 2024-04-23 00:20:24 +02:00
parent a3a1f7ed58
commit 754ef54b0c
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pyglet
, pytestCheckHook
, mock
}:
buildPythonPackage rec {
pname = "PyWavefront";
version = "1.3.3";
pyproject = true;
src = fetchFromGitHub {
owner = "pywavefront";
repo = "PyWavefront";
rev = version;
hash = "sha256-ci40L2opJ+NYYtaAeX1Y5pzkdK+loFspTriX/xv4KR8=";
};
nativeBuildInputs = [
setuptools
];
passthru.optional-dependencies.visualization = [
pyglet
];
nativeCheckInputs = [
pytestCheckHook
mock
];
pythonImportsCheck = [ "pywavefront" ];
meta = with lib; {
description = "Python library for importing Wavefront .obj files";
homepage = "https://github.com/pywavefront/PyWavefront";
changelog = "https://github.com/pywavefront/PyWavefront/blob/${src.rev}/CHANGELOG.md";
license = licenses.bsd3;
maintainers = with maintainers; [ pbsds ];
};
}

View File

@ -12662,6 +12662,8 @@ self: super: with self; {
pywaterkotte = callPackage ../development/python-modules/pywaterkotte { };
pywavefront = callPackage ../development/python-modules/pywavefront { };
pywavelets = callPackage ../development/python-modules/pywavelets { };
pywayland = callPackage ../development/python-modules/pywayland { };