meta.function -> passthru.function, not killing other contents of passthru

svn path=/nixpkgs/trunk/; revision=13190
This commit is contained in:
Michael Raskin 2008-11-04 21:24:10 +00:00
parent 8b06e2e228
commit c5363217ad
68 changed files with 80 additions and 80 deletions

View File

@ -1,5 +1,5 @@
args: with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src =
fetchurl {
url = mirror://sourceforge/audacity/audacity-src-1.3.3.tar.gz;

View File

@ -1,5 +1,5 @@
args: with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src =
fetchurl {
url = http://plugin.org.uk/releases/0.4.15/swh-plugins-0.4.15.tar.gz;

View File

@ -6,7 +6,7 @@ let
sha256 = "1b908csn85ng9sz5s5d1mqk711cmawain2z8px2ajngihdrynb67";
};
in
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
buildInputs = [];
inherit src;
};

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://prdownloads.sourceforge.net/jocr/gocr-0.44.tar.gz;

View File

@ -1,4 +1,4 @@
args : with args; let localDefs = builderDefs.meta.function (args // rec {
args : with args; let localDefs = builderDefs.passthru.function (args // rec {
version = lib.getAttr ["version"] "5.07" args;
src = /* put a fetchurl here */
fetchurl {

View File

@ -1,5 +1,5 @@
args : with args; with builderDefs;
let localDefs = builderDefs.meta.function ((rec {
let localDefs = builderDefs.passthru.function ((rec {
src = /* put a fetchurl here */
fetchurl {
url = http://download2.berlios.de/linuxdcpp/linuxdcpp-1.0.1.tar.bz2;

View File

@ -1,6 +1,6 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = [ http://fabrice.bellard.free.fr/qemu/linux-0.2.img.bz2 http://bellard.org/qemu/linux-0.2.img.bz2];

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://releases.compiz-fusion.org/0.7.4/compiz-bcop-0.7.4.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://releases.compiz-fusion.org/0.7.8/compiz-bcop-0.7.8.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://releases.compiz-fusion.org/0.7.4/simple-ccsm-0.7.4.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://releases.compiz-fusion.org/0.7.8/simple-ccsm-0.7.8.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://releases.compiz-fusion.org/0.7.4/ccsm-0.7.4.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://releases.compiz-fusion.org/0.7.8/ccsm-0.7.8.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://releases.compiz-fusion.org/0.7.4/compizconfig-python-0.7.4.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://releases.compiz-fusion.org/0.7.8/compizconfig-python-0.7.8.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://releases.compiz-fusion.org/0.7.4/compizconfig-backend-gconf-0.7.4.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://releases.compiz-fusion.org/0.7.8/compizconfig-backend-gconf-0.7.8.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://releases.compiz-fusion.org/0.7.4/compiz-fusion-plugins-extra-0.7.4.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://releases.compiz-fusion.org/0.7.8/compiz-fusion-plugins-extra-0.7.8.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://releases.compiz-fusion.org/0.7.4/libcompizconfig-0.7.4.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://releases.compiz-fusion.org/0.7.8/libcompizconfig-0.7.8.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://releases.compiz-fusion.org/0.7.4/compiz-fusion-plugins-main-0.7.4.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://releases.compiz-fusion.org/0.7.8/compiz-fusion-plugins-main-0.7.8.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://releases.compiz-fusion.org/compiz/0.6.2/compiz-0.6.2.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://xorg.freedesktop.org/archive/individual/app/compiz-0.7.8.tar.gz;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://garr.dl.sourceforge.net/sourceforge/fbpanel/fbpanel-4.12.tgz;

View File

@ -1,10 +1,10 @@
args : with args;
let
localDefs = with (builderDefs.meta.function {src="";});
localDefs = with (builderDefs.passthru.function {src="";});
let
checkFlag = flag : lib.getAttr [flag] false args;
in
builderDefs.meta.function ({
builderDefs.passthru.function ({
inherit src;
inherit checkFlag;
buildInputs = [];

View File

@ -1,5 +1,5 @@
args : with args; with builderDefs;
let localDefs = builderDefs.meta.function (rec {
let localDefs = builderDefs.passthru.function (rec {
src = /* put a fetchurl here */
fetchurl {
url = http://crl.nmsu.edu/~mleisher/cu/cu12-1.9.tar.gz;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src =""; /* put a fetchurl here */
buildInputs = [mkfontdir mkfontscale ttmkfdir];
configureFlags = [];

View File

@ -1,5 +1,5 @@
args : with args; with builderDefs;
let localDefs = builderDefs.meta.function (rec {
let localDefs = builderDefs.passthru.function (rec {
src = /* put a fetchurl here */
fetchurl {
url = http://prdownloads.sourceforge.net/junicode/junicode-0.6.15.zip;

View File

@ -1,5 +1,5 @@
args : with args; with builderDefs;
let localDefs = builderDefs.meta.function (rec {
let localDefs = builderDefs.passthru.function (rec {
src = /* put a fetchurl here */
fetchurl {
url = http://prdownloads.sourceforge.net/wqy/wqy-zenhei-0.4.23-1.tar.gz;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://www.lambdassociates.org/Download/Qi9.1.zip;

View File

@ -2,7 +2,7 @@ args: with args;
let
localDefs = builderDefs.meta.function {
localDefs = builderDefs.passthru.function {
src = fetchurl {
url = http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/oldtar/Pyrex-0.9.5.1.1.tar.gz;

View File

@ -2,7 +2,7 @@ args: with args;
let
localDefs = builderDefs.meta.function {
localDefs = builderDefs.passthru.function {
src = fetchurl {
url = http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/oldtar/Pyrex-0.9.6.4.tar.gz;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src =
fetchurl {
url = ftp://ftp.fftw.org/pub/fftw/fftw-3.1.2.tar.gz;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = mirror://sourceforge/libdbi-drivers/libdbi-drivers-0.8.2-1.tar.gz;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = mirror://sourceforge/libdbi/libdbi-0.8.2.tar.gz;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://gnunet.org/libextractor/download/libextractor-0.5.18.tar.gz;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = ftp://ftp.gnu.org/gnu/indent/indent-2.2.9.tar.gz;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://ftp.gnome.org/pub/gnome/sources/intltool/0.36/intltool-0.36.2.tar.bz2;

View File

@ -1,7 +1,7 @@
args : with args; let
patch = ./ltrace_0.5-3.diff.gz;
localDefs = with builderDefs;
builderDefs.meta.function {
builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = ftp://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_0.5.orig.tar.gz;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://savannah.nongnu.org/download/construo/construo-0.2.2.tar.gz;

View File

@ -1,5 +1,5 @@
args: with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
buildInputs =[(wxGTK null)];
src =
fetchurl {

View File

@ -1,5 +1,5 @@
args : with args; with builderDefs;
let localDefs = builderDefs.meta.function (rec {
let localDefs = builderDefs.passthru.function (rec {
src = /* put a fetchurl here */
fetchurl {
sha256 = "1kx69f9jqnfzwjh47cl1df8p8hn3bnp6bznxnb6c4wx32ijn5gri";

View File

@ -42,7 +42,7 @@ rec {
foldArgs = merger: f: init: x:
let arg=(merger init (defaultMergeArg init x)); in
(f arg) // {
meta = {
passthru = (getAttr ["passthru"] {} arg) // {
function = foldArgs merger f arg;
};
};

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://downloads.sourceforge.net/madwifi/madwifi-0.9.4.tar.gz;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = fetchurl {
url = http://snapshots.madwifi.org/madwifi-trunk/madwifi-trunk-r3693-20080602.tar.gz;
sha256 = "0r9nnxcq50rgwcm9y93rpk3mqknl3ixkxkd72437b55qlz1f9vs3";

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = fetchurl {
url = http://snapshots.madwifi.org/madwifi-trunk/madwifi-trunk-r3837-20080802.tar.gz;
sha256 = "0yj6jxlygb5bdnysmn47dn4wi220ma310vd885a1pl7hp3ky216m";

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = fetchurl {
url = http://snapshots.madwifi.org/madwifi-trunk/madwifi-trunk-r3867-20080924.tar.gz;
sha256 = "0m48p5mqx1d3aimjjiy251fii7x7y15ch5n74hvq4hygc6bcjf79";

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://download.savannah.gnu.org/releases/dmidecode/dmidecode-2.9.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://sg.torque.net/sg/p/sdparm-1.02.tgz;

View File

@ -1,5 +1,5 @@
args : with args; with builderDefs;
let localDefs = builderDefs.meta.function ((rec {
let localDefs = builderDefs.passthru.function ((rec {
src = /* put a fetchurl here */
fetchurl {
url = ftp://ftp.dict.org/pub/dict/dictd-1.9.15.tar.gz;

View File

@ -2,7 +2,7 @@
let makeDictdDB = _src: _name: _subdir: _locale:
with builderDefs;
let localDefs = builderDefs.meta.function (rec {
let localDefs = builderDefs.passthru.function (rec {
src=_src;
doInstall = FullDepEntry (''
ensureDir $out/share/dictd

View File

@ -1,5 +1,5 @@
args : with args; with builderDefs;
let localDefs = builderDefs.meta.function (rec {
let localDefs = builderDefs.passthru.function (rec {
src = /* put a fetchurl here */
fetchurl {
url = http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_3_4_5.tar.gz;

View File

@ -1,5 +1,5 @@
args : with args; with builderDefs;
let localDefs = builderDefs.meta.function (rec {
let localDefs = builderDefs.passthru.function (rec {
src = /* put a fetchurl here */
fetchurl {
url = http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_3_5_2.tar.gz;

View File

@ -1,5 +1,5 @@
args : with args; with builderDefs;
let localDefs = builderDefs.meta.function (rec {
let localDefs = builderDefs.passthru.function (rec {
src = /* put a fetchurl here */
fetchurl {
url = mirror://sourceforge/libvncserver/x11vnc-0.9.3.tar.gz;

View File

@ -1,6 +1,6 @@
args : with args; with builderDefs.meta.function {src="";};
let localDefs = builderDefs.meta.function ((rec {
args : with args; with builderDefs.passthru.function {src="";};
let localDefs = builderDefs.passthru.function ((rec {
src = /* put a fetchurl here */
fetchurl {
url = http://fredrik.hubbe.net/x2vnc/x2vnc-1.7.2.tar.gz;

View File

@ -4,7 +4,7 @@ args : with args; with builderDefs;
url = http://ftp.de.debian.org/debian/pool/main/d/dosfstools/dosfstools_2.11-2.3.diff.gz;
sha256 = "0bzjhpgg4ih6c76ax8byis9vxgkr2c7bbbshqrkfq8j7ar48n5ld";
};
localDefs = builderDefs.meta.function (rec {
localDefs = builderDefs.passthru.function (rec {
src = /* put a fetchurl here */
fetchurl {
url = http://ftp.de.debian.org/debian/pool/main/d/dosfstools/dosfstools_2.11.orig.tar.gz;

View File

@ -1,6 +1,6 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
if args ? src then args.src else fetchcvs {
cvsRoot = ":pserver:anonymous@relfs.cvs.sourceforge.net:/cvsroot/relfs";

View File

@ -1,5 +1,5 @@
args : with args; with builderDefs;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = ftp://ftp.chg.ru/mirrors/ftp.freebsd.org/pub/FreeBSD/ports/distfiles/rlwrap-0.28.tar.gz;

View File

@ -1,5 +1,5 @@
args : with args; with builderDefs;
let localDefs = builderDefs.meta.function (rec {
let localDefs = builderDefs.passthru.function (rec {
src = /* put a fetchurl here */
fetchurl {
url = ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/nc6-1.0.tar.bz2;

View File

@ -1,5 +1,5 @@
args : with args; with builderDefs;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://www.ricardis.tudelft.nl/~vincent/fusesmb/download/fusesmb-0.8.7.tar.gz;

View File

@ -1,5 +1,5 @@
args : with args; with builderDefs;
let localDefs = builderDefs.meta.function (rec {
let localDefs = builderDefs.passthru.function (rec {
src = /* put a fetchurl here */
fetchurl {
url = http://prdownloads.sourceforge.net/sourceforge/bmrsa/bmrsa11.zip;

View File

@ -1,5 +1,5 @@
args : with args; with builderDefs;
let localDefs = builderDefs.meta.function ((rec {
let localDefs = builderDefs.passthru.function ((rec {
src = /* put a fetchurl here */
fetchurl {
url = http://freshmeat.net/redir/seccure/65485/url_tgz/seccure-0.3.tar.gz;

View File

@ -1,5 +1,5 @@
args : with args; with builderDefs;
let localDefs = builderDefs.meta.function (rec {
let localDefs = builderDefs.passthru.function (rec {
src = /* put a fetchurl here */
fetchurl {
url = http://point-at-infinity.org/ssss/ssss-0.5.tar.gz;

View File

@ -1,5 +1,5 @@
args : with args;
let localDefs = builderDefs.meta.function {
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://downloads.sourceforge.net/gdmap/gdmap-0.8.1.tar.gz;

View File

@ -1131,7 +1131,7 @@ let
# seccure will override it (it is root-only, but
# more secure because of memory locking), but this
# can be added to default system
seccureUser = lowPrio (seccure.meta.function {
seccureUser = lowPrio (seccure.passthru.function {
makeFlags = [" CFLAGS+=-DNOMEMLOCK "];
});
@ -2037,7 +2037,7 @@ let
inherit fetchurl stdenv zlib bzip2 gdbm;
};
python25Full = python25Base.meta.function {
python25Full = python25Base.passthru.function {
db4 = if getConfig ["python" "db4Support"] true then db4 else null;
sqlite = if getConfig ["python" "sqliteSupport"] true then sqlite else null;
readline = if getConfig ["python" "readlineSupport"] true then readline else null;
@ -2405,7 +2405,7 @@ let
ltrace = composedArgsAndFun (selectVersion ../development/tools/misc/ltrace "0.5-3deb") {
inherit fetchurl stdenv builderDefs stringsWithDeps lib;
elfutils = elfutils.meta.function {version = "0.127";};
elfutils = elfutils.passthru.function {version = "0.127";};
};
mk = import ../development/tools/build-managers/mk {
@ -3132,7 +3132,7 @@ let
inherit stdenv fetchurl builderDefs libdbi;
};
libdbiDrivers = libdbiDriversBase.meta.function {
libdbiDrivers = libdbiDriversBase.passthru.function {
inherit sqlite mysql;
};
@ -5451,7 +5451,7 @@ let
(let python=python25; in
{
inherit python;
setuptools = setuptools.meta.function {inherit python;};
setuptools = setuptools.passthru.function {inherit python;};
});
numeric = import ../development/python-modules/numeric {
@ -5760,7 +5760,7 @@ let
inherit perl;
};
blcrCurrent = kernel : (blcr.meta.function {
blcrCurrent = kernel : (blcr.passthru.function {
inherit kernel;
});
@ -6915,7 +6915,7 @@ let
inherit librsvg fuse;
};
compiz_062 = compiz.meta.function {
compiz_062 = compiz.passthru.function {
version = "0.6.2";
};
@ -6937,7 +6937,7 @@ let
inherit dbus dbus_glib;
};
compiz = compizBase.meta.function {
compiz = compizBase.passthru.function {
extraConfigureFlags = getConfig ["compiz" "extraConfigureFlags"] [];
};
@ -7735,7 +7735,7 @@ let
inherit (gtkLibs) gtk glib;
};
snd = sndBase.meta.function {
snd = sndBase.passthru.function {
inherit guile mesa libtool jackaudio alsaLib;
};
@ -8082,7 +8082,7 @@ let
inherit (xlibs) libX11 libXmu;
};
xscreensaver = xscreensaverBase.meta.function {
xscreensaver = xscreensaverBase.passthru.function {
flags = ["GL" "gdkpixbuf" "DPMS" "gui" "jpeg"];
inherit mesa libxml2 libjpeg;
inherit (gtkLibs) gtk;
@ -8170,7 +8170,7 @@ let
inherit (xlibs) libX11 xproto;
};
construo = construoBase.meta.function {
construo = construoBase.passthru.function {
inherit mesa freeglut;
};

View File

@ -404,7 +404,7 @@ args: with args; with stringsWithDeps; with lib;
builderDefsArgs = args;
innerBuilderDefsPackage = bd: args: (
let localDefs = bd.meta.function args; in
let localDefs = bd.passthru.function args; in
stdenv.mkDerivation ((rec {
inherit (localDefs) name;