libmodplug: update to 0.8.8.5

This commit is contained in:
宋文武 2014-05-15 18:17:06 +08:00
parent 432998852c
commit b750d03def

View File

@ -1,47 +1,20 @@
x@{builderDefsPackage
, ...}:
builderDefsPackage
(a :
{ stdenv, fetchurl }:
let
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
version = "0.8.8.5";
in stdenv.mkDerivation rec {
name = "libmodplug-${version}";
buildInputs = map (n: builtins.getAttr n x)
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
sourceInfo = rec {
baseName="libmodplug";
version="0.8.8.4";
name="${baseName}-${version}";
url="mirror://sourceforge/project/modplug-xmms/${baseName}/${version}/${name}.tar.gz";
hash="1xv44bd84c4qi41i1wwjr6qzazx15l85yvi74sz49ldyvlyy2pjw";
};
in
rec {
src = a.fetchurl {
url = sourceInfo.url;
sha256 = sourceInfo.hash;
meta = with stdenv.lib; {
description = "MOD playing library";
homepage = "http://modplug-xmms.sourceforge.net/";
license = licenses.publicDomain;
platforms = platforms.linux;
maintainers = with maintainers; [ raskin ];
};
inherit (sourceInfo) name version;
inherit buildInputs;
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"];
meta = {
description = "Music library";
maintainers = with a.lib.maintainers;
[
raskin
];
platforms = with a.lib.platforms;
linux;
license = a.lib.licenses.publicDomain;
src = fetchurl {
url = "mirror://sourceforge/project/modplug-xmms/libmodplug/${version}/${name}.tar.gz";
sha256 = "1bfsladg7h6vnii47dd66f5vh1ir7qv12mfb8n36qiwrxq92sikp";
};
passthru = {
updateInfo = {
downloadPage = "http://sourceforge.net/projects/modplug-xmms/files/libmodplug/";
};
};
}) x
}