mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
Merge pull request #266881 from natsukium/pyglm/update
python311Packages.pyglm: 2.7.0 -> 2.7.1
This commit is contained in:
commit
61b95ec6b0
@ -1,22 +1,39 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PyGLM";
|
||||
version = "2.7.0";
|
||||
pname = "pyglm";
|
||||
version = "2.7.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Zuzu-Typ";
|
||||
repo = "PyGLM";
|
||||
rev = "${version}";
|
||||
hash = "sha256-+On4gqfB9hxuINQdcGcrZyOsphfylUNq7tB2uvjsCkE=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-nCkwYZLibQcmlF1Nvv2I6qi+97ue7Q1HVxpw32G5qpo=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"glm"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Zuzu-Typ/PyGLM";
|
||||
description = "An OpenGL Mathematics (GLM) library for Python written in C++";
|
||||
changelog = "https://github.com/Zuzu-Typ/PyGLM/releases/tag/${src.rev}";
|
||||
license = licenses.zlib;
|
||||
maintainers = with maintainers; [ sund3RRR ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user