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