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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
721 B
Nix
Raw Normal View History

{ lib, stdenv, fetchgit, autoreconfHook, libdrm, libX11, libGL, mesa, pkg-config }:
2015-05-15 15:38:27 +03:00
2019-08-14 00:52:01 +03:00
stdenv.mkDerivation {
pname = "kmscube";
version = "unstable-2018-06-17";
2015-05-15 15:38:27 +03:00
2017-03-11 17:36:56 +03:00
src = fetchgit {
url = "git://anongit.freedesktop.org/mesa/kmscube";
rev = "9dcce71e603616ee7a54707e932f962cdf8fb20a";
sha256 = "1q5b5yvyfj3127385mp1bfmcbnpnbdswdk8gspp7g4541xk4k933";
2015-05-15 15:38:27 +03:00
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libdrm libX11 libGL mesa ];
2015-05-15 15:38:27 +03:00
meta = with lib; {
2015-05-15 15:38:27 +03:00
description = "Example OpenGL app using KMS/GBM";
homepage = "https://gitlab.freedesktop.org/mesa/kmscube";
2015-05-15 15:38:27 +03:00
license = licenses.mit;
maintainers = with maintainers; [ dezgeg ];
platforms = platforms.linux;
};
}