···1-{ stdenv, fetchurl, alsaLib, SDL, automake, autoconf, perl}:
23stdenv.mkDerivation rec {
4 version = "0.90.85";
···20 sha256 = "0gwd4zslbd8kih80k4v7n2c65kvm2cq3kl6d7y33z1l007vzyvf6";
21 };
2223- preConfigure = ''
24- patch ./src/tracker/sdl/SDL_Main.cpp < ${fix_64bit_patch}
25- patch < ${no_zzip_patch}
026 '';
2728- # There's a zlib version included with milkytracker,
29- # but there's no makefiles for it. I've only included
30- # the header here, but it fails at link-time with
31- # several 'undefined reference' errors, which simply
32- # means it can't find the definitions, e.g. compiled
33- # zlib.
34- # There's bug reports on other package systems although
35- # unfortunately still unresolved.
36- # https://bugs.archlinux.org/task/31324
37- # http://lists.freebsd.org/pipermail/freebsd-ports/2013-March/082180.html
38 preBuild=''
39- export CPATH="`pwd`/src/compression/zlib/generic"
40 '';
4142- buildInputs = [ alsaLib SDL automake autoconf perl];
4344 meta = {
45 description = "Music tracker application, similar to Fasttracker II.";