Skip to content

Commit

Permalink
mesa-demos: init at 8.4.0 (#74310)
Browse files Browse the repository at this point in the history
* mesa-demos: init at 8.4.0

Signed-off-by: Anders Kaseorg <[email protected]>

* Update pkgs/tools/graphics/mesa-demos/default.nix

Co-Authored-By: Doron Behar <[email protected]>
  • Loading branch information
andersk and doronbehar authored Apr 17, 2020
1 parent be9cc04 commit 4fdc455
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkgs/tools/graphics/mesa-demos/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{ stdenv, fetchurl, freeglut, glew, libGL, libGLU, libX11, libXext, mesa, pkg-config, wayland }:

stdenv.mkDerivation rec {
pname = "mesa-demos";
version = "8.4.0";

src = fetchurl {
url = "ftp://ftp.freedesktop.org/pub/mesa/demos/${pname}-${version}.tar.bz2";
sha256 = "0zgzbz55a14hz83gbmm0n9gpjnf5zadzi2kjjvkn6khql2a9rs81";
};

buildInputs = [ freeglut glew libX11 libXext libGL libGLU mesa mesa.osmesa wayland ];
nativeBuildInputs = [ pkg-config ];

enableParallelBuilding = true;

meta = with stdenv.lib; {
description = "Collection of demos and test programs for OpenGL and Mesa";
homepage = "https://www.mesa3d.org/";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ andersk ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4666,6 +4666,8 @@ in

memtester = callPackage ../tools/system/memtester { };

mesa-demos = callPackage ../tools/graphics/mesa-demos { };

mhonarc = perlPackages.MHonArc;

minergate = callPackage ../applications/misc/minergate { };
Expand Down

0 comments on commit 4fdc455

Please sign in to comment.