nixpkgs/pkgs/development/python-modules/pyopengl-accelerate/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

25 lines
625 B
Nix

{ 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;
};
}