2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchgit, autoreconfHook, libdrm, libX11, libGL, mesa, pkg-config }:
|
2015-05-15 14:38:27 +02:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2021-08-27 16:47:49 +02:00
|
|
|
pname = "kmscube";
|
|
|
|
version = "unstable-2018-06-17";
|
2015-05-15 14:38:27 +02:00
|
|
|
|
2017-03-11 15:36:56 +01:00
|
|
|
src = fetchgit {
|
2020-04-01 03:11:51 +02:00
|
|
|
url = "git://anongit.freedesktop.org/mesa/kmscube";
|
2018-09-14 20:28:10 +02:00
|
|
|
rev = "9dcce71e603616ee7a54707e932f962cdf8fb20a";
|
|
|
|
sha256 = "1q5b5yvyfj3127385mp1bfmcbnpnbdswdk8gspp7g4541xk4k933";
|
2015-05-15 14:38:27 +02:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2019-05-28 21:09:34 +02:00
|
|
|
buildInputs = [ libdrm libX11 libGL mesa ];
|
2015-05-15 14:38:27 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-05-15 14:38:27 +02:00
|
|
|
description = "Example OpenGL app using KMS/GBM";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://gitlab.freedesktop.org/mesa/kmscube";
|
2015-05-15 14:38:27 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dezgeg ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|