2019-05-28 12:09:34 -07:00
|
|
|
{ stdenv, fetchgit, autoreconfHook, libdrm, libX11, libGL, mesa, pkgconfig }:
|
2015-05-15 05:38:27 -07:00
|
|
|
|
2019-08-13 14:52:01 -07:00
|
|
|
stdenv.mkDerivation {
|
2018-09-14 11:28:10 -07:00
|
|
|
name = "kmscube-2018-06-17";
|
2015-05-15 05:38:27 -07:00
|
|
|
|
2017-03-11 06:36:56 -08:00
|
|
|
src = fetchgit {
|
2018-05-20 04:30:24 -07:00
|
|
|
url = git://anongit.freedesktop.org/mesa/kmscube;
|
2018-09-14 11:28:10 -07:00
|
|
|
rev = "9dcce71e603616ee7a54707e932f962cdf8fb20a";
|
|
|
|
sha256 = "1q5b5yvyfj3127385mp1bfmcbnpnbdswdk8gspp7g4541xk4k933";
|
2015-05-15 05:38:27 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2019-05-28 12:09:34 -07:00
|
|
|
buildInputs = [ libdrm libX11 libGL mesa ];
|
2015-05-15 05:38:27 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Example OpenGL app using KMS/GBM";
|
2018-09-14 11:28:10 -07:00
|
|
|
homepage = https://gitlab.freedesktop.org/mesa/kmscube;
|
2015-05-15 05:38:27 -07:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dezgeg ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|