nixpkgs/pkgs/development/libraries/freeglut/default.nix
Eelco Dolstra 607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00

13 lines
271 B
Nix

{stdenv, fetchurl, x11, mesa}:
stdenv.mkDerivation {
name = "freeglut-2.4.0";
src = fetchurl {
url = mirror://sourceforge/freeglut/freeglut-2.4.0.tar.gz;
sha256 = "0lmhh5p19rw4wisr0jsl7nsa2hxdaasj0vxk5ri83crhp982v7r6";
};
buildInputs = [x11 mesa];
}