2015-05-27 19:42:15 +00:00
|
|
|
{ stdenv, fetchurl, texinfo, alsaLib, libpulseaudio }:
|
2015-02-03 11:23:23 +00:00
|
|
|
|
2010-04-18 18:57:35 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-02-03 11:23:23 +00:00
|
|
|
name = "libmikmod-3.3.7";
|
2010-04-18 18:57:35 +00:00
|
|
|
src = fetchurl {
|
2015-04-17 07:37:42 +00:00
|
|
|
url = "mirror://sourceforge/mikmod/${name}.tar.gz";
|
2015-02-03 11:23:23 +00:00
|
|
|
sha256 = "18nrkf5l50hfg0y50yxr7bvik9f002lhn8c00nbcp6dgm5011x2c";
|
2010-04-18 18:57:35 +00:00
|
|
|
};
|
2015-02-03 11:23:23 +00:00
|
|
|
|
2015-04-17 07:37:42 +00:00
|
|
|
buildInputs = [ texinfo ]
|
2015-05-27 19:42:15 +00:00
|
|
|
++ stdenv.lib.optional stdenv.isLinux [ alsaLib libpulseaudio ];
|
2015-04-17 07:37:42 +00:00
|
|
|
propagatedBuildInputs =
|
2015-05-27 19:42:15 +00:00
|
|
|
stdenv.lib.optional stdenv.isLinux libpulseaudio;
|
2015-04-17 07:37:42 +00:00
|
|
|
|
|
|
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lasound";
|
2013-07-04 04:58:32 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2010-04-18 18:57:35 +00:00
|
|
|
description = "A library for playing tracker music module files";
|
2013-07-04 04:58:32 +00:00
|
|
|
homepage = http://mikmod.shlomifish.org/;
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
maintainers = with maintainers; [ astsmtl lovek323 ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
|
2010-04-18 18:57:35 +00:00
|
|
|
longDescription = ''
|
|
|
|
A library for playing tracker music module files supporting many formats,
|
|
|
|
including MOD, S3M, IT and XM.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|