renpy: 7.1.3 -> 7.2.0

This commit is contained in:
Dan Callahan 2019-03-04 14:46:02 +00:00
parent 981ce3418a
commit 154a7d3cfb
No known key found for this signature in database
GPG Key ID: 8D6DD713E9EBA7FD
2 changed files with 7 additions and 11 deletions

View File

@ -7,7 +7,7 @@ with pythonPackages;
stdenv.mkDerivation rec {
name = "renpy-${version}";
version = "7.1.3";
version = "7.2.0";
meta = with stdenv.lib; {
description = "Ren'Py Visual Novel Engine";
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://www.renpy.org/dl/${version}/renpy-${version}-source.tar.bz2";
sha256 = "0z6s1vzjb5jh0i79pv5kgynfrzqj1a1f3afrpmp2aaqbrljkidbn";
sha256 = "1pnzxmh37zzldvlyklk2wgc8xbh3hm3wwmbl70zdphybjrxvc7i5";
};
patches = [

View File

@ -4,12 +4,12 @@
buildPythonPackage rec {
pname = "pygame_sdl2";
version = "2.1.0";
renpy_version = "6.99.14";
renpy_version = "7.2.0";
name = "${pname}-${version}-${renpy_version}";
src = fetchurl {
url = "https://www.renpy.org/dl/${renpy_version}/pygame_sdl2-${version}-for-renpy-${renpy_version}.tar.gz";
sha256 = "1zsnb2bivbwysgxmfg9iv12arhpf3gqkmqinhciz955hlqv016b9";
sha256 = "1amgsb6mm8ssf7vdcs5dr8rlxrgyhh29m4i573z1cw61ynd7vgcw";
};
# force rebuild of headers needed for install
@ -17,17 +17,13 @@ buildPythonPackage rec {
rm -rf gen gen3
'';
patches = [
# fix for recent sdl2
(fetchpatch {
url = "https://github.com/apoleon/pygame_sdl2/commit/ced6051f4a4559a725804cc58c079e1efea0a573.patch";
sha256 = "08rqjzvdlmmdf8kyd8ws5lzjy1mrwnds4fdy38inkyw7saydcxyr";
})
nativeBuildInputs = [
SDL2.dev cython
];
buildInputs = [
SDL2 SDL2_image SDL2_ttf SDL2_mixer
cython libjpeg libpng
libjpeg libpng
];