12 version = "0-unstable-2021-10-30";
14 src = fetchFromGitHub {
16 repo = "minilibx-linux";
17 rev = "7dc53a411a7d4ae286c60c6229bd1e395b0efb82";
18 hash = "sha256-aRYMpaPC7dC6EHmmXugvwcQnaizRCQZKFcQX0K2MLM4=";
21 outputs = [ "out" "dev" "man" ];
34 makefile = "Makefile.mk";
37 "CC=${stdenv.cc.targetPrefix}cc"
43 mkdir -p $out/{include,lib}
44 cp mlx*.h $out/include
46 installManPage man/man*/*
52 updateScript = unstableGitUpdater { };
56 description = "Simple X-Window (X11R6) programming API in C";
57 homepage = "https://github.com/42Paris/minilibx-linux";
58 license = licenses.bsd2;
59 maintainers = with maintainers; [ wegank ];
60 platforms = platforms.unix;