forked from mirrors/nixpkgs
renpy: Update
This commit is contained in:
parent
18528304b2
commit
f4e0da1eef
|
@ -3,15 +3,16 @@
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
pname = "renpy";
|
|
||||||
|
|
||||||
# https://renpy.org/doc/html/changelog.html#versioning
|
# https://renpy.org/doc/html/changelog.html#versioning
|
||||||
# base_version is of the form major.minor.patch
|
# base_version is of the form major.minor.patch
|
||||||
# vc_version is of the form YYMMDDCC
|
# vc_version is of the form YYMMDDCC
|
||||||
# version corresponds to the tag on GitHub
|
# version corresponds to the tag on GitHub
|
||||||
base_version = "8.0.3";
|
base_version = "8.0.3";
|
||||||
vc_version = "22090809";
|
vc_version = "22090809";
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
pname = "renpy";
|
||||||
|
|
||||||
version = "${base_version}.${vc_version}";
|
version = "${base_version}.${vc_version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -46,7 +47,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace module/setup.py \
|
substituteInPlace module/setup.py \
|
||||||
--replace "@fribidi@" "${fribidi}"
|
--replace "@fribidi@" "${fribidi.dev}"
|
||||||
|
|
||||||
cp tutorial/game/tutorial_director.rpy{m,}
|
cp tutorial/game/tutorial_director.rpy{m,}
|
||||||
|
|
||||||
|
@ -87,4 +88,6 @@ stdenv.mkDerivation rec {
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ shadowrz ];
|
maintainers = with maintainers; [ shadowrz ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
passthru = { inherit base_version vc_version; };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue