depot/third_party/nixpkgs/pkgs/development/python-modules/pyopengl-accelerate/default.nix

25 lines
625 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, pythonAtLeast
, fetchPypi
}:
buildPythonPackage rec {
pname = "pyopengl-accelerate";
version = "3.1.6";
disabled = pythonAtLeast "3.10"; # fails to compile
src = fetchPypi {
pname = "PyOpenGL-accelerate";
inherit version;
hash = "sha256-rYowAlbsolIoJh3hb3QeUaMPNPHhsc9oNZ9cYtvNzcM=";
};
meta = {
description = "This set of C (Cython) extensions provides acceleration of common operations for slow points in PyOpenGL 3.x";
homepage = "https://pyopengl.sourceforge.net/";
maintainers = with lib.maintainers; [ laikq ];
license = lib.licenses.bsd3;
};
}