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

23 lines
689 B
Nix
Raw Normal View History

2017-03-11 09:36:56 -05:00
{ stdenv, fetchgit, autoreconfHook, libdrm, libX11, mesa_noglu, pkgconfig }:
2015-05-15 08:38:27 -04:00
stdenv.mkDerivation rec {
2017-03-11 09:36:56 -05:00
name = "kmscube-2017-03-19";
2015-05-15 08:38:27 -04:00
2017-03-11 09:36:56 -05:00
src = fetchgit {
url = git://anongit.freedesktop.org/mesa/kmscube;
rev = "b88a44d95eceaeebc5b9c6972ffcbfe9eca00aea";
sha256 = "029ccslfavz6jllqv980sr6mj9bdbr0kx7bi21ra0q9yl2vh0yca";
2015-05-15 08:38:27 -04:00
};
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;
};
}