python313Packagea.trimesh: modernize

This commit is contained in:
Peder Bergebakken Sundt
2025-02-14 11:09:49 +01:00
parent 8088349c28
commit 27c658d7a9
@@ -1,7 +1,7 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
setuptools,
pytestCheckHook,
pythonOlder,
@@ -16,9 +16,11 @@ buildPythonPackage rec {
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-z7mWi1libCZhLqXK2sBV2X0Rkkf0YNdbM/T3gRd4VdY=";
src = fetchFromGitHub {
owner = "mikedh";
repo = "trimesh";
tag = version;
hash = "sha256-ttOawg1mdGkV1Pi0CmFR4VtmZ9MUxPed0KoXLwlbUPE=";
};
build-system = [ setuptools ];
@@ -39,13 +41,13 @@ buildPythonPackage rec {
pythonImportsCheck = [ "trimesh" ];
meta = with lib; {
meta = {
description = "Python library for loading and using triangular meshes";
homepage = "https://trimesh.org/";
changelog = "https://github.com/mikedh/trimesh/releases/tag/${version}";
license = licenses.mit;
license = lib.licenses.mit;
mainProgram = "trimesh";
maintainers = with maintainers; [
maintainers = with lib.maintainers; [
gebner
pbsds
];