Merge pull request #2654 from iyzsong/libmodplug

libmodplug: update to 0.8.8.5
This commit is contained in:
Rob Vermaas 2014-05-16 09:10:03 +02:00
commit 8a447ed1d5

View File

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