Author: simons
Date: Sun Jul 10 14:04:19 2011
New Revision: 27692
URL: https://svn.nixos.org/websvn/nix/?rev=27692&sc=1
Log:
Added obsolete lua-5.0.3 version, which is required by gravit.
Added:
nixpkgs/trunk/pkgs/development/interpreters/lua-5/5.0.3.nix
Modified:
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Added: nixpkgs/trunk/pkgs/development/interpreters/lua-5/5.0.3.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/development/interpreters/lua-5/5.0.3.nix Sun Jul 10
14:04:19 2011 (r27692)
@@ -0,0 +1,31 @@
+{stdenv, fetchurl}:
+
+stdenv.mkDerivation {
+ name = "lua-5.0.3";
+
+ src = fetchurl {
+ url = http://www.lua.org/ftp/lua-5.0.3.tar.gz;
+ sha256 =
"1193a61b0e08acaa6eee0eecf29709179ee49c71baebc59b682a25c3b5a45671";
+ };
+
+ configurePhase = "sed -i -e 's/MYCFLAGS=.*/MYCFLAGS=-O3 -fomit-frame-pointer
-fPIC/' config";
+ buildFlags = "all so sobin";
+ installFlags = "INSTALL_ROOT=$$out";
+ installTargets = "install soinstall";
+
+ meta = {
+ homepage = "http://www.lua.org";
+ description = "Lua is a powerful, fast, lightweight, embeddable scripting
language.";
+ longDescription = ''
+ Lua combines simple procedural syntax with powerful data
+ description constructs based on associative arrays and extensible
+ semantics. Lua is dynamically typed, runs by interpreting bytecode
+ for a register-based virtual machine, and has automatic memory
+ management with incremental garbage collection, making it ideal
+ for configuration, scripting, and rapid prototyping.
+ '';
+ license = "MIT";
+ platforms = stdenv.lib.platforms.unix;
+ maintainers = [ ];
+ };
+}
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Sun Jul 10 14:04:14
2011 (r27691)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Sun Jul 10 14:04:19
2011 (r27692)
@@ -2373,6 +2373,8 @@
lua5 = callPackage ../development/interpreters/lua-5 { };
+ lua5_0 = callPackage ../development/interpreters/lua-5/5.0.3.nix { };
+
maude = callPackage ../development/interpreters/maude { };
octave = callPackage ../development/interpreters/octave {
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits