nixpkgs/pkgs/development/python-modules/glad/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

21 lines
532 B
Nix

{ buildPythonPackage, fetchPypi, lib }:
buildPythonPackage rec {
pname = "glad";
version = "0.1.36";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-P7ANv+x65t2+ugTiFUf2fzzPx5X8NFYkUM8/K7Gf28c=";
};
meta = with lib; {
description = "Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs";
mainProgram = "glad";
homepage = "https://github.com/Dav1dde/glad";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}