SDL2_mixer_2_0: init at 2.0.4
* As required by `lzwolf`.
This commit is contained in:
parent
c973f19acd
commit
71aac402cc
2 changed files with 24 additions and 0 deletions
22
pkgs/development/libraries/SDL2_mixer/2_0.nix
Normal file
22
pkgs/development/libraries/SDL2_mixer/2_0.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{ fetchurl
|
||||||
|
, lzwolf
|
||||||
|
, SDL2_mixer
|
||||||
|
, timidity
|
||||||
|
}:
|
||||||
|
|
||||||
|
SDL2_mixer.overrideAttrs(oa: rec {
|
||||||
|
version = "2.0.4";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${version}.tar.gz";
|
||||||
|
sha256 = "0694vsz5bjkcdgfdra6x9fq8vpzrl8m6q96gh58df7065hw5mkxl";
|
||||||
|
};
|
||||||
|
|
||||||
|
# fix default path to timidity.cfg so MIDI files could be played
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace timidity/options.h \
|
||||||
|
--replace "/usr/share/timidity" "${timidity}/share/timidity"
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru.tests.lzwolf = lzwolf;
|
||||||
|
})
|
|
@ -23186,6 +23186,8 @@ with pkgs;
|
||||||
SDL2_mixer = callPackage ../development/libraries/SDL2_mixer {
|
SDL2_mixer = callPackage ../development/libraries/SDL2_mixer {
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit AudioToolbox;
|
inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit AudioToolbox;
|
||||||
};
|
};
|
||||||
|
# SDL2_mixer_2_0 pinned for lzwolf
|
||||||
|
SDL2_mixer_2_0 = callPackage ../development/libraries/SDL2_mixer/2_0.nix { };
|
||||||
|
|
||||||
SDL2_net = callPackage ../development/libraries/SDL2_net { };
|
SDL2_net = callPackage ../development/libraries/SDL2_net { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue