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
55 lines
1.0 KiB
Nix
55 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
libGL,
|
|
libpng,
|
|
pkg-config,
|
|
xorg,
|
|
freetype,
|
|
fontconfig,
|
|
alsa-lib,
|
|
libXrender,
|
|
libXinerama,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "clanlib";
|
|
version = "4.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "ClanLib";
|
|
owner = "sphair";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-sRHRkT8NiKVfa9YgP6DYV9WzCZoH7f0phHpoYMnCk98=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
autoreconfHook
|
|
];
|
|
|
|
buildInputs = [
|
|
libGL
|
|
libpng
|
|
xorg.xorgproto
|
|
freetype
|
|
fontconfig
|
|
alsa-lib
|
|
libXrender
|
|
libXinerama
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
homepage = "https://github.com/sphair/ClanLib";
|
|
description = "Cross platform toolkit library with a primary focus on game creation";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ nixinator ];
|
|
platforms = with lib.platforms; lib.intersectLists linux (x86 ++ arm ++ aarch64 ++ riscv);
|
|
};
|
|
})
|