depot/third_party/nixpkgs/pkgs/os-specific/linux/kmscube/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

22 lines
694 B
Nix

{ lib, stdenv, fetchgit, autoreconfHook, libdrm, libX11, libGL, mesa, pkgconfig }:
stdenv.mkDerivation {
name = "kmscube-2018-06-17";
src = fetchgit {
url = "git://anongit.freedesktop.org/mesa/kmscube";
rev = "9dcce71e603616ee7a54707e932f962cdf8fb20a";
sha256 = "1q5b5yvyfj3127385mp1bfmcbnpnbdswdk8gspp7g4541xk4k933";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libdrm libX11 libGL mesa ];
meta = with lib; {
description = "Example OpenGL app using KMS/GBM";
homepage = "https://gitlab.freedesktop.org/mesa/kmscube";
license = licenses.mit;
maintainers = with maintainers; [ dezgeg ];
platforms = platforms.linux;
};
}