diff options
author | lasers <lasers@users.noreply.github.com> | 2023-04-16 14:22:40 -0500 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-02 18:49:51 -0300 |
commit | 72e8332e0c0f6a5f44545199261a6352efe55f0b (patch) | |
tree | a698c875cb3a38aeb69d9199e0072245cb5022ec /pkgs/applications/emulators | |
parent | 2992b289220a0e3bb505128541b842fa9b0395d5 (diff) |
xemu: 0.7.85 -> 0.7.87
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r-- | pkgs/applications/emulators/xemu/default.nix | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/pkgs/applications/emulators/xemu/default.nix b/pkgs/applications/emulators/xemu/default.nix index 50f2b57f887a3..2b0b2e755ec11 100644 --- a/pkgs/applications/emulators/xemu/default.nix +++ b/pkgs/applications/emulators/xemu/default.nix @@ -27,13 +27,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "xemu"; - version = "0.7.85"; + version = "0.7.87"; src = fetchFromGitHub { owner = "xemu-project"; repo = "xemu"; rev = "v${finalAttrs.version}"; - hash = "sha256-sVUkB2KegdKlHlqMvSwB1nLdJGun2x2x9HxtNHnpp1s="; + hash = "sha256-NPvyXDrTKt7PIspLPrUBo7qs9hsHV+6u7dQlIqdlQtw="; fetchSubmodules = true; }; @@ -89,20 +89,14 @@ stdenv.mkDerivation (finalAttrs: { }) ]; - preConfigure = let - # When the data below can't be obtained through git, the build process tries - # to run `XEMU_COMMIT=$(cat XEMU_COMMIT)` (and similar) - branch = "master"; - commit = "d8fa50e524c22f85ecb2e43108fd6a5501744351"; - inherit (finalAttrs) version; - in '' + preConfigure = '' patchShebangs . configureFlagsArray+=("--extra-cflags=-DXBOX=1 -Wno-error=redundant-decls") substituteInPlace ./scripts/xemu-version.sh \ --replace 'date -u' "date -d @$SOURCE_DATE_EPOCH '+%Y-%m-%d %H:%M:%S'" - echo '${commit}' > XEMU_COMMIT - echo '${branch}' > XEMU_BRANCH - echo '${version}' > XEMU_VERSION + # When the data below can't be obtained through git, the build process tries + # to run `XEMU_COMMIT=$(cat XEMU_COMMIT)` (and similar) + echo '${finalAttrs.version}' > XEMU_VERSION ''; preBuild = '' |