tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
renpy: reformat with nixfmt-rfc-style and migrate to by-name
pluie.me
2 years ago
b881e25e
20b8d480
+61
-20
3 changed files
expand all
collapse all
unified
split
pkgs
by-name
re
renpy
package.nix
shutup-erofs-errors.patch
top-level
all-packages.nix
+61
-18
pkgs/development/interpreters/renpy/default.nix
pkgs/by-name/re/renpy/package.nix
···
1
1
-
{ lib, stdenv, fetchFromGitHub, python3, pkg-config, SDL2
2
2
-
, libpng, ffmpeg, freetype, glew, libGL, libGLU, fribidi, zlib, harfbuzz
3
3
-
, makeWrapper
1
1
+
{
2
2
+
lib,
3
3
+
stdenv,
4
4
+
fetchFromGitHub,
5
5
+
python3,
6
6
+
pkg-config,
7
7
+
SDL2,
8
8
+
libpng,
9
9
+
ffmpeg,
10
10
+
freetype,
11
11
+
glew,
12
12
+
libGL,
13
13
+
libGLU,
14
14
+
fribidi,
15
15
+
zlib,
16
16
+
harfbuzz,
17
17
+
makeWrapper,
4
18
}:
5
19
6
20
let
···
11
25
base_version = "8.2.1";
12
26
vc_version = "24030407";
13
27
version = "${base_version}.${vc_version}";
14
14
-
in stdenv.mkDerivation {
28
28
+
in
29
29
+
stdenv.mkDerivation {
15
30
pname = "renpy";
16
31
inherit version;
17
32
···
31
46
python3.pkgs.setuptools
32
47
];
33
48
34
34
-
buildInputs = [
35
35
-
SDL2 libpng ffmpeg freetype glew libGLU libGL fribidi zlib harfbuzz
36
36
-
] ++ (with python3.pkgs; [
37
37
-
python pygame-sdl2 tkinter future six pefile requests ecdsa
38
38
-
]);
49
49
+
buildInputs =
50
50
+
[
51
51
+
SDL2
52
52
+
libpng
53
53
+
ffmpeg
54
54
+
freetype
55
55
+
glew
56
56
+
libGLU
57
57
+
libGL
58
58
+
fribidi
59
59
+
zlib
60
60
+
harfbuzz
61
61
+
]
62
62
+
++ (with python3.pkgs; [
63
63
+
python
64
64
+
pygame-sdl2
65
65
+
tkinter
66
66
+
future
67
67
+
six
68
68
+
pefile
69
69
+
requests
70
70
+
ecdsa
71
71
+
]);
39
72
40
73
RENPY_DEPS_INSTALL = lib.concatStringsSep "::" [
41
41
-
SDL2 SDL2.dev libpng ffmpeg.lib freetype glew.dev libGLU libGL fribidi zlib harfbuzz.dev
74
74
+
SDL2
75
75
+
SDL2.dev
76
76
+
libpng
77
77
+
ffmpeg.lib
78
78
+
freetype
79
79
+
glew.dev
80
80
+
libGLU
81
81
+
libGL
82
82
+
fribidi
83
83
+
zlib
84
84
+
harfbuzz.dev
42
85
];
43
86
44
87
enableParallelBuilding = true;
45
88
46
46
-
patches = [
47
47
-
./shutup-erofs-errors.patch
48
48
-
];
89
89
+
patches = [ ./shutup-erofs-errors.patch ];
49
90
50
91
postPatch = ''
51
92
cp tutorial/game/tutorial_director.rpy{m,}
···
81
122
82
123
env.NIX_CFLAGS_COMPILE = with python3.pkgs; "-I${pygame-sdl2}/include/${python.libPrefix}";
83
124
84
84
-
meta = with lib; {
125
125
+
meta = {
85
126
description = "Visual Novel Engine";
86
127
mainProgram = "renpy";
87
128
homepage = "https://renpy.org/";
88
129
changelog = "https://renpy.org/doc/html/changelog.html";
89
89
-
license = licenses.mit;
90
90
-
platforms = platforms.linux;
91
91
-
maintainers = with maintainers; [ shadowrz ];
130
130
+
license = lib.licenses.mit;
131
131
+
platforms = lib.platforms.linux;
132
132
+
maintainers = with lib.maintainers; [ shadowrz ];
92
133
};
93
134
94
94
-
passthru = { inherit base_version vc_version; };
135
135
+
passthru = {
136
136
+
inherit base_version vc_version;
137
137
+
};
95
138
}
pkgs/development/interpreters/renpy/shutup-erofs-errors.patch
pkgs/by-name/re/renpy/shutup-erofs-errors.patch
-2
pkgs/top-level/all-packages.nix
···
12393
12393
12394
12394
redsocks = callPackage ../tools/networking/redsocks { };
12395
12395
12396
12396
-
renpy = callPackage ../development/interpreters/renpy { };
12397
12397
-
12398
12396
rep = callPackage ../development/tools/rep { };
12399
12397
12400
12398
repseek = callPackage ../applications/science/biology/repseek { };