Files
nixpkgs/pkgs/development/python-modules/pyglm/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

36 lines
816 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyglm";
version = "2.7.1-rev1";
pyproject = true;
src = fetchFromGitHub {
owner = "Zuzu-Typ";
repo = "PyGLM";
rev = "refs/tags/${version}";
hash = "sha256-MA/NoeKv6yxXL9A36SBqU7GNuPbCKDvxpOkWP8OmED4=";
fetchSubmodules = true;
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "glm" ];
meta = with lib; {
homepage = "https://github.com/Zuzu-Typ/PyGLM";
description = "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 ];
};
}