diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2015-05-15 15:38:27 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2017-01-29 02:08:04 +0200 |
commit | 2f38d1fd1f24668e2faf50cec8fd7a5e413fb5ae (patch) | |
tree | 5f314763fe38eab6e9898cdb569ab5122b9419a1 /pkgs/os-specific/linux/kmscube | |
parent | fee66e946313012172fcb479817e92f912d7b69f (diff) |
kmscube: init at 2016-09-19
Diffstat (limited to 'pkgs/os-specific/linux/kmscube')
-rw-r--r-- | pkgs/os-specific/linux/kmscube/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kmscube/default.nix b/pkgs/os-specific/linux/kmscube/default.nix new file mode 100644 index 0000000000000..0b707ef7239a6 --- /dev/null +++ b/pkgs/os-specific/linux/kmscube/default.nix @@ -0,0 +1,23 @@ +{ 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; + }; +} |