2011-01-12 11:37:57 +01:00
|
|
|
x@{builderDefsPackage
|
2014-07-28 12:07:44 +02:00
|
|
|
, ladspaH, jackaudio, liblo, alsaLib, qt4, libX11, libsndfile, libSM
|
2012-03-22 19:49:15 +01:00
|
|
|
, libsamplerate, libtool, autoconf, automake, xproto, libICE, pkgconfig
|
2011-01-12 11:37:57 +01:00
|
|
|
, ...}:
|
|
|
|
builderDefsPackage
|
|
|
|
(a :
|
|
|
|
let
|
|
|
|
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
|
|
[];
|
|
|
|
|
|
|
|
buildInputs = map (n: builtins.getAttr n x)
|
|
|
|
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
|
|
|
sourceInfo = rec {
|
|
|
|
baseName="dssi";
|
2012-03-22 19:49:15 +01:00
|
|
|
version="1.1.1";
|
2011-01-12 11:37:57 +01:00
|
|
|
project="${baseName}";
|
|
|
|
name="${baseName}-${version}";
|
|
|
|
url="mirror://sourceforge/project/${project}/${baseName}/${version}/${name}.tar.gz";
|
2012-03-22 19:49:15 +01:00
|
|
|
hash="0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j";
|
2011-01-12 11:37:57 +01:00
|
|
|
};
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = a.fetchurl {
|
|
|
|
url = sourceInfo.url;
|
|
|
|
sha256 = sourceInfo.hash;
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit (sourceInfo) name version;
|
|
|
|
inherit buildInputs;
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A plugin SDK for virtual instruments";
|
|
|
|
maintainers = with a.lib.maintainers;
|
|
|
|
[
|
|
|
|
raskin
|
|
|
|
];
|
|
|
|
platforms = with a.lib.platforms;
|
|
|
|
linux;
|
|
|
|
license = a.lib.licenses.lgpl21;
|
|
|
|
};
|
|
|
|
passthru = {
|
|
|
|
updateInfo = {
|
|
|
|
downloadPage = "http://sourceforge.net/projects/dssi/files/dssi/";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}) x
|
|
|
|
|