From fc00fda363489e4ef5f74d9ed2b23edd200e0995 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 18 Apr 2007 13:47:35 +0000 Subject: [PATCH] * Added FreeGLUT. svn path=/nixpkgs/trunk/; revision=8592 --- pkgs/development/libraries/freeglut/default.nix | 12 ++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/libraries/freeglut/default.nix diff --git a/pkgs/development/libraries/freeglut/default.nix b/pkgs/development/libraries/freeglut/default.nix new file mode 100644 index 000000000000..860dcf9cc583 --- /dev/null +++ b/pkgs/development/libraries/freeglut/default.nix @@ -0,0 +1,12 @@ +{stdenv, fetchurl, x11, mesa}: + +stdenv.mkDerivation { + name = "freeglut-2.4.0"; + + src = fetchurl { + url = http://heanet.dl.sourceforge.net/sourceforge/freeglut/freeglut-2.4.0.tar.gz; + sha256 = "0lmhh5p19rw4wisr0jsl7nsa2hxdaasj0vxk5ri83crhp982v7r6"; + }; + + buildInputs = [x11 mesa]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 891240997dc3..87eccd91ca29 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1246,6 +1246,10 @@ rec { inherit fetchurl stdenv freetype expat; }; + freeglut = import ../development/libraries/freeglut { + inherit fetchurl stdenv x11 mesa; + }; + freetype = import ../development/libraries/freetype { inherit fetchurl stdenv; };