2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, file }:
|
2011-09-11 16:45:42 +00:00
|
|
|
|
2014-05-15 10:17:06 +00:00
|
|
|
let
|
2018-02-27 04:50:36 +00:00
|
|
|
version = "0.8.9.0";
|
2014-05-15 10:17:06 +00:00
|
|
|
in stdenv.mkDerivation rec {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "libmodplug";
|
|
|
|
inherit version;
|
2011-09-11 16:45:42 +00:00
|
|
|
|
2020-12-09 09:13:00 +00:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace configure \
|
|
|
|
--replace ' -mmacosx-version-min=10.5' "" \
|
|
|
|
--replace /usr/bin/file ${file}/bin/file
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2014-05-15 10:17:06 +00:00
|
|
|
description = "MOD playing library";
|
|
|
|
homepage = "http://modplug-xmms.sourceforge.net/";
|
|
|
|
license = licenses.publicDomain;
|
2015-04-08 20:12:24 +00:00
|
|
|
platforms = platforms.unix;
|
2014-05-15 10:17:06 +00:00
|
|
|
maintainers = with maintainers; [ raskin ];
|
2011-09-11 16:45:42 +00:00
|
|
|
};
|
|
|
|
|
2014-05-15 10:17:06 +00:00
|
|
|
src = fetchurl {
|
2019-08-13 21:52:01 +00:00
|
|
|
url = "mirror://sourceforge/project/modplug-xmms/libmodplug/${version}/${pname}-${version}.tar.gz";
|
2018-02-27 04:50:36 +00:00
|
|
|
sha256 = "1pnri98a603xk47smnxr551svbmgbzcw018mq1k6srbrq6kaaz25";
|
2014-05-15 10:17:06 +00:00
|
|
|
};
|
|
|
|
}
|