mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
263f5891b6
Just use mesa for these to be more clear. Move these to aliases.nix
23 lines
696 B
Nix
23 lines
696 B
Nix
{ stdenv, fetchgit, autoreconfHook, libdrm, libX11, libGL, mesa, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "kmscube-2018-06-17";
|
|
|
|
src = fetchgit {
|
|
url = git://anongit.freedesktop.org/mesa/kmscube;
|
|
rev = "9dcce71e603616ee7a54707e932f962cdf8fb20a";
|
|
sha256 = "1q5b5yvyfj3127385mp1bfmcbnpnbdswdk8gspp7g4541xk4k933";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ libdrm libX11 libGL mesa ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Example OpenGL app using KMS/GBM";
|
|
homepage = https://gitlab.freedesktop.org/mesa/kmscube;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dezgeg ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|