nixpkgs-suyu/pkgs/os-specific/linux/kmscube/default.nix

23 lines
708 B
Nix
Raw Normal View History

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 {
name = "kmscube-2018-06-17";
2015-05-15 14:38:27 +02:00
2017-03-11 15:36:56 +01:00
src = fetchgit {
url = git://anongit.freedesktop.org/mesa/kmscube;
rev = "9dcce71e603616ee7a54707e932f962cdf8fb20a";
sha256 = "1q5b5yvyfj3127385mp1bfmcbnpnbdswdk8gspp7g4541xk4k933";
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";
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;
};
}