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

24 lines
695 B
Nix
Raw Normal View History

2015-05-15 14:38:27 +02:00
{ stdenv, fetchFromGitHub, autoreconfHook, libdrm, libX11, mesa_noglu, pkgconfig }:
stdenv.mkDerivation rec {
name = "kmscube-2016-09-19";
src = fetchFromGitHub {
owner = "robclark";
repo = "kmscube";
rev = "8c6a20901f95e1b465bbca127f9d47fcfb8762e6";
sha256 = "045pf4q3g5b54cdbxppn1dxpcn81h630vmhrixz1d5bcl822nhwj";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libdrm libX11 mesa_noglu ];
meta = with stdenv.lib; {
description = "Example OpenGL app using KMS/GBM";
homepage = "https://github.com/robclark/kmscube";
license = licenses.mit;
maintainers = with maintainers; [ dezgeg ];
platforms = platforms.linux;
};
}