Files
nixpkgs/pkgs/by-name/qu/quesoglc/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

55 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchurl,
libGLU,
libGL,
glew,
freetype,
fontconfig,
fribidi,
libX11,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "quesoglc";
version = "0.7.2";
src = fetchurl {
url = "mirror://sourceforge/quesoglc/quesoglc-${finalAttrs.version}.tar.bz2";
hash = "sha256-VP7y7mhRct80TQb/RpmkQRQ7h6vtDVFFJK3E+JukyTE=";
};
buildInputs = [
libGLU
libGL
glew
freetype
fontconfig
fribidi
libX11
];
# required for cross builds
configureFlags = [
"ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes"
"ac_cv_func_memcmp_working=yes"
];
env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
# FIXME: Configure fails to use system glew.
meta = {
description = "Free implementation of the OpenGL Character Renderer";
longDescription = ''
QuesoGLC is a free (as in free speech) implementation of the OpenGL
Character Renderer (GLC). QuesoGLC is based on the FreeType library,
provides Unicode support and is designed to be easily ported to any
platform that supports both FreeType and the OpenGL API.
'';
homepage = "https://quesoglc.sourceforge.net/";
license = lib.licenses.lgpl21Plus;
platforms = lib.platforms.linux;
};
})