2018-03-28 15:24:46 +02:00
|
|
|
{ stdenv, fetchgit, autoreconfHook, libdrm, libX11, libGL, mesa_noglu, pkgconfig }:
|
2015-05-15 14:38:27 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-03-11 15:36:56 +01:00
|
|
|
name = "kmscube-2017-03-19";
|
2015-05-15 14:38:27 +02:00
|
|
|
|
2017-03-11 15:36:56 +01:00
|
|
|
src = fetchgit {
|
2018-02-24 14:12:44 +01:00
|
|
|
url = git://anongit.freedesktop.org/libGLU_combined/kmscube;
|
2017-03-11 15:36:56 +01:00
|
|
|
rev = "b88a44d95eceaeebc5b9c6972ffcbfe9eca00aea";
|
|
|
|
sha256 = "029ccslfavz6jllqv980sr6mj9bdbr0kx7bi21ra0q9yl2vh0yca";
|
2015-05-15 14:38:27 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2018-03-28 15:24:46 +02:00
|
|
|
buildInputs = [ libdrm libX11 libGL mesa_noglu ];
|
2015-05-15 14:38:27 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Example OpenGL app using KMS/GBM";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/robclark/kmscube;
|
2015-05-15 14:38:27 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dezgeg ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|