diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-07-28 15:35:01 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-07-28 15:35:01 +0000 |
commit | 749b8607ca3a6621d1aa37384c85e72369c64741 (patch) | |
tree | cc69ff74bd882a90f0747416deff9e989023a351 /pkgs/development/libraries/glfw | |
parent | 27fe0c57f3f8ced50ac302d2d337cca454ed0efa (diff) | |
download | nixpkgs-749b8607ca3a6621d1aa37384c85e72369c64741.tar nixpkgs-749b8607ca3a6621d1aa37384c85e72369c64741.tar.gz nixpkgs-749b8607ca3a6621d1aa37384c85e72369c64741.tar.bz2 nixpkgs-749b8607ca3a6621d1aa37384c85e72369c64741.tar.lz nixpkgs-749b8607ca3a6621d1aa37384c85e72369c64741.tar.xz nixpkgs-749b8607ca3a6621d1aa37384c85e72369c64741.tar.zst nixpkgs-749b8607ca3a6621d1aa37384c85e72369c64741.zip |
* More cleanup.
svn path=/nixpkgs/trunk/; revision=22795
Diffstat (limited to 'pkgs/development/libraries/glfw')
-rw-r--r-- | pkgs/development/libraries/glfw/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/libraries/glfw/default.nix b/pkgs/development/libraries/glfw/default.nix new file mode 100644 index 00000000000..1454d2ec94a --- /dev/null +++ b/pkgs/development/libraries/glfw/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, mesa, libX11, libXext }: + +stdenv.mkDerivation { + name = "glfw-2.6"; + + src = fetchurl { + url = mirror://sourceforge/glfw/glfw-2.6.tar.bz2; + sha256 = "1jnz7szax7410qrkiwkvq34sxy11w46ybyqbkaczdyvqas6cm1hv"; + }; + + buildInputs = [ mesa libX11 libXext ]; + + buildPhase = '' + ensureDir $out + make x11-install PREFIX=$out + ''; + + installPhase = ":"; + + meta = { + description = "Multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time"; + homepage = http://glfw.sourceforge.net/; + license = "zlib/libpng"; # http://www.opensource.org/licenses/zlib-license.php + maintainers = [ stdenv.lib.maintainers.marcweber ]; + platforms = stdenv.lib.platforms.linux; + }; +} |