8 , gsettings-desktop-schemas
12 stdenv.mkDerivation (finalAttrs: {
17 url = "http://www.drpetter.se/files/sfxr-sdl-${finalAttrs.version}.tar.gz";
18 sha256 = "0dfqgid6wzzyyhc0ha94prxax59wx79hqr25r6if6by9cj4vx4ya";
24 url = "https://src.fedoraproject.org/rpms/sfxr/raw/223e58e68857c2018ced635e8209bb44f3616bf8/f/sfxr-sdl-gcc8x.patch";
25 hash = "sha256-etn4AutkNrhEDH9Ep8MhH9JSJEd7V/JXwjQua5uhAmg=";
30 substituteInPlace Makefile --replace "usr/" ""
31 substituteInPlace sdlkit.h --replace \
32 "/usr/share/sfxr/sfxr.bmp" \
33 "$out/share/sfxr/sfxr.bmp"
34 substituteInPlace main.cpp \
36 "/usr/share/sfxr/font.tga" \
37 "$out/share/sfxr/font.tga" \
39 "/usr/share/sfxr/ld48.tga" \
40 "$out/share/sfxr/ld48.tga"
51 gsettings-desktop-schemas
55 makeFlags = [ "DESTDIR=$(out)" ];
58 broken = stdenv.isDarwin;
59 homepage = "http://www.drpetter.se/project_sfxr.html";
60 description = "A videogame sound effect generator";
62 license = licenses.mit;
63 maintainers = with maintainers; [ fgaz ];
64 platforms = platforms.unix;