10 gsettings-desktop-schemas,
14 stdenv.mkDerivation (finalAttrs: {
19 url = "http://www.drpetter.se/files/sfxr-sdl-${finalAttrs.version}.tar.gz";
20 sha256 = "0dfqgid6wzzyyhc0ha94prxax59wx79hqr25r6if6by9cj4vx4ya";
26 url = "https://src.fedoraproject.org/rpms/sfxr/raw/223e58e68857c2018ced635e8209bb44f3616bf8/f/sfxr-sdl-gcc8x.patch";
27 hash = "sha256-etn4AutkNrhEDH9Ep8MhH9JSJEd7V/JXwjQua5uhAmg=";
32 substituteInPlace Makefile --replace "usr/" ""
33 substituteInPlace sdlkit.h --replace \
34 "/usr/share/sfxr/sfxr.bmp" \
35 "$out/share/sfxr/sfxr.bmp"
36 substituteInPlace main.cpp \
38 "/usr/share/sfxr/font.tga" \
39 "$out/share/sfxr/font.tga" \
41 "/usr/share/sfxr/ld48.tga" \
42 "$out/share/sfxr/ld48.tga"
53 gsettings-desktop-schemas
57 makeFlags = [ "DESTDIR=$(out)" ];
60 broken = stdenv.hostPlatform.isDarwin;
61 homepage = "http://www.drpetter.se/project_sfxr.html";
62 description = "Videogame sound effect generator";
64 license = licenses.mit;
65 maintainers = with maintainers; [ fgaz ];
66 platforms = platforms.unix;