tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
xemu: change self to finalAttrs
Anderson Torres
2 years ago
8577d50d
ecde7e47
+4
-4
1 changed file
expand all
collapse all
unified
split
pkgs
applications
emulators
xemu
default.nix
+4
-4
pkgs/applications/emulators/xemu/default.nix
···
25
, wrapGAppsHook
26
}:
27
28
-
stdenv.mkDerivation (self: {
29
pname = "xemu";
30
version = "0.7.85";
31
32
src = fetchFromGitHub {
33
owner = "xemu-project";
34
repo = "xemu";
35
-
rev = "v${self.version}";
36
hash = "sha256-sVUkB2KegdKlHlqMvSwB1nLdJGun2x2x9HxtNHnpp1s=";
37
fetchSubmodules = true;
38
};
···
94
# to run `XEMU_COMMIT=$(cat XEMU_COMMIT)` (and similar)
95
branch = "master";
96
commit = "d8fa50e524c22f85ecb2e43108fd6a5501744351";
97
-
inherit (self) version;
98
in ''
99
patchShebangs .
100
configureFlagsArray+=("--extra-cflags=-DXBOX=1 -Wno-error=redundant-decls")
···
133
Xbox game console, enabling people to play their original Xbox games on
134
Windows, macOS, and Linux systems.
135
'';
136
-
changelog = "https://github.com/xemu-project/xemu/releases/tag/v${self.version}";
137
license = lib.licenses.gpl2Plus;
138
maintainers = with lib.maintainers; [ AndersonTorres genericnerdyusername ];
139
platforms = with lib.platforms; linux;
···
25
, wrapGAppsHook
26
}:
27
28
+
stdenv.mkDerivation (finalAttrs: {
29
pname = "xemu";
30
version = "0.7.85";
31
32
src = fetchFromGitHub {
33
owner = "xemu-project";
34
repo = "xemu";
35
+
rev = "v${finalAttrs.version}";
36
hash = "sha256-sVUkB2KegdKlHlqMvSwB1nLdJGun2x2x9HxtNHnpp1s=";
37
fetchSubmodules = true;
38
};
···
94
# to run `XEMU_COMMIT=$(cat XEMU_COMMIT)` (and similar)
95
branch = "master";
96
commit = "d8fa50e524c22f85ecb2e43108fd6a5501744351";
97
+
inherit (finalAttrs) version;
98
in ''
99
patchShebangs .
100
configureFlagsArray+=("--extra-cflags=-DXBOX=1 -Wno-error=redundant-decls")
···
133
Xbox game console, enabling people to play their original Xbox games on
134
Windows, macOS, and Linux systems.
135
'';
136
+
changelog = "https://github.com/xemu-project/xemu/releases/tag/v${finalAttrs.version}";
137
license = lib.licenses.gpl2Plus;
138
maintainers = with lib.maintainers; [ AndersonTorres genericnerdyusername ];
139
platforms = with lib.platforms; linux;