From f4e0da1eef2c7a2bba821df13f69f0dcd24ece1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E5=9D=82=E9=9B=85?= <23130178+ShadowRZ@users.noreply.github.com> Date: Sat, 6 May 2023 12:43:31 +0800 Subject: [PATCH] renpy: Update --- pkgs/development/interpreters/renpy/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/interpreters/renpy/default.nix b/pkgs/development/interpreters/renpy/default.nix index bee024829cef..d18c9ef2b38c 100644 --- a/pkgs/development/interpreters/renpy/default.nix +++ b/pkgs/development/interpreters/renpy/default.nix @@ -3,15 +3,16 @@ , makeWrapper }: -stdenv.mkDerivation rec { - pname = "renpy"; - +let # https://renpy.org/doc/html/changelog.html#versioning # base_version is of the form major.minor.patch # vc_version is of the form YYMMDDCC # version corresponds to the tag on GitHub base_version = "8.0.3"; vc_version = "22090809"; +in stdenv.mkDerivation rec { + pname = "renpy"; + version = "${base_version}.${vc_version}"; src = fetchFromGitHub { @@ -46,7 +47,7 @@ stdenv.mkDerivation rec { postPatch = '' substituteInPlace module/setup.py \ - --replace "@fribidi@" "${fribidi}" + --replace "@fribidi@" "${fribidi.dev}" cp tutorial/game/tutorial_director.rpy{m,} @@ -87,4 +88,6 @@ stdenv.mkDerivation rec { platforms = platforms.linux; maintainers = with maintainers; [ shadowrz ]; }; + + passthru = { inherit base_version vc_version; }; }