fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 autoreconfHook,
6 libGL,
7 libpng,
8 pkg-config,
9 xorgproto,
10 freetype,
11 fontconfig,
12 alsa-lib,
13 libXrender,
14 libXinerama,
15 nix-update-script,
16}:
17
18stdenv.mkDerivation (finalAttrs: {
19 pname = "clanlib";
20 version = "4.2.0";
21
22 src = fetchFromGitHub {
23 repo = "ClanLib";
24 owner = "sphair";
25 tag = "v${finalAttrs.version}";
26 hash = "sha256-sRHRkT8NiKVfa9YgP6DYV9WzCZoH7f0phHpoYMnCk98=";
27 };
28
29 nativeBuildInputs = [
30 pkg-config
31 autoreconfHook
32 ];
33
34 buildInputs = [
35 libGL
36 libpng
37 xorgproto
38 freetype
39 fontconfig
40 alsa-lib
41 libXrender
42 libXinerama
43 ];
44
45 passthru.updateScript = nix-update-script { };
46
47 meta = {
48 homepage = "https://github.com/sphair/ClanLib";
49 description = "Cross platform toolkit library with a primary focus on game creation";
50 license = lib.licenses.mit;
51 maintainers = with lib.maintainers; [ nixinator ];
52 platforms = with lib.platforms; lib.intersectLists linux (x86 ++ arm ++ aarch64 ++ riscv);
53 };
54})