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 { stdenv, fetchurl }:
, ...}:
builderDefsPackage
(a :
let let
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ version = "0.8.8.5";
[]; in stdenv.mkDerivation rec {
name = "libmodplug-${version}";
buildInputs = map (n: builtins.getAttr n x) meta = with stdenv.lib; {
(builtins.attrNames (builtins.removeAttrs x helperArgNames)); description = "MOD playing library";
sourceInfo = rec { homepage = "http://modplug-xmms.sourceforge.net/";
baseName="libmodplug"; license = licenses.publicDomain;
version="0.8.8.4"; platforms = platforms.linux;
name="${baseName}-${version}"; maintainers = with maintainers; [ raskin ];
url="mirror://sourceforge/project/modplug-xmms/${baseName}/${version}/${name}.tar.gz";
hash="1xv44bd84c4qi41i1wwjr6qzazx15l85yvi74sz49ldyvlyy2pjw";
};
in
rec {
src = a.fetchurl {
url = sourceInfo.url;
sha256 = sourceInfo.hash;
}; };
inherit (sourceInfo) name version; src = fetchurl {
inherit buildInputs; url = "mirror://sourceforge/project/modplug-xmms/libmodplug/${version}/${name}.tar.gz";
sha256 = "1bfsladg7h6vnii47dd66f5vh1ir7qv12mfb8n36qiwrxq92sikp";
/* 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;
}; };
passthru = { }
updateInfo = {
downloadPage = "http://sourceforge.net/projects/modplug-xmms/files/libmodplug/";
};
};
}) x