git.iko.soy/typeable/nixpkgs
on master help sign in
mednafen: 0.9.47 -> 0.9.48, disable PIC, unversioned docs
commit5449dd2bb743b791590647cee4da24699bbbddf8 authorYegor Timoshenko <yegortimoshenko@gmail.com> dateWed 27 Sep 2017, 16:10 (9 years ago) parentcee657f
1 file changed+24−18
pkgs/misc/emulators/mednafen/default.nix+24−18
pkgs/misc/emulators/mednafen/default.nix+24−18
@@ -1,36 +1,42 @@
1−{ stdenv, fetchurl, pkgconfig
2−, libX11, mesa, freeglut
3−, libjack2, libcdio, libsndfile, libsamplerate
4−, SDL, SDL_net, zlib
5−}:
1+{ stdenv, fetchurl, pkgconfig, freeglut, mesa, libcdio, libjack2
2+, libsamplerate, libsndfile, libX11, SDL, SDL_net, zlib }:
63
7−with stdenv.lib;
84stdenv.mkDerivation rec {
9−
105 name = "mednafen-${version}";
11− version = "0.9.47";
6+ version = "0.9.48";
127
138 src = fetchurl {
149 url = "https://mednafen.github.io/releases/files/${name}.tar.xz";
15− sha256 = "0flz6bjkzs9qrw923s4cpqrz4b2dhc2w7pd8mgw0l1xbmrh7w4si";
10+ sha256 = "00i12mywhp43274aq466fwavglk5b7d8z8bfdna12ra9iy1hrk6k";
1611 };
1712
18− buildInputs =
19− [ pkgconfig libX11 mesa freeglut libjack2 libcdio
20− libsndfile libsamplerate SDL SDL_net zlib ];
13+ nativeBuildInputs = [ pkgconfig ];
14+
15+ buildInputs = [
16+ freeglut
17+ mesa
18+ libcdio
19+ libjack2
20+ libsamplerate
21+ libsndfile
22+ libX11
23+ SDL
24+ SDL_net
25+ zlib
26+ ];
27+
28+ hardeningDisable = [ "pic" ];
2129
22− # Install docs
2330 postInstall = ''
24− mkdir -p $out/share/doc/$name
25− cd Documentation
26− install -m 644 -t $out/share/doc/$name *.css *.def *.html *.php *.png *.txt
31+ mkdir -p $out/share/doc
32+ mv Documentation $out/share/doc/mednafen
2733 '';
2834
2935 meta = with stdenv.lib; {
3036 description = "A portable, CLI-driven, SDL+OpenGL-based, multi-system emulator";
31− homepage = http://mednafen.github.io/;
37+ homepage = https://mednafen.github.io/;
3238 license = licenses.gpl2;
33− maintainers = [ maintainers.AndersonTorres ];
39+ maintainers = with maintainers; [ AndersonTorres ];
3440 platforms = platforms.linux;
3541 };
3642}