From cb3eb0d35bebbe8c2aa59af42e5043d63af8f531 Mon Sep 17 00:00:00 2001 From: sunder Date: Fri, 21 Jul 2023 15:54:10 +0300 Subject: [PATCH] pyglm: init at 2.7.0 --- .../python-modules/pyglm/default.nix | 23 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/python-modules/pyglm/default.nix diff --git a/pkgs/development/python-modules/pyglm/default.nix b/pkgs/development/python-modules/pyglm/default.nix new file mode 100644 index 000000000000..b98fee9d38db --- /dev/null +++ b/pkgs/development/python-modules/pyglm/default.nix @@ -0,0 +1,23 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +}: +buildPythonPackage rec { + pname = "PyGLM"; + version = "2.7.0"; + + src = fetchFromGitHub { + owner = "Zuzu-Typ"; + repo = "PyGLM"; + rev = "${version}"; + hash = "sha256-+On4gqfB9hxuINQdcGcrZyOsphfylUNq7tB2uvjsCkE="; + fetchSubmodules = true; + }; + + meta = with lib; { + homepage = "https://github.com/Zuzu-Typ/PyGLM"; + description = "An OpenGL Mathematics (GLM) library for Python written in C++"; + license = licenses.zlib; + maintainers = with maintainers; [ sund3RRR ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5c498ff9519a..83b45cde21b3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8980,6 +8980,8 @@ self: super: with self; { pyglet = callPackage ../development/python-modules/pyglet { }; + pyglm = callPackage ../development/python-modules/pyglm { }; + pygls = callPackage ../development/python-modules/pygls { }; pygmars = callPackage ../development/python-modules/pygmars { };