Merge branch 'origin/master' into stdenv-updates.

Conflicts:
	pkgs/tools/misc/less/default.nix
This commit is contained in:
Peter Simons
2013-12-16 21:13:24 +01:00
232 changed files with 1551 additions and 681 deletions

View File

@@ -0,0 +1,31 @@
{ stdenv, fetchurl, pkgconfig
, SDL2, mesa, openal, luajit
, libdevil, freetype, physfs
, libmodplug, mpg123, libvorbis, libogg
}:
stdenv.mkDerivation rec {
name = "love-0.9.0";
src = fetchurl {
url = "https://bitbucket.org/rude/love/downloads/${name}-linux-src.tar.gz";
sha256 = "048n94584cnmdaf2rshakdzbj1lz2yd7k08aiykkpz13aaa283ag";
};
buildInputs = [
pkgconfig SDL2 mesa openal luajit
libdevil freetype physfs libmodplug mpg123 libvorbis libogg
];
configureFlags = [
"--with-lua=luajit"
];
meta = {
homepage = "http://love2d.org";
description = "A Lua-based 2D game engine/scripting language";
license = "zlib";
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.raskin ];
};
}

View File

@@ -1,4 +1,4 @@
{stdenv, fetchurl} :
{ stdenv, fetchurl }:
stdenv.mkDerivation rec{
version = "2.0.2";
@@ -9,8 +9,13 @@ stdenv.mkDerivation rec{
sha256="0f3cykihfdn3gi6na9p0xjd4jnv26z18m441n5vyg42q9abh4ln0";
};
patchPhase = stdenv.lib.optionalString (stdenv.gcc.libc != null)
''
substituteInPlace Makefile \
--replace ldconfig ${stdenv.gcc.libc}/sbin/ldconfig
'';
installPhase = ''
mkdir -p $out
make install PREFIX=$out
'';
@@ -18,5 +23,6 @@ stdenv.mkDerivation rec{
description= "Just-in-time compiler and interpreter for lua 5.1.";
homepage = http://luajit.org;
license = stdenv.lib.licenses.mit;
platorms = stdenv.lib.platforms.linux;
};
}

View File

@@ -10,7 +10,7 @@ in
composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
version = "5.3.27";
version = "5.3.28";
name = "php-${version}";
@@ -224,7 +224,7 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
src = fetchurl {
url = "http://nl1.php.net/get/php-${version}.tar.bz2/from/this/mirror";
sha256 = "11xj6v65m6l2lq2s2j5pq5l0iwjsnxmv1nad9hja50ivc8fb4bg1";
sha256 = "04w53nn6qacpkd1x381mzd41kqh6k8kjnbyg44yvnkqwcl69db0c";
name = "php-${version}.tar.bz2";
};

View File

@@ -9,7 +9,7 @@ in
composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
version = "5.4.21";
version = "5.4.23";
name = "php-${version}";
@@ -235,7 +235,7 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
"http://nl1.php.net/get/php-${version}.tar.bz2/from/this/mirror"
"http://se1.php.net/get/php-${version}.tar.bz2/from/this/mirror"
];
sha256 = "1v2nqvgb0lvja4as5361ja3ry8ja7ib38wzia34g7inw3bp7r3za";
sha256 = "1k4iplqqcaqkmyq10h6a5qcpkfpkd05r2kclxw9n9qdrm47hfz5f";
name = "php-${version}.tar.bz2";
};

View File

@@ -3,11 +3,19 @@
}:
stdenv.mkDerivation {
name = "renpy-6.15.5";
name = "renpy-6.16.3";
meta = {
description = "Ren'Py Visual Novel Engine";
homepage = "http://renpy.org/";
license = "MIT";
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ iyzsong ];
};
src = fetchurl {
url = "http://www.renpy.org/dl/6.15.5/renpy-6.15.5-source.tar.bz2";
sha256 = "1k57dak1yk5iyxripqn2syhwwkh70y00pnnb9i1qf19lmiirxa60";
url = "http://www.renpy.org/dl/6.16.3/renpy-6.16.3-source.tar.bz2";
sha256 = "0yd7wj85kp0hlaqlrhl40irhkmcng89vcxypyx40pqmk87gjagqn";
};
buildInputs = [
@@ -34,16 +42,8 @@ stdenv.mkDerivation {
makeWrapper ${python}/bin/python $out/bin/renpy \
--set PYTHONPATH $program_PYTHONPATH \
--set RENPY_BASE $out/share/renpy \
--set RENPY_LESS_UPDATES 1 \
--add-flags "-O $out/share/renpy/renpy.py"
'';
NIX_CFLAGS_COMPILE = "-I${pygame}/include/${python.libPrefix}";
meta = {
description = "Ren'Py Visual Novel Engine";
homepage = "http://renpy.org/";
license = "MIT";
platforms = stdenv.lib.platforms.linux;
};
}